aixx
DESCRIPTION
aixTRANSCRIPT
bootinfo -p - > find modelbootinfo -y => 32 or 64bitbootinfo -s hdisk3 ==>find disk sizebootinfo -r ==> RAM sizebootinfo -b ==> Last boot devicegetconf DISK_SIZE /dev/hdisk3 ==>get disk size
alog -o -t boot ==> To find boot logs
SRC - System resource controller, one of the easy way to control subsystems. Subsystem is a program or set of related programs designed to perform a function. subsystems are further deviced in to subservers which is similar to daemons.
lssrc ==> Control subsystem group and subsystem
lssrc -g spooler ==> Check spooler substems status - shows relation between spooler subsystem group and related subsystem (lpd,qdaemon)startsrc -s lpd refreshsrc -s lpdstopsrc -s lpd
Start and stop process
check ps -ef | grep srcmstr- any process which PPID is 1966122, should be stopped by stopsrc, remaining can be kill-9
hdisk0root@ieo2blptsmp02:/ # ps -ef | grep srcmstr root 1966122 1 0 Feb 16 - 0:00 /usr/sbin/srcmstr
LPP =>Licensed program product - Completed software product and file sets (BOS) - base operting system.
Package ==> group of installable file sets.
Fileset ==> Smallest individualy installble unit.
##################################################################pre defined configuration database & Customised configuration database- Store all logical devices and their attributes.
Predefined - All possible devices supported by the serverCostomised - All currently configured (available) devices in the server.
predeficned Devices
lsdev -P -H ==> shows all supported devices (tape,disk, etc...)lsdev Pc tape ==> Show details about supported tape devices
Customised devices
lsdev -C -Hlsattr -El ==> to get more details
Undefined - defined - available mkdev -l (mkdev -l rmt0) cfgmgr
available - defined ==> remdev -lavailable to undefinced ==> remdev -dl
#########################################################################
lsvg lsvg -o ==> show active (varied on )vglsvg -l rootvglsvg -p rootvg ==> Show lvlstmajor ==> Sow available major numbe
mkvg -s 2 -y new_vg hdisk1
Find LTG of a disk
lquerypv -M hdisk1
varyonvg -M512K myvg ==> To change LTG size
chvg -L 0 tmpvg ==>
/usr/sbin/lquerypv -M hdisk0
varyonvg -f ==> force to start a VGmklv -y mylv datavg 1Glspv -l hdisk1 ==> List all lv's in a PVlspv -p hdisk1 ==> List lv and PP map
migratepv -l lv0l1 hdisk1 hdisk2
rmfs ==> Remove file systems from ODM and /etc/filesystemsrmfs /<mount point>
#############################################################################################lsps -a ==>Check swap spacelsattr -El sys0 -a realmem ==>Check total memorycat /etc/swapspaces ==>Check swap space is activated during startupchps -a xx hd6 ==>Add logical partitions to hd6chps -d xx hd6 ==> Removemkps -s 10 -a -n rootvg hdisk1swapoff /dev/paging00 ==> To disable swaprmps /dev/paging00 ==> /dev/hd6 cannot be removed by this.