Re: [Pacemaker] stop resource if cluster is "degraded"

2014-08-06 Thread Thomas Müller
>>> 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. >> >> Do this with utilizations and priority: >> >> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/ Pacemaker_Explained/ > _utili

Re: [Pacemaker] stop resource if cluster is "degraded"

2014-07-30 Thread Thomas Müller
On Tue, 29 Jul 2014 17:10:06 +0200 wrote Michael Schwartzkopff: > Am Dienstag, 29. Juli 2014, 14:52:05 schrieb Thomas Müller: >> 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

[Pacemaker] stop resource if cluster is "degraded"

2014-07-29 Thread Thomas Müller
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