Operating System - HP-UX
1834144 Members
2095 Online
110064 Solutions
New Discussion

Re: Manually migrating an HPVM client question

 
SOLVED
Go to solution

Manually migrating an HPVM client question

I have several VM clients running on old HPVM versions and I'd like to find out if there is a way to migrate them to another machine running newer versions. One VM Host is running version 1 of HPVM and the other is running version 2. I'd like to move those clients to a host running version 4 and upgrade the other two, but I haven't seen hpvmmigrate on the two older versions of HPVM. Is anyone aware of any documents out there that might help?

Thanks for your help.
4 REPLIES 4
Avinash20
Honored Contributor

Re: Manually migrating an HPVM client question

Yes, we strongly recommend to have the latest version of HPVM installed.

HPVM 4.0 needs OS hosts as 11.31.
Guest needs to be 11.31 and above

HPVM 3.5 need OS hosts as 11.23
Guest can be 11.23 and 11.31

For upgrading the HPVM, please refer to the installation Guide

http://docs.hp.com/en/vse.html#HP%20Integrity%20Virtual%20Machines

HPVM 3.5:
http://docs.hp.com/en/T2767-90105/ch02s03.html

HPVM 4.0:
Only HP-UX 11i v2 servers running Integrity VM Version 3.0 or Version 3.5 can be upgraded to the HP-UX 11i v3 Integrity VM Version 4.0 release.
http://docs.hp.com/en/T2767-90141/ch02s03.html

Please assign points
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Armin Kunaschik
Esteemed Contributor
Solution

Re: Manually migrating an HPVM client question

One small (but important) mistake: On HPVM 4.0 you can have 11.23 AND 11.31 guests.

Regarding the migration. I guess you already checked docs.hp.com?
Consider doing the migration manually:
- Make the disks/volume groups visible to the new host
- Create the VM's from scratch using the "old" disks/vg's
- alternatively copy the directory structure /var/opt/hpvm/guests/ to the new host, change it to fit your needs and activate with "hpvmmodify -F -P "
Attention: /var/opt/hpvm/guests/ is just a link, copy the link and the link target!

My 2 cents,
Armin
And now for something completely different...
Avinash20
Honored Contributor

Re: Manually migrating an HPVM client question

Thanks Armin.
Just too fast and furious:
http://docs.hp.com/en/T2767-90141/ch04s01.html
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Eric SAUBIGNAC
Honored Contributor

Re: Manually migrating an HPVM client question

Bonjour Karen,

I would avoid copying /var/opt/hpvm/guests/ from old VM Host to the new one : data structures under HPVM 4.0 are probably quiet different from HPVM 1.2 and HPVM 2.0. An other point is that the target VM Host will not see devices like the old VM Hosts did. So "Create the VM's from scratch using the "old" disks/vg's", as said by Armin, is probably the best way to move your VM from the old hosts to the new one.

some other points :

- before creating your VM on the new host, prevent a simultaneous startup of the VM on both hosts. It would be a disaster :-( For example by de-activating autoboot feature with "hpvmmodify -P -B manual".

- before starting you VM on the new host, maybe you should update the guest OS with a newer version. An 11iv2 guest is supported beginning with version HP-UX 11i v2 September 2006

- after starting the VM on the new host don't forget to update the guest with "/opt/hpvm/guest-images/hpux/11iv2/hpvm_guest_depot.11iv2.sd".

Eric