Am Dienstag, den 06.07.2010, 10:28 +0200 schrieb Torsten Bronger: > Hallöchen! > > We have a two-node cluster with a virtual IP and Lighty running on > that node which has this IP currently. Thus, our configuration > says: > > node $id="xxx" mandy > node $id="yyy" olga > primitive Public-IP ocf:heartbeat:IPaddr2 \ > params ip="134.94.252.127" broadcast="134.94.253.255" nic="eth1" > cidr_netmask="23" \ > op monitor interval="60s" > primitive lighty lsb:lighttpd \ > op monitor interval="60s" timeout="30s" on-fail="restart" \ > op start interval="0" timeout="60s" \ > meta migration-threshold="3" failure-timeout="30s" > target-role="Started" > primitive pingd ocf:pacemaker:pingd \ > params host_list="134.94.111.186" multiplier="100" \ > op monitor interval="15s" timeout="20s" > group lighty_group Public-IP lighty > clone pingclone pingd \ > meta globally-unique="false" > location lighty-on-connected-node lighty_group \ > rule $id="lighty-on-connected-node-rule" -inf: not_defined pingd > or pingd lte 0 > colocation ip-with-lighty inf: Public-IP lighty > property $id="cib-bootstrap-options" \ > dc-version="1.0.8-zzz" \ > cluster-infrastructure="Heartbeat" \ > stonith-enabled="false" > > (By the way, is there an ocf:lighttpd somewhere?) > > The problem is that under some circumstances, Lighty is not > started. Instead, crm_mon shows at the bottom:
Remove the collocation constraint because it is implicitly given in the group. Then it shoud work. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München mob: 0163 172 50 98 _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker