Hi
I am trying to create a 2nd node from last couple of days but no luck. Please help me to do this.
I have gone through these article again and again:
http://www.redhat.com/docs/manuals/csgfs/
Here is my setup
node1 ( ricci + luci) : which is working fine
node2 (ricci only) : this is giving me problem
node1
/etc/hosts:
127.0.0.1 localhost
193.132.234.6 beaver beaver.internal.local
193.132.234.58 node2 node2.internal.local
Node 2:
/etc/hosts file
193.132.234.6 beaver beaver.internal.local
193.132.234.58 node2 node2.internal.local localhost
First problem :
when i created this node2 via luci server from node1. its creates cluster.conf file in /etc/cluster/ directory of node2. but problem is, it would not write <clusternode name> in cluster.conf file. hence in node 2 i was seeing this error:
Sep 15 13:33:05 node2 ccsd[5332]: Starting ccsd 2.0.98:
Sep 15 13:33:05 node2 ccsd[5332]: Built: Aug 17 2009 15:01:41
Sep 15 13:33:05 node2 ccsd[5332]: Copyright (C) Red Hat, Inc. 2004 All rights reserved.
Sep 15 13:33:05 node2 ccsd[5332]: cluster.conf (cluster name = test-cluster, version = 1) found.
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive Service RELEASE 'subrev 1358 version 0.80.3'
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Copyright (C) 2006 Red Hat, Inc.
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive Service: started and ready to provide service.
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] local node name "node2.xxx.local" not found in cluster.conf
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Error reading CCS info, cannot start
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Error reading config from CCS
Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive exiting (reason: could not read the main configuration file).
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] AIS Executive Service RELEASE 'subrev 1358 version 0.80.3'
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] Copyright (C) 2006 Red Hat, Inc.
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] AIS Executive Service: started and ready to provide service.
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] local node name "node2.xxx.local" not found in cluster.conf
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] Error reading CCS info, cannot start
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] Error reading config from CCS
Sep 15 13:33:08 node2 openais[5364]: [MAIN ] AIS Executive exiting (reason: could not read the main configuration file).
Sep 15 13:33:34 node2 ccsd[5332]: Unable to connect to cluster infrastructure after 30 seconds.
As a soluiton, i copyed over cluster.conf file from nod1 to node2( I do not know if that right way to do)
after that when i restart cman at node2
now i only see this error:
Failed
/usr/sbin/cman_tool: aisexec daemon didnot start
and in the log file
Sep 15 13:33:34 node2 ccsd[5332]: Unable to connect to cluster infrastructure after 30 seconds.
I went thorough couple of article as bellow :
https://bugzilla.redhat.com/show_bug.cgi?id=217724
http://sources.redhat.com/cluster/wiki/FAQ/CMAN
https://bugzilla.redhat.com/show_bug.cgi?id=213946
but No luck....
I already reinstall both node1 and node2 couple of times. but no luck
can any one please tell me what i am doing wrong or what i suppose to do??
thanks for your help
Here is the cluster.conf in both node
<?xml version="1.0"?>
<cluster alias="test-cluster" config_version="31" name="test-cluster">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="beaver.electroversal.local" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="node2.electroversal.local" nodeid="2" votes="1">
<fence/>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
NOte: this file mainly created by node1( where is luci server) then i copyed it over node2
Really appreciate for any help and hits..
thanks
Fosiul