[Linux-cluster] redhat cluster running on debian 6.
Joey L
mjh2000 at gmail.com
Fri Oct 14 20:58:01 UTC 2011
I am new to redhat cluster and i am having some issues.
1. I am looking for a simple cluster.conf that I can use for :
A. failing over an ip address.
B. failing over apache.
C. failing over mysql
D. failing over asterisk.
E. failing over a nfs mount.
I have created the following cluster.conf using system-config-cluster :
cat /etc/cluster/cluster.conf
<?xml version="1.0" ?>
<cluster config_version="2" name="picky_cluster">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="192.168.2.110" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="192.168.2.111" nodeid="2" votes="1">
<fence/>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources>
<ip address="192.168.2.112" monitor_link="1"/>
</resources>
</rm>
</cluster>
And I am getting the following errors :
/etc/cluster/cluster.conf:5: element clusternode: Relax-NG validity
error : Invalid attribute name for element clusternode
/etc/cluster/cluster.conf:5: element clusternode: Relax-NG validity
error : Element clusternodes has extra content: clusternode
/etc/cluster/cluster.conf:5: element clusternode: Relax-NG validity
error : Type ID doesn't allow value '192.168.2.110'
Relax-NG validity error : Element clusternode failed to validate attributes
/etc/cluster/cluster.conf:2: element cluster: Relax-NG validity error
: Invalid sequence in interleave
/etc/cluster/cluster.conf:2: element cluster: Relax-NG validity error
: Element cluster failed to validate content
/etc/cluster/cluster.conf fails to validate
Also get this message when trying to open cluster.conf with
system-config-cluster:
Because this node is not currently part of a cluster, the management
tab for this application is not available.
Can anyone give me a pointer as what to do ?
thanks
More information about the Linux-cluster
mailing list