RE: RHCS / DRBD / MYSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI, the relevant changes to my cluster.conf were:

	   <resources>
            <ip address="192.168.111.1" monitor_link="1"/>
            <script file="/etc/init.d/drbdcontrol" name="drbdcontrol"/>
            <script file="/etc/init.d/asterisk" name="asterisk"/>
            <script file="/etc/init.d/mysql" name="mysql"/>
            <fs device="/dev/drbd0" force_fsck="0" force_unmount="0" fsid="11607" fstype="ext3" mountpoint="/var/lib/mysql" name="mysqlfs" options="" self_fence="1"/>
         </resources>
         <service autostart="1" domain="asterisk" name="asteriskcluster">
            <ip ref="192.168.111.1">
               <script ref="drbdcontrol">
                  <fs ref="mysqlfs">
                     <script ref="mysql">
                        <script ref="asterisk">
                        </script>
                     </script>
                  </fs>
               </script>
            </ip>
         </service>

Apparently it didn't like the <script ref="mysql"/> or <script ref="asterisk"/>. I'm aware now that I'm running an incredibly old (read: last year) version, but this has fortunately allowed me to work around it.

Thanks to Fabio & Lon in the IRC channel! :)

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.


-----Original Message-----
From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Fabio M. Di Nitto
Sent: Saturday, 29 March 2008 7:35 a.m.
To: linux clustering
Subject: RE:  RHCS / DRBD / MYSQL

On Fri, 28 Mar 2008, Lon Hohberger wrote:

> On Fri, 2008-03-28 at 17:24 +1300, Arjuna Christensen wrote:
>
>> === Resource Tree ===
>> service {
>>   name = "asteriskcluster";
>>   domain = "asterisk";
>>   autostart = "1";
>>   ip {
>>     address = "192.168.111.1";
>>     monitor_link = "1";
>>         script {
>>       name = "drbdcontrol";
>>       file = "/etc/init.d/drbdcontrol";
>>             fs {
>>         name = "mysqlfs";
>>         mountpoint = "/var/lib/mysql";
>>         device = "/dev/drbd0";
>>         fstype = "ext3";
>>         force_unmount = "0";
>>         self_fence = "1";
>>                 fsid = "11607";
>>         force_fsck = "0";
>>         options = "";
>>         script {
>>           name = "asterisk";
>>           file = "/etc/init.d/asterisk";
>>                   }
>>         script {
>>           name = "mysql";
>>           file = "/etc/init.d/mysql";
>>                   }
>>       }
>>     }
>>   }
>> }
>
> This looks fine.  The only thing I can think of is:
>
> * that your version of rg_test doesn't match clurgmgrd for some reason.
> I don't know why that would happen.
>
> * you have an old version of ccs installed with a new version of
> rgmanager.  rg_test doesn't use ccs - so the query it uses to find
> children works even if ccs breaks.
>
> I'd pull the most recent snapshot of rgmanager for the version you're
> running (e.g. from the RHEL4 or RHEL5 branch; Fabio seemed to think
> yours was pretty old).

He is using an ubuntu package made up by a CVS snapshot from 20070315. All 
the versions of the binaries are coming from the same snapshot.

Fabio

--
I'm going to make him an offer he can't refuse.

--
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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux