Good morning everyone -
Running a 6 node Pacemaker/Corosync cluster with lots of productive qemu/kvm VMs on it, we were wondering how to best do an "emergency shutdown" of the whole lot, ie. when the UPS signals "AC fail" and "low battery". After reading docs and forums, we are still not sure about the following:
- is there a way of addressing all running resources at once we did not see? Neither
pcs resource disable --all
norpcs resource disable \*
works... - hence: how to safely get a (parse-able) list of resources running? Am I supposed to really parse the output of
pcs resource
...? - will
pcs cluster stop --all
shut down (or at least try to) all resources beforehand (that is to mean: runspcs resource disable ...
on all resources)? Or is it rather akill -9
to all resources?
Thanks for all enlightenment!