LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-16-2014, 07:10 PM   #1
drewjupe
LQ Newbie
 
Registered: May 2014
Posts: 4

Rep: Reputation: Disabled
Can't get cman to start.


Getting started w/ clusters.
https://access.redhat.com/site/solutions/63671

I've done everything in the getting started but after rebooting, I am unable to verify the cluster. (forgive me I'm new to linux) but I've had to set ricci, luci, and cman services to start at bootup. I try to start cman with the following. Below are my host file and cluster.conf file. What can i do??

===========================================

[root@HQHEMASQLPRDND1 ~]# service cman start Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... Cannot find node name in cluster.conf Unable to get the configuration Cannot find node name in cluster.conf
cman_tool: corosync daemon didn't start Check cluster logs for details
[FAILED]



127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

172.29.1.83 HQHEMASQLPRDND1
172.29.1.84 HQHEMASQLPRDND2
172.29.1.82 HQHEMASQLPRD1
~



<?xml version="1.0"?>
<cluster config_version="1" name="HQHEMASQLPRD1">
<clusternodes>
<clusternode name="hqhemasqlprdnd1" nodeid="1"/>
<clusternode name="hqhemasqlprdnd2" nodeid="2"/>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices/>
<rm/>
</cluster>
 
Old 05-16-2014, 07:28 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Welcome to Linux Questions-

Here is your problem:
Quote:
Cannot find node name in cluster.conf Unable to get the configuration Cannot find node name in cluster.conf
Check your cluster.conf file-

If your running Red Hat or CentOS?
These pages show how to set it up. Hope that helps-

http://www.redhat.com/archives/linux.../msg00050.html
https://access.redhat.com/site/docum...ion/index.html
 
Old 05-18-2014, 07:46 PM   #3
drewjupe
LQ Newbie
 
Registered: May 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I ensured the node names are the same from what's returned from uname. What else can it be? Are there logs that can help me? firewalls? what about 'selinux'? Mine's set to enforcing (not sure what that means).
 
Old 05-18-2014, 09:24 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by drewjupe View Post
I ensured the node names are the same from what's returned from uname. What else can it be? Are there logs that can help me? firewalls? what about 'selinux'? Mine's set to enforcing (not sure what that means).
I don't think it's SELinux but it could be the firewall.
I'll re-read the Red Hat Documentation and make sure I didn't miss anything.

I have asked one of our Guru's councel on this, let's see what he says.
 
Old 05-18-2014, 09:53 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Where you able to configure the iptables Firewall to allow Cluster Components?

https://access.redhat.com/site/docum...rewall-CA.html

In order to have communication with nodes in a cluster you have to enable the ip ports assigned to the RH add on components.
16 cluster nodes is the max--
I (think) using firewalls to enforce enterprise wide policies over your Client-Server is what the 'enforcing' is all about.

That's why I asked our Guru for his advise.
 
Old 05-19-2014, 02:58 PM   #6
drewjupe
LQ Newbie
 
Registered: May 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

Looks like it was the iptables and some misspellings within the cluster.conf file. It has started up. Thank you very much!!
 
Old 05-20-2014, 08:30 AM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by drewjupe View Post
Looks like it was the iptables and some misspellings within the cluster.conf file. It has started up. Thank you very much!!
Your very welcome!-
Have a good week:-

Don't forget to mark your thread solved-
 
  


Reply



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
not able to start cman service on rhel vikky Linux - Newbie 2 06-19-2013 08:04 AM
CMAN won´t start Thakowbbery Linux - Server 0 02-21-2013 03:45 PM
GFS on CentOS - cman unable to start wmodes Linux - Server 1 01-06-2012 09:11 AM
cman installed but fails to start, gives no reason Arkaanis Linux - Server 3 06-17-2011 06:39 PM
cannot start cman after modifying cluster.conf juliyana Linux - Software 1 03-26-2011 01:57 AM

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

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

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