Operating System - HP-UX
1748259 Members
3812 Online
108760 Solutions
New Discussion юеВ

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

 
Rick Gerlach
New Member

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=?
8 REPLIES 8
Steven E. Protter
Exalted Contributor

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
Bill Hassell
Honored Contributor

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.


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

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

>Bill: ... totally secure.

But not from Chloe and CTU. :-)
Torsten.
Acclaimed Contributor

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!   
Wim Rombauts
Honored Contributor

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.
Rick Gerlach
New Member

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.
Torsten.
Acclaimed Contributor

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!   
Bernhard Mueller
Honored Contributor

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