LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-17-2009, 04:26 AM   #1
fosiul
LQ Newbie
 
Registered: Apr 2007
Posts: 18

Rep: Reputation: 0
unable to create 2nd node in Redhat 5 cluster


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
 
Old 09-20-2009, 12:25 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,029

Rep: Reputation: 96
Quote:
Node 2:
/etc/hosts file

193.132.234.6 beaver beaver.internal.local
193.132.234.58 node2 node2.internal.local localhost
check your node2 hostname
#hostname
and compare with your cluster.conf file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to create cluster luci database objects yashgoley Linux - Newbie 1 09-13-2009 03:38 AM
Cluster node not booting up madnanansari Linux - Newbie 1 09-17-2008 09:03 PM
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 0 05-08-2008 08:44 PM
cant ping a node in a cluster.. dogma Linux - Networking 3 05-22-2003 12:06 AM
how do I SSH into a cluster node? dogma Linux - Newbie 4 05-15-2003 05:31 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration