Tag Archives: AIX

Adding disk to AIX 5L (SAN)

Quick step-by-step for when I am forgetting things:

hostname:root> cfgmgr
Discover disks

hostname:root> lspv
Note whether SAN is HDLM (Hitachi) or VPATH (Shark)
Note hdisk# or vpath#
Should also report disks, in VGs and otherwise

hostname:root> lsvg -l VGname
Note which VG a filesystem is in

hostname:root> smitty lvm
>> Volume Groups
>> Add a Data Path Volume to a Volume Group (Shark)
>> Force the creation of a volume group? no (Leave Default)
>> * VOLUME GROUP name (F4 to list volume groups)
>> * PHYSICAL VOLUME names (F4 to list available volumes)

AIX: Add Swap Space (NON-HA)

1. lsps -a
Reports current swap space

2. errpt -a | more

3. lsvg -l rootvg
Displays all partitions in the rootvg

4. smitty lvm
Paging Space
Change / Show Characteristics of a Paging Space

AIX: Committing Software

1. smit
Software Installation and Maintenance
Software Maintenance and Utilities
Commit Applied Software Updates (Remove Saved Files)
SOFTWARE name [all]
PREVIEW only? (commit operation will NOT occur) yes
COMMIT requisites? yes
EXTEND file systems if space needed? yes
DETAILED output? yes
2. Check output of preview for FAIL, correct any found
3. Change:

PREVIEW only? (commit operation will NOT occur) yes
To:
PREVIEW only? (commit operation will NOT occur) no

4. Re-run commit

AIX 5: Forklifting Printer Setup

1. Copy /etc/qconfig from source server to target server
2. Copy /var/spool/lpd from source server to target server
3. Copy /var/spool/qdaemon from source server to target server
4. Run the following to force parsing of new /etc/qconfig enq -qP [queuename]