[Nut-upsuser] Perform synchronous task before shutdown routine
Arnaldo Viegas de Lima
arnaldo at viegasdelima.com
Sat Jun 12 21:56:40 BST 2021
I’m setting NUT to run on a VMWare server (running in a VM) to shutdown the server as well as the companion file server (running Linux), that will be running upsmon in slave mode. All VMs disks come from the file server, so all VMs must properly terminate ahead of the file server.
The order of the tasks needed for the proper shutdown is:
1-Shutdown all running VMs (except the one controlling the UPS) and confirm they are down
2-When all VMs are terminated, signal slaves (FSD)
3-When the file server is down, properly terminate VMWare.
Any ideas on how to sync these events?
Thanks in advance,
More information about the Nut-upsuser