[Linux-cluster] RHCS / DRBD / MYSQL

Lon Hohberger lhh at redhat.com
Fri Mar 28 16:02:00 UTC 2008


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

-- Lon




More information about the Linux-cluster mailing list