CS4 Update 2 / cluster 3 noeuds question

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

 



Hi
Finally I've found the problem (a bad alias in /etc/hosts !).

But I've another question :
As told before, I have yack10 and yack23 with each one a service
to run, and yack23 as backup for both nodes (see attached cluster.conf)

I've tested with a poweroff on yack10 and the service
is well failoverd on yack23. But then I tried to
do poweroff on yack21, but it does not failover
because "missing two many heart beats".
I suspect that it is normal because we have only
one node left among the three, and so there is
not enough votes ...
But I would like to have a confirmation ?

And if so, is there a way to configure so that
yack23 could failover the services of both
other nodes stopped at the same time ?

Thanks
Alain

<?xml version="1.0"?>
<cluster config_version="8" name="HA_METADATA_3N">
	<fence_daemon clean_start="1" post_fail_delay="0" post_join_delay="3"/>
	<clusternodes>
		<clusternode name="yack10" votes="1">
			<fence>
                                <method name="1">
                                        <device name="yack10fence"/>
                                </method>
			</fence>
		</clusternode>
		<clusternode name="yack21" votes="1">
			<fence>
                                <method name="1">
                                        <device name="yack21fence"/>
                                </method>
			</fence>
		</clusternode>
		<clusternode name="yack23" votes="1">
			<fence>
                                <method name="1">
                                        <device name="yack23fence"/>
                                </method>
			</fence>
		</clusternode>
	</clusternodes>
	<cman/>
	<fencedevices>
		<fencedevice agent="fence_ipmilan" ipaddr="10.0.11.11" login="administrator" name="yack10fence" passwd="administrat0r"/>
		<fencedevice agent="fence_ipmilan" ipaddr="10.0.11.22" login="administrator" name="yack21fence" passwd="administrat0r"/>
		<fencedevice agent="fence_ipmilan" ipaddr="10.0.11.24" login="administrator" name="yack23fence" passwd="administrat0r"/>
	</fencedevices>
	<rm>
		<failoverdomains>
			<failoverdomain name="domyack10" ordered="0" restricted="1">
				<failoverdomainnode name="yack10" priority="1"/>
				<failoverdomainnode name="yack23" priority="1"/>
			</failoverdomain>
			<failoverdomain name="domyack21" ordered="0" restricted="1">
				<failoverdomainnode name="yack21" priority="1"/>
				<failoverdomainnode name="yack23" priority="1"/>
			</failoverdomain>
		</failoverdomains>
		<resources/>
		<service domain="domyack10" name="serviceyack10">
			<script file="/tmp/testHAmanage10" name="testha1"/>
		</service>
		<service domain="domyack21" name="serviceyack21">
			<script file="/tmp/testHAmanage21" name="testha2"/>
		</service>
	</rm>
</cluster>
--

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