Operating System - HP-UX
1755923 Members
3175 Online
108839 Solutions
New Discussion юеВ

make_tape_recovery for mirror disk

 
DR M.JAVED K JADOON(PHD
Occasional Contributor

make_tape_recovery for mirror disk

The restore from make_tape_recovery does not recover mirror disk. Currently, I am running the mirror routines to mirror the disk again.

Is there any way to recover the mirror disk as well as the primary boot disk w/o doing these extra steps?

Thanks
Dr.Javed
Doctor of Philosophy
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: make_tape_recovery for mirror disk

Hi,

By default while recovering system it loads OS to one disk only. It can be automated by adding some custom scripts to achive this after your recovery is over but is not advised.

Post if some problems are faced in mirroing.

HTH,
Devender
Impossible itself mentions "I m possible"
Steven E. Protter
Exalted Contributor

Re: make_tape_recovery for mirror disk

If the mirror configuration is correct, current Ignite versions will preserve mirror configuration via make_tape_recovery

I have substantial experience doing these recoveries.

I would look at the mirror configuration and then run some tests.

Here is my 11i guide to setting up mirroring in a way that works for Ignite. Also make sure ignite is current.

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Leif Halvarsson_2
Honored Contributor

Re: make_tape_recovery for mirror disk

Hi,

As I have been told, no. The mirroring must be recreated after restoring from the ignite backup.

A possible workaround may be to create som post-install script which recreates the mirrors.
Pete Randall
Outstanding Contributor

Re: make_tape_recovery for mirror disk

Ignite does NOT support recovery of the mirrors of logical volumes. I offer this quote from the "Ignite-UX and Mirrored Disks" white paper ( http://www.docs.hp.com/en/IUX/docs/diskmirror.pdf ):

"There has been a great deal of misunderstanding around how the Ignite-UX tool set deals with mirrored disks. It is true that Ignite-UX does not currently have any built-in support for mirrored disks."

You simply need to re-build your mirrors after running your recovery.


Pete

Pete