Operating System - HP-UX
1752778 Members
5934 Online
108789 Solutions
New Discussion юеВ

root disk mirroring in 11.11 & 11.23

 
SOLVED
Go to solution
joseph51
Regular Advisor

root disk mirroring in 11.11 & 11.23

an any one tell me the steps of root disk mirroring in 11.23 & 11.11. whether b oth the versions require he mkbootdisk command.
6 REPLIES 6
melvyn burnard
Honored Contributor

Re: root disk mirroring in 11.11 & 11.23

read the manuals, they have the step by step instructions how to do this.
http://docs.hp.com/
then choose your HP-UX version
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Pete Randall
Outstanding Contributor

Re: root disk mirroring in 11.11 & 11.23

As far as I know the steps are the same with the one caveat that Itanium procedures are different from PA-RISC. Here's my "cookbook":


The steps to mirror your boot volume are (PA-RISC):

1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"

2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"

3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"

4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"

5. Use lvlnboot to identify the root, boot, primary swap and dump lvols
"lvlnboot -r /dev/vg00/lvol3 /dev/vg00" (lvol4 if you have secondary swap in lv
ol3)
"lvlnboot -b /dev/vg00/lvol1"
"lvlnboot -s /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -d /dev/vg00/lvol2 /dev/vg00"
"lvlnboot -v"

6. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"

7. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.

8. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"

9. Edit /stand/bootconf and add your new mirrored boot disk.

That's all there is to it. You may notice that I left out the
lvlnboot -R command. That is because it is not
necessary - see the man page:

"This command should be run in recovery mode (-R)
whenever the configuration of the root volume group is
affected by one of the following commands: lvextend,
lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),
lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is
done automatically."

For Itanium architecture, follow this guide:
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa

And, for 11.31, follow this:
http://docs.hp.com/en/B2355-90950/ch06s02.html#mrflv


Pete

Pete
joseph51
Regular Advisor

Re: root disk mirroring in 11.11 & 11.23

hi pete

whether we have to use mkboot command in both 11.11 & 11.23
Avinash20
Honored Contributor

Re: root disk mirroring in 11.11 & 11.23

Yes, we can use
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
sujit kumar singh
Honored Contributor
Solution

Re: root disk mirroring in 11.11 & 11.23

hi


there is no classifiation as running mkboot in 11.11 and 11.23

note the following:

1)11.23 has both ITANIUM as wellas the PARISC version.
mkboot -l with mkboot -a "boot_String" we tend to use basically on PARISC machines as compared to running mkboot -e -l and efi_cp -d /tmp/auto /EFI/HPUX/AUTO ti update the boot string on Itaniulm (teh content of /tmp/auto is "boot vmunix -lq" etc.



BUT

Note this

1) mkboot as run on PARISC or ITANIUM versiond of HP-UX has the same effect when used to update the boot string.

when mkboot is used for updating the boot string, it updates the AUTO file on the LIFD area of the boot disk in PARISC machines and


When mkboot is used to update the boot string with the same invocation of command on ITANIUM Machines, this updates the /EFI/HPUX/AUTO file in the EFI area of the boot disk.


please have a look at the Online man page of the command mkboot(1M) and in the Examples section.

http://docs.hp.com/en/B2355-60105/mkboot.1M.html

regards
sujit
joseph51
Regular Advisor

Re: root disk mirroring in 11.11 & 11.23

thanks