Thursday, February 25, 2016

How to deal with alt disk in aix?

How to deal with alt disk in aix?



Alt disk Actions

Commands
To create alt_disk
alt_disk_copy -d <hdisk>
To exclude directories during alt_disk
alt_disk_copy -e /etc/exclude.rootvg -d <hdisk>
To remove alt_disk 
alt_disk_install -X 
Another method to remove alt_disk
alt_rootvg_op -X < cloned rootvg to destroy>
To wake up alt_disk
alt_rootvg_op -W -d < hdisk>
To sleep alt_disk
alt_rootvg_op -S -t <hdisk>
To rename a alt vg
alt_rootvg_op -v <new cloned rootvg name> -d <hdisk>
To take alt copy of a mirrored rootvg to other two disks
alt_disk_copy -d "hdisk2 hdisk3"
To create the alternate mksysb system
alt_disk_mksysb -m <mksysb path> -d <hdiskx>
Alt_disk log file
/var/adm/ras/alt_disk_inst.log
Required filesets
bos.alt_disk_install.boot_images
bos.alt_disk_install.rte    
bos.msg.en_US.alt_disk_install.rte