[Pacemaker] stop resource if cluster is "degraded"

Thomas Müller thomas at chaschperli.ch
Tue Jul 29 14:52:05 UTC 2014


Hi

I've got a 2 node cluster with 4 VM's. If a node fails 2 of them should 
be stopped (the dev machines) to prevent the physical machine from 
swap'ing. 

Is there a way to add a location constraint like

location l_stop_devvm1 devvm1 \
  rule -INFINITY: #online_node_count ne 2

or how would you do it?



- Thomas


 






More information about the Pacemaker mailing list