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
  Search this Thread
Old 03-15-2011, 12:59 PM   #1
YaaY
LQ Newbie
 
Registered: Nov 2009
Posts: 15

Rep: Reputation: 1
Red hat cluster


Hi,

I'm having a very strange problem with red hat cluster.
After testing it in the lab, I tried to install a new cluster and received the following error :

cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start

I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :

<?xml version="1.0"?>
<cluster alias="qwe" config_version="1" name="qwe">
<clusternodes>
<clusternode name=server1.com nodeid="1">
</clusternode>

<clusternode name=server2.com nodeid="2">
</clusternode>
</clusternodes>
</cluster>

And still I get the same error.
I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.

Any ideas ?
 
Old 03-15-2011, 01:09 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
in the hosts file, server1.com try renaming as server1
in the hosts file, server2.com try renaming as server2

then, in the config, remove .com from them.

Ultimately, they should be reachable from eachother as server1 and server2 even with ping.
 
Old 03-15-2011, 02:51 PM   #3
YaaY
LQ Newbie
 
Registered: Nov 2009
Posts: 15

Original Poster
Rep: Reputation: 1
red hat cluster

my /etc/hosts file looks like :

127.0.0.1 localhost.localdomain localhost
192.168.1.1 server1.com server1

and I changed the cluster.conf so it will be a one noe cluster and without the .com and till the same error.
 
Old 03-17-2011, 04:54 AM   #4
YaaY
LQ Newbie
 
Registered: Nov 2009
Posts: 15

Original Poster
Rep: Reputation: 1
The problem was another NIC on both servers having link to each other but no IP on them.

Seting an IP (or removing the cross cable) solved it.
 
1 members found this post helpful.
  


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
2 Node Red Hat Cluster - FYI redhat00 Linux - Server 0 12-15-2009 04:59 PM
Red Hat Cluster configuration laxmantr Red Hat 7 12-10-2009 09:45 AM
Red Hat Cluster Issue? your_shadow03 Linux - Newbie 3 08-19-2008 02:11 AM
Red Hat Cluster ??? your_shadow03 Linux - Newbie 1 08-13-2008 12:30 PM
WebSphere on a Red Hat Cluster valen_tino Red Hat 0 05-06-2008 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:34 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