Monday, January 25, 2010

AIX & VIO server quick reference

AIX & VIO server quick reference

AIX
VIO server
Notes
root /root shell
padmin / oem_setup_env (to become root)
padmin logged in to a restricted shell
oslevel
ioslevel

typically mksysb install or through DVD
mysysb / DVD or through HMC (installios)
Installed VIO using mksysb through nim
smitty update
updateios -dev /mnt -install -accept
for updating VIO server
mksysb
backupios -file /mnt/backup (for nim_resources.tar)
backupios -file /mnt/vios_bk.mksysb -mksysb (for mksysb backup)
nim_resources.tar (mksysb,bosinst.data,network boot image and SPOT)
RECOVER_DEVICES=default
NIM AIX 6.1 for VIO 2.1
NIM AIX 5.3 for VIO 1.X
lsdev -c disk
lsdev -dev disk
AIX
lsdev -c disk
hdisk0 Available 0T-08-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk8 Available 0T-08-00-8,0 16 Bit LVD SCSI Disk Drive

VIO
lsdev -dev hdisk11
name status description
hdisk11 Available MPIO Other DS4K Array Disk

lsattr -El devicenamelsdev -dev devicename -attrShows the attributes of the device specified
lscfg -vl devicename
lsdev -dev devicename -vpd
Shows the vital product data
mkdev
mkvdev
 Adds a device to the system
cfgmgr
cfgdev
configures a  newly added device
rmdev -Rdl devicename
rmdev -dev devicename -recursive -ucfgf=
unconfigure and remove devices ,child devices recursively
chdev -l devicname -a <attribute=value>
chdev -dev devicename -attr <attribute=value>
to change device attributes.
mktcpip/smitty mktcpip
smitty chinet
mktcpip
chtcpip




No comments:

Post a Comment