Hi list, have some problems to setup the above configuration. My environment is as follows:
rhel6 , pacemaker-1.1.2-7.el6.x86_64, apache2, haproxy running on both nodes, service addresses are managed by pacemaker there is an additional resource script, that takes care of reloading/restarting apache in case of failover. This script doesn't work ass expected. The lsb checks are passed by the script, however when running in lrmd context I get: [9555]: info: rsc:apacheIP:13: monitor lrmd: [9555]: info: rsc:haproxyIP:12: monitor lrmd: [9555]: notice: lrmd_rsc_new(): No lrm_rprovider field in message lrmd: [9555]: info: rsc:webservice:21: probe lrmd: [7177]: ERROR: (raexeclsb.c:execra:267) execv failed for /etc/init.d/apache2: Exec format error lrmd: [9555]: info: rsc:webservice:22: stop lrmd: [7178]: WARN: For LSB init script, no additional parameters are needed. lrmd: [7178]: ERROR: (raexeclsb.c:execra:267) execv failed for /etc/init.d/apache2: Exec format error The cluster config is like this: node lbv01.dpd.de \ attributes standby="off" node lbv02.dpd.de \ attributes standby="off" primitive apacheIP ocf:heartbeat:IPaddr2 \ params ip="10.6.151.175" \ op monitor interval="10s" \ meta is-managed="true" primitive haproxyIP ocf:heartbeat:IPaddr2 \ params ip="10.6.151.176" \ op monitor interval="10s" primitive webservice lsb:apache2 \ op start interval="0" group webservice-ips haproxyIP apacheIP \ meta target-role="Started" property $id="cib-bootstrap-options" \ dc-version="1.1.2-f059ec7ced7a86f18e5490b67ebf4a0b963bccfe" \ cluster-infrastructure="openais" \ expected-quorum-votes="2" \ stonith-enabled="false" \ no-quorum-policy="ignore" \ last-lrm-refresh="1297170301" Maybe someone can assist. Thanks and regards Uwe
_______________________________________________ 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