Ignite-UX and MirrorDisk/UX
# Copy the boot area to the disk. Note that mkboot is done to
# the whole disk for bot IA and PA but the command is not
# the same so .......
if [ $CPU = IA ]
then
echo \"\n\n Copy the boot area on ${PART2} with mkboot.\"
mkboot -e -l /dev/rdsk/${PART2}
# Turn off the quorum requirement
echo \"\n\n adding hpux -lq to auto_file_string\"
echo \"boot vmunix -lq\" > /tmp/AUTO.lq
efi_cp -d /dev/rdsk/${PART2}s1 /tmp/AUTO.lq /EFI/HPUX/AUTO
echo \"\n\n repeating for the primary boot disk.\"
efi_cp -d /dev/rdsk/${PART1}s1 /tmp/AUTO.lq /EFI/HPUX/AUTO
else
# Lets do the PA Dance
mkboot /dev/rdsk/${PARTS2}
mkboot -a \"hpux -lq\" /dev/rdsk/${PART1}
mkboot -a \"hpux -lq\" /dev/rdsk/${PARTS2}
fi
# Allocate the mirrors. Mirrors must be allocated for all
# logical volumes that were previously mirrored. This
# example illustrates primary swap and root. You should
# add others as needed. If /stand is in a separate volume, you
# should do an lvextend for it first.
vgdisplay -v vg00|grep -e \"LV Name\" | awk ' { print $3 } ' \
| xargs -i -t lvextend -m 1 {} /dev/dsk/${PARTS2}
# Update the BDRA and the LABEL file.
lvlnboot -R
"
}
Important:
While HP has tested the above config.local file on some
systems and configurations, it has not been tested in every possible
situation and configuration. HP recommends that hat you test it and
ensure that it works correctly in your environment before relying on it in
a production situation.
14