1. Prepare available disk(hdisk2)
root@test: / # lspv
hdisk0 00ce30ffea377c7b rootvg active
hdisk1 00ce30ff5eac4b0a rootvg active
hdisk2 none none
1.1 Making pvid using chpv command
root@test: / # chdev -l hdisk2 -a pv=yes
hdisk2 changed
root@test: / # lspv
hdisk0 00ce30ffea377c7b rootvg active
hdisk1 00ce30ff5eac4b0a rootvg active
hdisk2 00ce30fffea34bc7c none
2. 'alt disk' is reference of 'image.data' file smilar with mksysb backup.
So you should modify 'image.data' file when you use it to mirrored rootvg.
It just can use only changing LP, PP and copy contents to 1 of image.data file and using below command.
root@test: / # alt_disk_install -CBO hdisk2 -i image.data_name
The option of alt_disk_install we usually used are listed below.
- C : clone
- B : Not to change bootlist
- O : altinst_rootvg ODM cleaning for using another system
Cleaning ODM contents with option O
- hostname, N/W information, other device information
Inform)
When you try to use 'alt disk' for other system, you should to input option 'O'.
But remove the option when you use it for same system for system backup.
3. You can see an alt disk after complete upper task.
root@test: / # lspv
hdisk0 00ce30ffea377c7b rootvg active
hdisk1 00ce30ff5eac4b0a rootvg active
hdisk2 00ce30fffea34bc7c altint_rootvg
4.Remove the alt disk from system. Type the below command. (Not to use exportvg command)
#alt_disk_install -X altinst_rootvg
If you don't use upper command when moving another system, The system's ODM could be complicated
Sometimes you need to change 'bootlist' because it can be changed to altinst_rootvg
5. You can use a below command not mirrored vg but extended vg.
#smitty alt_clone을 이용하거나
Or changing image.data likes number 2 and type below command
#alt_disk_install -CBO -i /image.data hdisk2
No comments:
Post a Comment