Hi Friends, in this post I would like to discuss few tools used to take a backup of the Operating System Volume Group, when we perform some administration tasks like Technology Upgrade and Maintenance Level Upgrade.
Tool1:
# alt_disk_copy : Its a harware migration tool to take a backup of the Opeartion System. This method is alos called as "Cloning of OS". This method facilitates taking backup of the Operating System on a different Physical Volume ( Which is not assigned to any Volume Group). The rootvg created by this method has a prefix "altinst_" and the same for all the rootvg fileystems.
# lspv /* Select any one unasssigned Physical Volume */
If you would like to exclude any file system and the filesystem entry has to be made in /etc/exclude.rootvg
# vi /etc/exclude.rootvg
^./ <filesystem> and save the file.
# alt_disk_copy -e -d hdisk#
The process would take atleast 20 minutes to complete. Once its completed you can view the alt_inst_rootvg by executing,
# lsvg
# lspv
# lsvg -l alt_inst_rootvg
In order to perform any actions on the alt_inst_rootvg, we need to use the command alt_rootv_op
# alt_rootvg_op -W -d hdisk# /* To wake up the alt_inst_rootvg */
# alt_rootvg_op -S -t hdisk# /* To put the alt_inst_rootvg in sleep mode */
# alt_roortvg_op -X hdisk# /* To remove the alt_inst_rootvg*/
# alt_rootvg_op -v <new name> -d hdisk# /* To rename the alt_inst_rootvg*/
Above alt_inst_rootvg could be updated in the bootlist using the bootlist command.
Tool1:
# alt_disk_copy : Its a harware migration tool to take a backup of the Opeartion System. This method is alos called as "Cloning of OS". This method facilitates taking backup of the Operating System on a different Physical Volume ( Which is not assigned to any Volume Group). The rootvg created by this method has a prefix "altinst_" and the same for all the rootvg fileystems.
# lspv /* Select any one unasssigned Physical Volume */
If you would like to exclude any file system and the filesystem entry has to be made in /etc/exclude.rootvg
# vi /etc/exclude.rootvg
^./ <filesystem> and save the file.
# alt_disk_copy -e -d hdisk#
The process would take atleast 20 minutes to complete. Once its completed you can view the alt_inst_rootvg by executing,
# lsvg
# lspv
# lsvg -l alt_inst_rootvg
In order to perform any actions on the alt_inst_rootvg, we need to use the command alt_rootv_op
# alt_rootvg_op -W -d hdisk# /* To wake up the alt_inst_rootvg */
# alt_rootvg_op -S -t hdisk# /* To put the alt_inst_rootvg in sleep mode */
# alt_roortvg_op -X hdisk# /* To remove the alt_inst_rootvg*/
# alt_rootvg_op -v <new name> -d hdisk# /* To rename the alt_inst_rootvg*/
Above alt_inst_rootvg could be updated in the bootlist using the bootlist command.