Pages

Showing posts with label alt_disk_copy. Show all posts
Showing posts with label alt_disk_copy. Show all posts

Friday, September 7, 2012

AIX - how to create an alter disk to copy to another server.


AIX - how to create an alter disk to copy to another server.

0. alt_rootvg_op -X
1. alt_disk_copy –BOP "all" –d hdiskX
               B : no bootlist
               O : device reset
               P : phase
               d : device list
2. rmdev –l hdiskX –dR
3. move the hdiskX to another server and boot it.

Thursday, January 19, 2012

Move the alter disk from one system to another.

In AIX® 5.3, the alt_disk_install command is replaced by the alt_disk_copy, alt_disk_mksysb, and alt_rootvg_op commands.

Move the alter disk from one system to another.
- alt_rootvg_op command to copy rootvg.
- diag ; task selection ; Hot Plug Task ; PCI ; Remove
- Move the disk to New system.
- Boot from SMS menu.

# alt_disk_copy -BOd hdiskx

The -B option tells alt_disk_copy not to change the bootlist to this new copy of rootvg, the -O option will remove devices from your customized ODM database.

##################

From the alt_disk_copy man page:

-O
Performs a device reset on the target altinst_rootvg. This causes
the alternate disk install to not retain any user-defined device
configurations. This flag is useful if the target disk or disks
become the rootvg of a different system (such as in the case of
logical partitioning or system disk swap).

When the disks containing this altinst_rootvg are moved to another host and then booted from, AIX will run cfgmgr and probe for any hardware, adding ODM information at that time.