I'm trying to get drbd setup on a new Centos6 cluster.
everything seems to be ok in my cluster.conf, except whenever I add the drbd resource, it stops working. I also noticed i don't see anything in /usr/shared/cluster/ for drbd. Am I missing a package maybe?
ccs_config_validate fails with:
[root@e-clust-01 cluster]# ccs_config_validate
Relax-NG validity error : Extra element rm in interleave
tempfile:20: element rm: Relax-NG validity error : Element cluster failed to validate content
Configuration fails to validate
and when i use rg_test it always skips over the drbd resource, and anything nested inside it.
cluster.conf:
<?xml version="1.0"?>
<cluster config_version="52" name="testclust">
<cman cluster_id="46117" expected_votes="1" two_node="1"/>
<clusternodes>
<clusternode name="e-clust-01.local" nodeid="1">
<fence>
<method name="ipmi">
<device name="ipmi-clust-01"/>
</method>
</fence>
</clusternode>
<clusternode name="e-clust-02.local" nodeid="2">
<fence>
<method name="ipmi">
<device name="ipmi-clust-02"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="failapache" nofailback="1" ordered="1" restricted="0">
<failoverdomainnode name="e-clust-01.local" priority="1"/>
<failoverdomainnode name="e-clust-02.local" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<script file="/etc/init.d/httpd" name="init-httpd"/>
<drbd name="drbd-storage" resource="storage" />
<fs name="fs-storage" device="/dev/drbd/by-res/storage/0" fstype="ext4" mountpoint="/storage" options="noatime" />
</resources>
<service autostart="1" name="oddjob">
<drbd ref="drbd-storage">
</drbd>
<fs ref="fs-storage">
<ip address="192.168.68.50/22" monitor_link="1">
<script ref="init-httpd"/>
</ip>
</fs>
</service>
</rm>
<logging debug="on" logfile_priority="debug" syslog_priority="debug">
<logging_daemon debug="on" logfile_priority="debug" name="rgmanager" syslog_priority="debug"/>
<logging_daemon debug="on" logfile_priority="debug" name="corosync" syslog_priority="debug"/>
<logging_daemon debug="on" logfile_priority="debug" name="fenced" syslog_priority="debug"/>
</logging>
<fencedevices>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="192.168.4.167" login="root" name="ipmi-clust-01" passwd="root" privlvl="ADMINISTRATOR"/>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="192.168.4.168" login="root" name="ipmi-clust-02" passwd="root" privlvl="ADMINISTRATOR"/>
</fencedevices>
</cluster>
Thanks,
Dan
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster