Operating System - HP-UX
1834008 Members
1632 Online
110063 Solutions
New Discussion

make_tape_recovery with vpar

 
SOLVED
Go to solution
Fabrizio_10
Frequent Advisor

make_tape_recovery with vpar

Hello admins,

I needed to create a make_tape_recovery of rp5470 with three virtual partition.
Obviously I need to backup all three vpar.
Here's my situation:

ux01:/ # bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 139840 64488 68% /
/dev/vg00/lvol1 298928 82168 186864 31% /stand
/dev/vg00/lvol8 4710400 445624 4231512 10% /var
/dev/vg00/lvol7 1982464 1100824 874768 56% /usr
/dev/vg00/lvol4 819200 36520 777264 4% /tmp
/dev/vg00/lvol6 2310144 1799832 506384 78% /opt
/dev/vg00/lvol5 24576 2336 22072 10% /home
/dev/vg00/lvr3 35840000 27051472 8719872 76% /crmpr03
/dev/vg01/lvr1 15368192 3552776 11446192 24% /crmpr01
/dev/vg01/lvr2 35848192 29410496 6387408 82% /crmpr02
/dev/vg01/lvr4 35848192 3632 35564528 0% /cr04

ux01:/ # vparstatus
[Virtual Partition]
Boot
Virtual Partition Name State Attributes Kernel Path Opts
============================== ===== ========== ========================= =====
ux01 Up Dyn,Auto /stand/vmunix -lq
ux02 Up Dyn,Auto /stand/vmunix -lq
ux03 Up Dyn,Auto /stand/vmunix -lq

[Virtual Partition Resource Summary]
CPU Num Memory (MB)
CPU Bound/ IO # Ranges/
Virtual Partition Name Min/Max Unbound devs Total MB Total MB
============================== ================ ==== ====================
ux01 2/ 4 2 0 5 0/ 0 4096
ux02 1/ 1 1 0 5 0/ 0 2048
ux03 1/ 1 1 0 6 0/ 0 2048

Could someone suggest me a good procedure to create a bootable tape for these machines ?
Thanks a lot.

12 REPLIES 12
Hari Kumar
Trusted Contributor

Re: make_tape_recovery with vpar

Hi Fabrizio

step 1:
to create the bootable disk
ioscan -fnC tape
check the device file
exampe : /dev/rmt/0m or /dev/rmt/1m

step2:
make_recovery -Av -C d /dev/rmt/0m
or
make_recovery -Ava /dev/rmt/0m

-A specifies that the entire root disk / volume group is to be included in the system recovery tape, creates a complete bootable backup of the disk or volume group.

-C Creates the system status file with the name makrec.last

for more information u can go for man pages of make_recovery or make_tape_recovery

Before doing this please ensure that IGNITE - UX backup software is installed

with regards
Hari Kumar
Information is Wealth ; Knowledge is Power
Fabrizio_10
Frequent Advisor

Re: make_tape_recovery with vpar

Hi Hari and thanks for the reply.
My doubt is: must I do this operation for all three machine (ux01, 02 and 03) or make_tape_recovery of first machine include the second and third virtual partion ?
Hari Kumar
Trusted Contributor

Re: make_tape_recovery with vpar

Hi

Missed one point

for doing the net backup of the other vpars
make_net_recovery can be used

with regards
Hari
Information is Wealth ; Knowledge is Power
Stefan Farrelly
Honored Contributor

Re: make_tape_recovery with vpar

You need to make a separate make_recovery to tape/ignite server for EACH vpar (ie. log onto each one in turn and run make_recovery).

If you do vpar1 it does NOT do the other vpars.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Thierry Poels_1
Honored Contributor
Solution

Re: make_tape_recovery with vpar

Hi,

Ignite is only PARTLY supported with vPars. You can execute a make_tape_recovery on each vPar without problem.
But in case of full recovery ALL vPars have to be shutdowned because the whole server must be rebooted to allow the server to boot from tape. During restore ALL hardware will be visible and you'll need to be extremely carefull not to touch any disk of other partitions.

Make_net_recovery on the other hand will allow you to recover one partition without the need to shutdown other partitions.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Hari Kumar
Trusted Contributor

Re: make_tape_recovery with vpar

Hi

Never Mind, assign some points if u got an acceptable answer through the forum. As these will be encouraging for the participants and keep the HP Forums go higher and higher

With Regards
Hari
Information is Wealth ; Knowledge is Power
Fabrizio_10
Frequent Advisor

Re: make_tape_recovery with vpar

Thanks to all.
Stefan, do you mean make_tape_recovery instead of make_recovery ? (maybe are the same thing..)
One thing only: how I can test the tape and knows if it works correctly ? (or is there a way to see what the make_take_recovery has writed on tape ?)
Thierry Poels_1
Honored Contributor

Re: make_tape_recovery with vpar

hi,


mt -t /dev/rmt/0mn fsf 1 # to skip boot block
tar -tvf /dev/rmt/0m


regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Pete Randall
Outstanding Contributor

Re: make_tape_recovery with vpar

Fabrizio,

The make_tape_recovery command is used with the newer version of Ignite. You should make sure you've downloaded and installed the latest version:

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

You can look at the contents of your tape with tar - just skip past the boot header with "mt fsf 1" and "tar -t" will show you the contents. The only real way to test the tape is to run a recovery from it.


Pete

Pete
Fabrizio_10
Frequent Advisor

Re: make_tape_recovery with vpar

Last thing: the tape device is visible only by the first vpar:
ux01:/ # ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c0t1d0BESTn /dev/rmt/c0t1d0DDSb
/dev/rmt/0mb /dev/rmt/c0t1d0BEST /dev/rmt/c0t1d0BESTnb /dev/rmt/c0t1d0DDSn
/dev/rmt/0mn /dev/rmt/c0t1d0BESTb /dev/rmt/c0t1d0DDS /dev/rmt/c0t1d0DDSnb

and not by the others two partitions.
Is possible to "share" it ? Or better, which is the solution for create tape recovery of second and third partition ?
Thanks again.
D Block 2
Respected Contributor

Re: make_tape_recovery with vpar

ux01 is the Master vPar (it owns the tape device and starts the chain of bringing up /stand/vpmon).

Therefore,

ux01 - use "tape recovery"
ux02 - use "net recovery" to ux01 only.
ux03 - use "net recovery" to ux01 only.


Anyway, to recovery the other TWO systems, you must use your Master vPar as an "IGnite Server". Therefore, don't worry about moving the Tape Device to the other 2 vPar systems. Run the "NET RECOVERY" on the 2 vpars. have the Master Vpar running "TAPE RECOVERY" for itself.

If the Master Vpar goes down and you need to recover. The other 2 Vpars must also be down. If the Master Vpar is UP, and you need to recovery any one of the other 2 vPars, you can do this with "net recovery". See: http://docs.hp.com for help with VPars.
Golf is a Good Walk Spoiled, Mark Twain.
Fabrizio_10
Frequent Advisor

Re: make_tape_recovery with vpar

Thanks Tom.
You are right. I'm trying the "ignite" server on ux01 and I've added the ux02 and ux03 client. On the menu' there is a voice "make recovery tape" I suppose it is the right one.