- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How migrate VM in case of server crash
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2013 03:17 AM - last edited on 04-17-2013 05:52 PM by Cathy_xu
04-17-2013 03:17 AM - last edited on 04-17-2013 05:52 PM by Cathy_xu
Hi Gurus,
I have a VM guest, which i used to migrate online to another VM host in case of any maintenance on first VM host and it is successful till now.
My question is - What if my first VM host crashes, how would i migrate that VM guest to second VM host? i mean from where i would issue that hpvmmigrate command?
My VM guest is created with npiv adapter with storage directly assigned to VM guest, not through the VM host.
One thing is to configure the VMs as a serviceguard package, but is there any other way without the serviceguard??
thanks
This thread has been moved from HP-UX>System Administration to HP-UX > virtualization
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2013 03:34 AM - edited 04-17-2013 03:35 AM
04-17-2013 03:34 AM - edited 04-17-2013 03:35 AM
Re: How migrate VM in case of server crash
>What if my first VM host crashes, how would i migrate that VM guest to second VM host?
If your host crashes, you are no longer "online".
>One thing is to configure the VMs as a Serviceguard package
That's what I was thinking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2013 03:39 AM
04-17-2013 03:39 AM
Re: How migrate VM in case of server crash
Hi Dennis,
Thanks for your reply. i agree with you. But i dont have serviceguard in my environment here. Is there any other possibility to run my VM guest on the other VM host in case of first VM host crashes, like we do vm migration. Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2013 08:03 AM
04-17-2013 08:03 AM
Re: How migrate VM in case of server crash
Assuming you have successfully migrated the VM between hosts previously and the VM guest configuration has not changed, it is technically possible to start the VM on the other host if the primary host crashes. However, it's a dangerous procedure and HP strongly discourages this because it can lead to a case where the same VM is attempting to boot/run on multiple VM hosts. That can cause data corruption. So again, possible but definitely not recommended - especially with VM guests configured for Auto Boot and no Serviceguard in the picture.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 06:19 AM
04-18-2013 06:19 AM
Re: How migrate VM in case of server crash
Hi Dave,
I saw a hope in your reply. Can you please share that procedure with me? I would definitely take precautions while using that procedure, beacuase that is the only thing i guess can help us out in case of server crash.
Appreciate your help.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 02:28 PM
04-18-2013 02:28 PM
SolutionYes, it is possible to start the VM on another host as long as it has an up-to-date copy of the guest configuration. This would typically be the case if you've migrated the guest between servers and haven't modified the guest configuration since the last migration.
In my lab environment I have two VSPs (VM Hosts) - atcuxbl7 and atcuxbl8. I create a VM on atcuxbl8 and migrate it to atcuxbl7. If you look at the VM guest configuration on both servers via "hpvmstatus -V -P <guest>" in this state, atcuxbl8 will report the following information:
Runnable status : Not runnable
Not runnable set by : Migrate
Not runnable reason : vPar or VM has been migrated to VSP atcuxbl7.
Modify status : Not modify
Not modify set by : Migrate
Not modify reason : vPar or VM has been migrated to VSP atcuxbl7.
Visible status : Not visible
Not visible set by : Migrate
Not visible reason : vPar or VM has been migrated to VSP atcuxbl7.
Looking at the same output for the same VM on atcuxbl7 (where the VM guest is running):
Runnable status : Runnable
Modify status : Modify
Visible status : Visible
It is these fields that determine whether the guest can be run or not. As proof of this, I stopped the VM guest on atcuxbl7 (to simulate a server crash) and then attempted to start the guest on atcuxbl8:
atcuxbl8(/) -> hpvmstart -p1
hpvmstart: vPar or VM had been disabled for the following reason: 'vPar or VM has been migrated to VSP atcuxbl7.'.
vPar/VM atcuxvm1 configuration problems:
Warning 1: vPar/VM 'atcuxvm1' is not runnable.
These problems may prevent the vPar or VM atcuxvm1 from starting.
hpvmstart: WARNING (atcuxvm1): vPar/VM 'atcuxvm1' is disabled.
hpvmstart: Unable to start vPar or VM 'atcuxvm1'.
hpvmstart: Unable to continue.
As expected the attempt to start the guest fails because the guest configuration states this VM is not in the right state to be considered runnable. I can forcibly change those three settings shown above to the needed values with the hpvmmodify command:
atcuxbl8(/) -> hpvmmodify -P atcuxvm1 -x runnable_status=enabled -x modify_status=enabled -x visible_status=enabled
Now the guest is considered visible, modifiable and runnable. I can now start the guest on atcuxbl8:
atcuxbl8(/) -> hpvmstart -p1
(C) Copyright 2000 - 2013 Hewlett-Packard Development Company, L.P.
Mapping vPar/VM memory: 8192MB
mapping low RAM (0-80000000, 2048MB)
...
Again, the danger is if atcuxbl7 comes back up and attempts to start the guest there could be......trouble. Even the hpvmmodify man page contains the warning:
Note: HP does not recommend using -x
runnable_status, -x modify_status, or -x
visible_status except with extreme
caution. Integrity VM ensures that the VM
is runnable only on one VSP at a time.
Marking a VM runnable on more than one VSP
can lead to accidentally booting the VM on
more than one VSP.
If modify_status is disabled, the VM is
most likely running on another VSP. Any
modification made to this VM's
configuration will be lost when it is
migrated back to this VSP.
Good luck,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Tags:
- hpvmmodify
- hpvmstatus