VM Graceful shutdown using apc network shutdown
-
Does anyone have any idea how I could do this i am running a smart-ups 1500 and a nmc3 I have power chute theoretically set up it was working for vmware Vcenter but how do I get it to work for xcp-ng and or XO
-
We installed apcupsd in every virtual machine with puppet and shut down test/dev systems early and important systems later. XCP-ng servers also got it installed and shutdown last.
-
@vmpr So you dont really shutdown the hosts as much as just shutdown the vm's running on the hosts
What is Puppet?
and what i am really worried about is not the vm's themselves per say it is the fact that they are connected over NFS and what would a sudden power loss do to an nfs share would it corrupt it? -
@Studmuffn1134 No we shutdown virtual machines first and xcp-ng servers last.
Puppet is a config-mgmt tool so you don't have to install apcupsd on every machine manually, it can automates stuff like that.
what do you use as nfs storage? normally you can configure to a shared network storage device that it talks to the smart-ups and shuts it self down before its running out of powercheers Ringo
-
Also keep an eye on our next release (January release) in XO, you will have a nice API call to make to save all the VM state (memory) and gracefully shutdown all hosts of a pool properly in case of a power shutdown
-
@olivierlambert Ihave been tryign to get graceful power off to work with my nas whcih is Truenas by the way but i havent gotten it to work yet oddly i cant seem to get them talking yet