Of note, testing with rg_tool yields the correct sequence (or so I'd expect), yet, I don't see the mysql/asterisk scripts called at all... root@asterisktest01:/etc/cluster# rg_test noop cluster.conf start service asterisk Running in test mode. Starting asterisk... [start] service:asterisk [start] ip:192.168.111.1 [start] script:drbdcontrol [start] fs:mysql_disk [start] script:mysql [start] script:asterisk Start of asterisk complete +++ Memory table dump +++ 0xb74d6d10 (32 bytes) allocation trace: 0x804bc04 --- End Memory table dump --- root@asterisktest01:/etc/cluster# rg_test noop cluster.conf stop service asterisk Running in test mode. Stopping asterisk... [stop] script:asterisk [stop] script:mysql [stop] fs:mysql_disk [stop] script:drbdcontrol [stop] ip:192.168.111.1 [stop] service:asterisk Stop of asterisk complete +++ Memory table dump +++ 0xb74c5d10 (32 bytes) allocation trace: 0x804bc04 --- End Memory table dump --- Arjuna Christensen | Systems Engineer Maximum Internet Ltd 7a Parkhead Pl, Albany, North Shore, 0632 | PO Box 8006, Auckland, 1150, NZ DDI: + 64 9 913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227 arjuna.christensen@xxxxxxxxxxxx| www.maxnet.co.nz ________________________________ Maxnet | mission critical internet ________________________________ This email (including any attachments) is confidential and intended only for the person to whom it is addressed. If you have received this email in error, please notify the sender immediately and erase all copies of this message and attachments. The views expressed in this email do not necessarily reflect those held by Maxnet. -----Original Message----- From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Arjuna Christensen Sent: Friday, 28 March 2008 1:54 p.m. To: linux-cluster@xxxxxxxxxx Subject: RHCS / DRBD / MYSQL Hiyas, I'm having some slight issues getting RHCS to work with drbd/asterisk/mysql. Basically I've got a service configured which (as far as I know) should bring up an IP address, set itself to the DRBD primary, mount the MySQL DRBD partition and then proceed to start up mysql/asterisk. I can see it bringing the IP up, setting itself as the DRBD primary and even mounting the partition, yet it fails to bring up asterisk/mysql. Could anyone take a look at my clusterconf - see below. <?xml version="1.0"?> <cluster name="asterisk" config_version="23"> <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="5"/> <cman two_node="1" expected_votes="1"/> <clusternodes> <clusternode name="asterisktest01" votes="1" nodeid="1"> <fence> <method name="single"> <device name="asterisktest01" ipaddr="10.0.0.1"/> </method> </fence> </clusternode> <clusternode name="asterisktest02" votes="1" nodeid="2"> <fence> <method name="single"> <device name="asterisktest02" ipaddr="10.0.0.2"/> </method> </fence> </clusternode> </clusternodes> <fencedevices> <fencedevice agent="fence_vi3" name="asterisktest01" ipaddr="vc01.maxnet.net.nz" login="fence_vmware" passwd="fence123" vmname="asterisktest01"/> <fencedevice agent="fence_vi3" name="asterisktest02" ipaddr="vc01.maxnet.net.nz" login="fence_vmware" passwd="fence123" vmname="asterisktest02"/> </fencedevices> <rm> <failoverdomains> <failoverdomain name="asterisk" ordered="0" restricted="1"> <failoverdomainnode name="asterisktest01" priority="1"/> <failoverdomainnode name="asterisktest02" priority="1"/> </failoverdomain> </failoverdomains> <service name="asterisk" autostart="1" domain="asterisk"> <ip address="192.168.111.1" monitor_link="1"> <script name="drbdcontrol" file="/etc/init.d/drbdcontrol"> <fs name="mysql_disk" device="/dev/drbd0" mountpoint="/var/lib/mysql"> <script name="mysql" file="/etc/init.d/mysql"/> <script name="asterisk" file="/etc/init.d/asterisk"/> </fs> </script> </ip> </service> </rm> </cluster> Any enlightenment would be much appreciated :) Regards, Arjuna Christensen | Systems Engineer Maximum Internet Ltd 7a Parkhead Pl, Albany, North Shore, 0632 | PO Box 8006, Auckland, 1150, NZ DDI: + 64 9 913 9683 | Ph: +64 9 915 1825 | Fax:: +64 9 300 7227 arjuna.christensen@xxxxxxxxxxxx| www.maxnet.co.nz ________________________________ Maxnet | mission critical internet ________________________________ This email (including any attachments) is confidential and intended only for the person to whom it is addressed. If you have received this email in error, please notify the sender immediately and erase all copies of this message and attachments. The views expressed in this email do not necessarily reflect those held by Maxnet. -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster