Operating System - HP-UX
1753701 Members
5130 Online
108799 Solutions
New Discussion юеВ

create root disk mirror from recovery tape?

 
SOLVED
Go to solution
Reiner Buehl
New Member

create root disk mirror from recovery tape?

Hi all,

I have created a recovery tape using make_recovery_tape -A -I -x inc_entire=vg00 -x inc_entire=vg01 that I want to use for setting up multiple identical machines. All works well so far but I would like to create mirrors of all logical volumes during the initial install. Is there an option in the interactive boot phase where I can specifiy to create one mirrored copy of each lvol? Especially the root disks are a pain to mirror once the installation has completed. Is there an easier way to do this?

Best regards,
Reiner.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: create root disk mirror from recovery tape?

Hi Reiner:

This ia an Ignite whih-list feature. Sorry, it's not available yet. You will need to manually recreate your mirrors or script the process and run your script.

Regards!

...JRF...

Thierry Poels_1
Honored Contributor

Re: create root disk mirror from recovery tape?

hi,

I'm afraid that make_recovery does not rebuild mirrored logical volumes.
You can always create a small script for this and make sure it is included in the fileset.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Reiner Buehl
New Member

Re: create root disk mirror from recovery tape?

Hi James and Thierry,

thanks for the fast answers. It seems I have to do some korn shell scripting now :-)

Best regards,
Reiner.
Magdi KAMAL
Respected Contributor

Re: create root disk mirror from recovery tape?

Hi Reiner,

The only thing that Ignite-UX do not do is the mirroring !

You need to manually mirror your logical volumes.

Magdi
Santosh Nair_1
Honored Contributor

Re: create root disk mirror from recovery tape?

I have a script that mirrors the LVs in /dev/vg00. Comments are appreciated.

-Santosh
Life is what's happening while you're busy making other plans
Thierry Poels_1
Honored Contributor

Re: create root disk mirror from recovery tape?

hi Santosh,

I would add the quorum parameter to the mkboot command. Imagine a VG00 of 2 disk and one disk dies; VG00 will only be activated if more than 50% of the disks are available. If the quorum parameter is disable, one disk is sufficient to activate a VG.

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/$disk
instead of mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/$disk

you wanted comments, you got them ;-))
regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Santosh Nair_1
Honored Contributor

Re: create root disk mirror from recovery tape?

Thierry,

Thanks for the comments...
We (my partner in crime and I) were thinking about adding the quorum parameter, but then thought that if the disk failed we would be smart enough to boot with the quorum option when we manually brought up the machine. I guess its more a matter of preference though (?)

Keep the comments coming.

-Santosh
Life is what's happening while you're busy making other plans