
fatcharly at gmx
May 11, 2012, 7:07 AM
Post #4 of 4
(444 views)
Permalink
|
right, I added the location-rule and everything works as expected. Thanks a lot and kind regards fatcharly -------- Original-Nachricht -------- > Datum: Fri, 11 May 2012 15:10:57 +0200 > Von: emmanuel segura <emi2fast [at] gmail> > An: The Pacemaker cluster resource manager <pacemaker [at] oss> > Betreff: Re: [Pacemaker] ping resource > You are missing di location rule > > 2012/5/11 <fatcharly [at] gmx> > > > Hi, > > > > I´m using a > pacemaker-1.1.6-3.el6.x86_64/corosync-1.4.1-4.el6_2.1.x86_64 > > combo on an CentOS 6.2. I´m trying to use a ping-resource to check the > > connectivity to the default gateway. When I deactivate the interface > card > > which is connected with default gateway on one node, nothing happens. > > > > this is my configuration: > > > > > > node pilotpound \ > > attributes standby="off" > > node powerpound \ > > attributes standby="off" > > primitive HA_IP_1 ocf:heartbeat:IPaddr2 \ > > params ip="192.168.xxx.11" cidr_netmask="24" \ > > op monitor interval="30s" > > primitive HA_IP_2 ocf:heartbeat:IPaddr2 \ > > params ip="192.168.xxx.16" cidr_netmask="24" \ > > op monitor interval="30s" > > primitive HA_IP_3 ocf:heartbeat:IPaddr2 \ > > params ip="192.168.xxx.66" cidr_netmask="24" \ > > op monitor interval="30s" > > primitive HA_IP_4 ocf:heartbeat:IPaddr2 \ > > params ip="192.168.xxx.76" cidr_netmask="24" \ > > op monitor interval="30s" > > primitive HA_IP_5 ocf:heartbeat:IPaddr2 \ > > params ip="192.168.xxx.86" cidr_netmask="24" \ > > op monitor interval="30s" > > primitive ping-gateway ocf:pacemaker:ping \ > > params host_list="192.168.xxx.1" multiplier="100" > > clone pingclone ping-gateway \ > > meta interleave="true" > > colocation one-with-five inf: HA_IP_5 HA_IP_1 > > colocation one-with-four inf: HA_IP_4 HA_IP_1 > > colocation one-with-three inf: HA_IP_3 HA_IP_1 > > colocation one-with-two inf: HA_IP_2 HA_IP_1 > > property $id="cib-bootstrap-options" \ > > dc-version="1.1.6-3.el6-a02c0f19a00c1eb2527ad38f146ebc0834814558" > \ > > cluster-infrastructure="openais" \ > > expected-quorum-votes="2" \ > > stonith-enabled="false" \ > > no-quorum-policy="ignore" > > rsc_defaults $id="rsc-options" \ > > resource-stickiness="100" > > > > Any Suggestions are welcome > > > > kind regards > > > > fatcharly > > > > -- > > NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! > > Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a > > > > _______________________________________________ > > Pacemaker mailing list: Pacemaker [at] oss > > 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://bugs.clusterlabs.org > > > > > > -- > esta es mi vida e me la vivo hasta que dios quiera -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Pacemaker mailing list: Pacemaker [at] oss 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://bugs.clusterlabs.org
|