This is a small cookbook about mirroring the vg00 I’ve compiled throughout the years, well it’s really more like a list with the commands but I believe it can be of usefulness for some of the newbies out there. It covers HP-UX 11.23 for PA-RISC and 11.23 and 11.31 for IA64.
First initialize the disk.
Now make the disk bootable writing the LIF header.
And the LIF files, I’m using the unenforced quorum option because in my example vg00 has only two PVs.
Add the new PV to vg00.
Create the mirrors of the logical volumes within vg00 in the new PV.
When the mirror is finished.
Specify the new disk as alternate boot path and add it to /stand/bootconf.
And it’s done. To check that everything correct.
The procedure of mirroring vg00 in an Itanium HP-UX 11.23, although shares some part with the PA-RISC differs in some critical area. The main difference is the partitioning of the disk, the boot disks in an Integrity server must have an specific layout with three partitions:
HPSP (HP Service Partition)
Preparation of the disk:
Make it bootable and copy the AUTO file. As it can be viewed in the example below as <number_of_partition> has been added to the device in order to identify the partition in which the operation will be executed.
Create the HPSP partition.
Like in PA-RISC initialize the PV and add it to the VG.
Mirror the Logical Volumes.
Set the content of the LABEL file, edit the /stand/bootconf like in the PA-RISC procedure and add the new disk as alternate HA boot path.
To check that everything is properly configured you can use the same commands as in PA-RISC and the command idisk to check the correct partitioning of the disk.
The 11.31 section will be short since the procedure is almost equal to the 11.23 one. You have to take into account that if you have migrated to the new agile view (and you should have ;-D ) a few things will change. The new agile view use _p1, _p2 and _p3 to identify the partitions of the disk instead of the classic s1, s2 & s3 and the paths will change from dsk/rdsk `` to disk/rdisk, the names of the devices as well.
A few of examples will show it.
And we are done. As always every comment or correction will be welcome.