redhat cluster running on debian 6.

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

 



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

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