Mirroring the rootvg Volume Group for AIX
This document specifies the supported method for mirroring the rootvg volume group to provide high availability access of the AIX operating system. There are four steps required in mirroring rootvg:
This function is not supported on /usr client, diskless client, or dataless client systems.
Why mirror the rootvg volume group?Mirroring the rootvg volume group is important because:
mirrorvg rootvg hdisk1
You will receive a message similar to:
AIX 5300-06 and below:
0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this to take effect for rootvg. 0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk1 hdisk0.
AIX 5300-07 and above:
0516-1804 chvg: The quorum change takes effect immediately. 0516-1126 mirrorvg: rootvg successfully mirrored, user should perform bosboot of system to initialize boot records. Then, user must modify bootlist to include: hdisk1 hdisk0.
If user has user-created logical volumes in rootvg and does not want to mirror those, the mklvcopy command may be used instead to mirror only the standared rootvg logical volumes, such as hd1, hd2, hd3, hd4, hd5, hd6, hd8, hd9var and hd10opt at AIX V5. Syntax of mklvcopy is as follows:
mklvcopy LVname 2 hdisk1
If user has other paging devices, in addition to hd6, it is recommended to mirror those as well.
If hd5 consists of more than one logical partition, then, after mirroring hd5, the user must verify that the mirrored copy of hd5 resides on contiguous physical partitions. This can be verified with the following command:
lslv -m hd5
If the mirrored hd5 partitions are not contiguous, the user must delete the mirror copy of hd5 (on hdisk1) and rerun the mklvcopy command for hd5, using the -m option. The user should consult documentation on the usage of the -m option for the mklvcopy command.
If rootvg is mirrored using mklvcopy command, the user must manually synchronize the partitions and disable quorum.
syncvg -v rootvg =>will synchronize all stale partitions chvg -Qn rootvg =>will disable quorum
bosboot -ad /dev/hdisk1
bootlist -m normal hdisk0 hdisk1
NOTE: If the system is booted via network, you may need to include the ent# in the bootlist.
WARNING: Even though this command identifies the list of possible boot disks, it does not guarantee that the system will boot from the alternate disk in all cases involving failures of the first disk. In such situations, it may be necessary for the user to boot from the installation or maintenance media: select Maintenance, reissue the bootlist command leaving out the failing disk, and then reboot. On some models, firmware provides a utility for selecting the boot device at boot time. This may also be used to force the system to boot from the alternate disk.
reboot
shutdown -Fr
source: http://www-01.ibm.com/support/docview.wss?uid=isg3T1000358
Article Number: 15
Posted: Mon, May 21, 2018 7:37 PM
Last Updated: Mon, May 21, 2018 9:33 PM
Online URL: http://kb.ictbanking.net/article.php?id=15