LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2012, 06:13 AM   #1
nishamcp
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Centos 5 clustering


Hi,

I am new to clustering services and i am trying to implement a two node cluster in my environment over here. I have two centos 5 virtual machines with same configuration. I have created a file in /etc/cluster/cluster.conf following the guide http://docs.redhat.com/docs/en-US/Re...wo-node-cli-CA

After creating a sample file on the first machine i tried to validate the configuration using the command ccs_config_validate which returns command not found.

Tried to start the cman service using service cman start and it returns with the below mentioned error

cman not started. cant find local node name in cluster.conf /usr/sbin/cman_tool: aisexec daemon didnt start.

tried starting aisexec service but that too shows up cman not started.

Please help
 
Old 06-12-2012, 06:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that sounds like a pretty clear error there.... IS the node name in cluster.conf??
 
Old 06-12-2012, 06:24 AM   #3
nishamcp
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Chris,

Please have a look at my cluster configuration file

<cluster name="mycluster" config_version="2">
<cman two_node="1" expected_votes="1"/>
<clusternodes>
<clusternode name="centos1.lab.com" nodeid="1">
<fence>
</fence>
<clusternode name="centos2.lab.com" nodeid="2">
<fence>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
</fencedevices>
<rm>
</rm>
</cluster>
 
Old 06-12-2012, 07:13 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok. I've looked. Now what?

Is one of those the correct name? It presumably needs to resolve in DNS somehow.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared_IP is disabled in CentOS-6 Clustering........ linuxrndblog Linux - Server 0 10-27-2011 10:59 AM
Clustering mail servers (CentOS/Amazon EC2) samarudge Linux - Server 2 02-26-2011 02:28 AM
clustering on centOS using Vmware yashgoley Linux - Newbie 14 06-17-2010 09:31 AM
CentOS 5.3 Server Clustering/ Storage Cluster settup xshad0wfx Linux - Server 12 05-30-2010 08:35 PM
Wrapping my head around Xen/RHCS Clustering (CentOS 5) binjured Red Hat 1 12-31-2007 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration