Hi all,
I have a tripp lite Smart Pro that I want to hook into my cluster so that -
when power goes down, one of the cluster boxes can trigger all of the others to initiate a shutdown to power down the VM's and then power itself down. Ultimately I need to do this for two clusters - 1 is a PVE Ceph cluster the other is a PVE cluster for virtual guests.
Now, with the Tripp Lite I believe I'll need to use Network UPS Tools to make this work. I've found this rather simple tutorial for getting NUT setup:
http://www.dimat.unina2.it/LCS/MonitoraggioUpsNutUbuntu10-eng.htm
But I'm not sure of the proper command set to send to the VM Hosts to safely power down the guests and shut down. Do I just use a shutdown -h now? Is there some PVE script on the system I can trigger that will shutdown vms and power off the system?
the tricky part is I need it to power off the vm hosts before the ceph network powers off which is sitting on a separate battery backup... Any tips would be appreciated!
I have a tripp lite Smart Pro that I want to hook into my cluster so that -
when power goes down, one of the cluster boxes can trigger all of the others to initiate a shutdown to power down the VM's and then power itself down. Ultimately I need to do this for two clusters - 1 is a PVE Ceph cluster the other is a PVE cluster for virtual guests.
Now, with the Tripp Lite I believe I'll need to use Network UPS Tools to make this work. I've found this rather simple tutorial for getting NUT setup:
http://www.dimat.unina2.it/LCS/MonitoraggioUpsNutUbuntu10-eng.htm
But I'm not sure of the proper command set to send to the VM Hosts to safely power down the guests and shut down. Do I just use a shutdown -h now? Is there some PVE script on the system I can trigger that will shutdown vms and power off the system?
the tricky part is I need it to power off the vm hosts before the ceph network powers off which is sitting on a separate battery backup... Any tips would be appreciated!