1833777 Members
2020 Online
110063 Solutions
New Discussion

Integrity VM clones

 
fabio sibillano
Advisor

Integrity VM clones

Hi all...
We have created a 2 nodes cluster with integrity VM. This machines are now "up and running" and ready for oracle rac installation.

The problem is that this machines are in our disaster recovery site, far from here. We want to duplicate the existing VMs, because reinstalling it from scratch from the production site it's a 3/4 days job due to mounting/unmounting a set of dvd converted in .iso, lan latency,virtual switches configuration and whatever.
The hpvmclone command "It does not copy the actual data and software associated with the guest", as the manual says....

It is possible to duplicate it in other ways ?

i.e. vmware makes an huge .vmk file, and duplicating it means duplicate (and move) all the virtual machine.

Can this be done on integrity virtual machine ?

Tnx in advance...

5 REPLIES 5
Mike Shilladay
Esteemed Contributor

Re: Integrity VM clones

Hi Fabio,

You could use ignite/UX to duplicate the OS environment, that is probably the quickest for you.

Or another suggestion would be to copy the image, using 'dd' though I couldn't verify this to work.

Mike.
Hasan  Atasoy
Honored Contributor

Re: Integrity VM clones

hi fabio ;

the easiest way is dd ;

1. close the virtual machine;
2. copy boot disk by dd
3. asign second disk to another virtual machine by hpvmmodify .
4. boot second machine , at efi prompt choose boot device . boot in single user mode and change hostname and network configuraion.

Hasan.
fabio sibillano
Advisor

Re: Integrity VM clones

hmmm... no ignite server available... and (I think) dd will not work because I can't give (or at least I do not know how) the output file to the virtual machine sw.

Maybe ignite is the only way, because integrity virtual machine also emulate the efi for every single guest....



Mike Shilladay
Esteemed Contributor

Re: Integrity VM clones

Hi Fabio,

Providing the LV for the VM is the same size, the dd should suffice, just make sure that when you boot the new VM machine you copy from is off, because the new copy will be exactly the same. I think the command should look something like this:

dd if=/dev/vg/lvol of=/dev/vg/lvol bs=2048

Mike.
melvyn burnard
Honored Contributor

Re: Integrity VM clones

of course,if you have the backing store set up to use a file on a file system, then simply copying it across would work.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!