[PVE-User] HA behavior with VMs (PVE 2.2 pre-release)

David Black proxmox at 1000.relay.net
Thu Oct 11 14:45:22 CEST 2012


Hi Martin, I have done almost exactly as you say in the first paragraph. 


The difference: I clicked "Shutdown", not a (forced) "Stop", and the VM gracefully shut down. Once down, what difference would there be? After a few seconds, the VM is restarted by RGmanager. RGmanager restarts it, regardless of the autostart setting. I'll test it a few more times and probably open a bug. 


BTW, I got the idea of stopping RGmanager here: http://pve.proxmox.com/wiki/High_Availability_Cluster#HA_Cluster_maintenance_.28node_reboots.29 
It was to force migrate the VMs off the host/node, not simulate host failure as such - sorry. (I do understand the difference.) 


And I just found the below thread, with earlier discussion on automatic live migration when stopping RGmanager. It appears just not to have been implemented, and this RFE already exists: https://bugzilla.proxmox.com/show_bug.cgi?id=173 
http://forum.proxmox.com/threads/9285-HA-no-live-migration-when-stopping-rgmanager 


Thanks, 
Dave 

----- Original Message -----




Hi, 

If you enable HA for a VM or CT, make sure that the VM/CT is off. As soon as you enable HA, the resource manager (rgmanager) takes control and starts the VM/CT. you can still live migrate manually. If you click “Stop” the VM/CT will be stopped and not started again by rgmanager. 

If you need to reboot a host, live migrate all VM/CT´s to other node or stop the VM/CT. 

If your system does not work like this, it’s a bug or configuration issues. (stopping rgmanager is not a suitable testcase to simulate a failed node) 


Best Regards, 

Martin Maurer 

martin at proxmox.com 
http://www.proxmox.com 




From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of David Black 
Sent: Donnerstag, 11. Oktober 2012 13:39 
To: Dietmar Maurer 
Cc: proxmoxve (pve-user at pve.proxmox.com) 
Subject: Re: [PVE-User] HA behavior with VMs (PVE 2.2 pre-release) 



If you mean disabling HA allows me to regain full control of the VM, I do understand that, and at the moment consider it a workaround. 


Or do you mean by design, HA enabled = VM unconditionally runs and can't be powered off, regardless of the autostart parameter setting? 

That seems unlikely to me, isn't mentioned in the wiki HA section, and is why I emailed. If that's not how you intend it to work, I'd be happy to open a bug. 



Dave 
----- Original Message -----

<blockquote>

Simply remove the VM from HA if you do not want that behavior. 

Note: HA = High Availability 




Because of #3, it seems I can't have a powered-off VM sitting there, that will be moved to another host in the event whichever host it's on goes down. Seems like a bug to me. Maybe the behavior of #3 and 4 are related. I want to make all my VMs "protected" by HA whether they're running or not, so they always remain accessible regardless of their powered off/on status. Also, why can't I have an HA-protected VM stay powered off? :-) 



_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

</blockquote>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20121011/09615b3f/attachment.htm>


More information about the pve-user mailing list