"Lentes, Bernd" <bernd.lentes(a)helmholtz-muenchen.de> writes:
i have a two-node cluster with around 20 domains. Cluster-Software
is
pacemaker and corosync, OS is SLES 12 SP5. The scripts for starting/
stopping the domains use virsh. Is there a way to reliably shutdown
the domains via virsh ?
I issue virsh shutdown commands periodically until the Pacemaker stop
operation timeout - 10 s, then switch over to virsh destroy. This way
the domain is eventually stopped whether it cooperates or not. Except
when libvirt itself is blocked, which happened with some old versions,
but fencing is a reasonable solution in such cases.
--
Feri