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

R: [Linux-cluster] CS4 U2 / problem to configure a 3 nodes cluster



>Hi
>>
>> I'm trying to configure a simple 3 nodes cluster with simple
>> tests scripts.
>> But I can't start cman, it remains stalled with this message
>> in syslog :
>> Apr 10 11:37:44 s_sys yack21 ccsd: startup succeeded Apr 10
>> 11:38:00 s_kernel yack21 kernel: CMAN 2.6.9-39.5 (built Sep 20 2005
>> 16:04:34) installed
>> Apr 10 11:38:00 s_kernel yack21 kernel: NET: Registered
>> protocol family 30 Apr 10 11:38:00 s_sys yack21 ccsd[25004]:
>> cluster.conf (cluster name = HA_METADATA_3N, version = 8) found.
>> Apr 10 11:38:00 s_kernel yack21 kernel: CMAN: Waiting to join
>> or form a Linux-cluster Apr 10 11:38:01 s_sys yack21
>> ccsd[25004]: Connected to cluster infrastruture
>> via: CMAN/SM Plugin v1.1.2
>> Apr 10 11:38:01 s_sys yack21 ccsd[25004]: Initial status::
>> Inquorate Apr 10 11:38:32 s_kernel yack21 kernel: CMAN:
>> forming a new cluster
>>
>> and nothing more.
>>
>> The graphic tool dos not detect any error in configuration; I
>> 've attached my cluster.conf for the three nodes, knowing
>> that I wanted two nodes (yack10 and yack21) running theirs
>> applications and the 3rd one (yack23) as a backup for yack10
>> and/or yack21, but I don't want any failover between yack10
>> and yack21.
>>
>> PS : I 've verified all ssh connections between the 3 nodes,
>> and all the fence paths as described in the cluster.conf.
>> Thanks again for your help.
>>
>> Alain
>>


>Are you starting the cman on all three nodes in the same time? A node doesn't
>start until each other node is starting. Timing is important during booting.

>Leandro

Hi, no I wasn't ...
I've tried now, and this is ok on yack21 and yack23, but not on yack10,
is there something wrong in the cluster.conf to explain this behavior ?
On yack10 , cman is trying to :
CMAN: forming a new cluster
but fails with a timeout ...

??
Thanks
Alain
-- 



mailto:Alain Moulle bull net
+------------------------------+--------------------------------+
|	Alain Moullé	       	| from France :	04 76 29 75 99  |
|                              	| FAX number  : 04 76 29 72 49  |
| Bull SA		       	|				|
| 1, Rue de Provence  		| Adr  : FREC B1-041            |
| B.P. 208			|				|
| 38432 Echirolles - CEDEX     	| Email: Alain Moulle bull net  |
| France                       	| BCOM : 229 7599               |
+-------------------------------+-------------------------------+

<?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/>
		</clusternode>
		<clusternode name="yack21" votes="1">
			<fence/>
		</clusternode>
		<clusternode name="yack23" votes="1">
			<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="1" restricted="1">
				<failoverdomainnode name="yack10" priority="1"/>
				<failoverdomainnode name="yack23" priority="1"/>
			</failoverdomain>
			<failoverdomain name="domyack21" ordered="1" 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>

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