dd an ignite backup to disk. (hpvm os backup) (375 Views)
Reply
Occasional Visitor
Rick Gerlach
Posts: 3
Registered: ‎12-30-2001
Message 1 of 9 (375 Views)

dd an ignite backup to disk. (hpvm os backup)

I'm setting up a couple of new hpvm servers, and I need to get OS backups on the clients/ vpars.

The vpars are basically lv's on the host machine.

I'll backup up the host machine with a network ignite.

I would set up a ignite server on the host, but I can't have nfs turned on, unless it's encrpted. And I don't think secure nfs is support until hpux 11i v3. We're going to be running hpux 11i v2.

Is it possible to recover vpar OS's by coping a make_recovery image straight to disk with dd?

My next option would be to shutdown the vpar then dd the vpar lv out to a file, then I should be able to recover the os by dd'ing the file back out to the lv.

for ex: dd if=/dev/vg00/vpar01 of=/vpar-backup/vpar01.img bs=?
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

Shalom,

You can use make_net_recovery (requires NFS) or make_sys_image .

make_sys_image makes ignite images and can go to local disk.

http://docs.hp.com/en/B2355-91049/ch07s02.html

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
Honored Contributor
Bill Hassell
Posts: 14,210
Registered: ‎05-29-2000
Message 3 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

Another option is to use a crossover cable to your Ignite network server. That way, there is no data on any network, just a simple cable between two systems -- totally secure.
Acclaimed Contributor
Dennis Handly
Posts: 25,198
Registered: ‎03-06-2006
Message 4 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

>Bill: ... totally secure.

But not from Chloe and CTU. :-)
Acclaimed Contributor
Torsten.
Posts: 23,385
Registered: ‎10-02-2001
Message 5 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

Don't mix up the technology!

I'm sure you are running HP Integrity virtual machines (HPVM), but this is NOT vPars!

The recommended backup procedure is ignite.
A "dd" might work, but you need to test this.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Honored Contributor
Wim Rombauts
Posts: 888
Registered: ‎08-20-1997
Message 6 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

I don't think you can use dd to write an ignite backup straight to disk, but if you have a spare disk available, does it hurt to try ? Ignite takes care of hardware layout changes, dd will not, so your hardware configuration will have to be identical at least.

At the other hand, what is the problem ? If you can dd the tape to disk, you can probably use it also with ignite recovery.
If you have no direct tape-boot available, boot from the installation CD and read the recovery tape from there.
Occasional Visitor
Rick Gerlach
Posts: 3
Registered: ‎12-30-2001
Message 7 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

In these environments, there is one physical server ( hpvm ) that hosts several Guest machines ( virtual hp-ux servers). I want to backup the Guest hp-ux servers with an ignite backup. Then copy the ignite files to the host sever. Then should I have to recover a server, it seems that there would be some way to take the ignite backup and copy it straight to disc (or in this case lv).

I'm trying to avoid having to turn insecure services on my (hpvm) host server.
Acclaimed Contributor
Torsten.
Posts: 23,385
Registered: ‎10-02-2001
Message 8 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

The ignite image is a tar file. Because the vmhost cannot access the virtual filesystem of the guest (inside the LVOL) you cannot restore the tar directly to the LVOL.
If you don't want to use ignite via network, consider to use a tape and do make_tape_recovery from the guest.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Honored Contributor
Bernhard Mueller
Posts: 1,140
Registered: ‎07-15-2002
Message 9 of 9 (375 Views)

Re: dd an ignite backup to disk. (hpvm os backup)

Rick,

if you have the VMs in a logical volume and can shut them down, it should be safe to use dd to backup the *raw* lvol to another disk or into a file or on a tape and to restore from there into the original rlvol.

you should use a blocksize of 256k or larger.

Regards,
Bernhard
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.