Operating System - HP-UX
1834714 Members
2144 Online
110069 Solutions
New Discussion

ignite restore - mirrored volumes

 
Joe Profaizer
Super Advisor

ignite restore - mirrored volumes

Just completed a total restore via ignite to our development server which had mirrored volume groups and logical volumes. The ignite restore didn't put the groups and volumes back together. Is there a way to do so, other than executing the respective vg & lv commands upon system recovery?

..Joe
5 REPLIES 5
Rainer_1
Honored Contributor

Re: ignite restore - mirrored volumes

Ignite does not treat any mirroring.
You have to set up mirrors manually after restoring.
Darrel Louis
Honored Contributor

Re: ignite restore - mirrored volumes

Ignite doesn't restore the mirror automaticly.
You can test it with the post_config_cmd, in the
/var/opt/ignite/recovery/config.recover

I've the following on one of my systems below:

post_config_cmd="
/usr/sbin/vgimport -v -m /etc/lvmconf/vg01.mapfile /dev/vg01 /dev/dsk/c0t9d0 /dev/dsk/c0t10d0
/usr/sbin/vgchange -a y /dev/vg01
/usr/sbin/vgcfgbackup /dev/vg01
/usr/sbin/vgcfgbackup /dev/vg00
"


In your case it would look like, to restore a mirror:
post_config_cmd="
vgreduce /dev/vg00 /dev/dsk/c1t6d0
pvcreate -f -B /dev/rdsk/c1t6d0
vgextend /dev/vg00 /dev/dsk/c1t6d0
mkboot /dev/rdsk/c1t6d0
mkboot -a \"hpux -lq\" /dev/rdsk/c1t6d0
mkboot -a \"hpux -lq\" /dev/rdsk/c0t6d0


lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0
...etc
lvlvnboot -R
"
CHRIS_ANORUO
Honored Contributor

Re: ignite restore - mirrored volumes

You have to mirror your disks first and then make an Ignite UX recovery tape. This ensures that whenever your recover your server, your mirrored disk will still be intact. I guess you must have made the recovery tape before activating the mirror disk utility
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Patrick Wallek
Honored Contributor

Re: ignite restore - mirrored volumes

As Rainer and Darrel said, Ignite does NOT do anything with mirroring by default.

I actually prefer it this way. If something happens where I have to restore the system from the tape, I want the system back up as soon as possible. I don't want to wait on it to remirror and of the disks. I can always do that on the fly after the system is back up.

Another reason I don't want Ignite remirroring automatically is that if I use the Ignite tape to upgrade my OS drives to larger drives (I have recently gone from 8 2GB drives to 2 18GB drives). In this case the post_recovery script will not do you any good unless you tailor it for the new drives before you start.

Just my 2 cents.
Frederic Soriano
Honored Contributor

Re: ignite restore - mirrored volumes

You should go and have a look at the following URL:

http://www.software.hp.com/products/IUX/docs.html

It has a Whitepaper on [Ignite-UX and Mirrored Disks]. Or maybe it is still available under /opt/ignite/share/doc/diskmirror.pdf.

I hope this helps.

Regards.