Hello all, I've setup two systems using corosync/pacemaker/drbd to use with asterisk. Everything is running really great so far.
However, I still have to questions: - I would like to execute two ip route change commands after two virtual ips were started, before asterisk is started. For this I found a script at [1], but this doesn't work, because of missing LSB compatibility. Could someone point me out how to reach this? - I used this script, didn't work, and after this I deleted it trough crm. Its not there anymore, but I still got messages like Failed actions: fixrouting_monitor_0 (node=asterisk2, call=8, rc=5, status=complete): not installed fixrouting_monitor_0 (node=asterisk1, call=8, rc=5, status=complete): not installed in crm_mon. My configuration at the moment: crm(live)configure# show node asterisk1 \ attributes standby="off" node asterisk2 \ attributes standby="off" primitive asteriskd lsb:asterisk primitive drbd_pbx ocf:linbit:drbd \ params drbd_resource="r0" \ op monitor interval="10s" primitive fs_pbx ocf:heartbeat:Filesystem \ params device="/dev/drbd0" directory="/data" fstype="ocfs2" primitive ip_extern_pbx ocf:heartbeat:IPaddr2 \ params ip="172.251.1.126" nic="eth0:4" \ op monitor interval="10s" primitive ip_intern_pbx ocf:heartbeat:IPaddr2 \ params ip="192.168.1.93" nic="eth0:3" \ op monitor interval="10s" primitive route_extern_pbx ocf:heartbeat:Route \ params destination="172.251.1.1" gateway="172.251.1.126" source="172.251.1.126" group pbx ip_intern_pbx ip_extern_pbx route_extern_pbx fs_pbx asteriskd \ meta target-role="Started" ms ms_drbd_pbx drbd_pbx \ meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Started" colocation pbx_on_drbd inf: pbx ms_drbd_pbx:Master order ip-before-route inf: ip_extern_pbx route_extern_pbx order pbx_after_drbd inf: ms_drbd_pbx:promote pbx:start property $id="cib-bootstrap-options" \ dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \ cluster-infrastructure="openais" \ expected-quorum-votes="2" \ stonith-enabled="false" rsc_defaults $id="rsc-options" \ resource-stickiness="100" Thanks in advance, Georg [1] http://www.voip-info.org/wiki/view/Asterisk+High+Availability+Solutions _______________________________________________ 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