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"/>
      <clusternode name="asterisktest01" votes="1" nodeid="1">
            <method name="single">
               <device name="asterisktest01" ipaddr=""/>
      <clusternode name="asterisktest02" votes="1" nodeid="2">
            <method name="single">
               <device name="asterisktest02" ipaddr=""/>
      <fencedevice agent="fence_vi3" name="asterisktest01" 
ipaddr="vc01.maxnet.net.nz" login="fence_vmware" passwd="fence123" 
      <fencedevice agent="fence_vi3" name="asterisktest02" 
ipaddr="vc01.maxnet.net.nz" login="fence_vmware" passwd="fence123" 
         <failoverdomain name="asterisk" ordered="0" restricted="1">
            <failoverdomainnode name="asterisktest01" priority="1"/>
            <failoverdomainnode name="asterisktest02" priority="1"/>
      <service name="asterisk" autostart="1" domain="asterisk">
         <ip address="" monitor_link="1">
            <script name="drbdcontrol" file="/etc/init.d/drbdcontrol">
               <fs name="mysql_disk" device="/dev/drbd0" 
                  <script name="mysql" file="/etc/init.d/mysql"/>
                  <script name="asterisk" file="/etc/init.d/asterisk"/>

Any enlightenment would be much appreciated :)


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
[EMAIL PROTECTED]| 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

Reply via email to