The method which we are going to discuss is "rootvg" is cloned on a LUN. Now the LUN is mapped to a VIO_Server which is then presented to a VIO_Client.
Rootvg Cloning:
# lspv : Command to list the physical volumes in the box.
# bootinfo -b : Command to find the boot disk.
# bootinfo -s hdisk# : Command to find the size of the disk.
Now select an empty of same size of the boot disk for cloning. Make sure the physical volume selected has "uniquq id"
# lsattr -EHl hdisk# | grep -i "unique" : Command to view the unique id of the disk and make a note of id.
# alt_disk_copy -d hdisk# : Command to create OS cloning.
# lsvg : Command to view all the volume groups.
The name of the clonend volume group "alt_inst_rootvg".
The bootlist is automatically updated upon successfull cloning of the rootvg. Which puts "alt_inst_rootvg" as primary bootvolume and the other one as secoundary volume group.
Now we go ahead in removing the cloned rootvg disk (SAN) volume from the server.
# rmdev -dl hdisk# : Command to remove the cloned rootvg disk from the server.
# bootlist -m both -o hdisk# : Make sure the bootlist is updated properly. So that the machine boots from the "rootvg" rather then cloned. Since the cloned one is removed from the disk.
If the rmdev command shows an error. We can remove the cloned by disabling.
# alt_rootvg_op -S -t hdisk3 : Command to disable the cloned rootvg.
Now the cloning part is completed. Next We move to VIO_Server side configuration......Part II
Rootvg Cloning:
# lspv : Command to list the physical volumes in the box.
# bootinfo -b : Command to find the boot disk.
# bootinfo -s hdisk# : Command to find the size of the disk.
Now select an empty of same size of the boot disk for cloning. Make sure the physical volume selected has "uniquq id"
# lsattr -EHl hdisk# | grep -i "unique" : Command to view the unique id of the disk and make a note of id.
# alt_disk_copy -d hdisk# : Command to create OS cloning.
# lsvg : Command to view all the volume groups.
The name of the clonend volume group "alt_inst_rootvg".
The bootlist is automatically updated upon successfull cloning of the rootvg. Which puts "alt_inst_rootvg" as primary bootvolume and the other one as secoundary volume group.
Now we go ahead in removing the cloned rootvg disk (SAN) volume from the server.
# rmdev -dl hdisk# : Command to remove the cloned rootvg disk from the server.
# bootlist -m both -o hdisk# : Make sure the bootlist is updated properly. So that the machine boots from the "rootvg" rather then cloned. Since the cloned one is removed from the disk.
If the rmdev command shows an error. We can remove the cloned by disabling.
# alt_rootvg_op -S -t hdisk3 : Command to disable the cloned rootvg.
Now the cloning part is completed. Next We move to VIO_Server side configuration......Part II
No comments:
Post a Comment