AIX: Mirroring rootvg
Standard disclaimer: Use the information that follows at your own risk. If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com
Although the steps to mirror volume groups between HP and AIX are incredibly similar, there are enough differences to send me through hoops if/when I ever have to do that. Therefore, the following checklist:
- Mirror the logical volumes:
- If you don't care what disks the lvs get mirrored to, execute
mirrorvg rootvg
- Otherwise:
for lv in $(lsvg -l rootvg | grep -i open/syncd | \
grep -v dumplv | awk '{print $1}')
do
mklvcopy ${lv} 1 ${disk}
done
- Change the quorum checking if you did not use mirrorvg:
chvg -Q n rootvg
- Run bosboot on the new drive to copy boot files to it:
bosboot ${disk}
- Update the bootlist with the new drive:
bootlist -m normal hdisk0 hdisk1
- Reboot the system to enable the new quorum checking parameter
| Document:
|
|
| URL:
|
|
| Last updated:
|
|