LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get cman to start. (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-cman-to-start-4175505261/)

drewjupe 05-16-2014 07:10 PM

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>

Ztcoracat 05-16-2014 07:28 PM

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

drewjupe 05-18-2014 07:46 PM

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).

Ztcoracat 05-18-2014 09:24 PM

Quote:

Originally Posted by drewjupe (Post 5173315)
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.

Ztcoracat 05-18-2014 09:53 PM

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.

drewjupe 05-19-2014 02:58 PM

Looks like it was the iptables and some misspellings within the cluster.conf file. It has started up. Thank you very much!!

Ztcoracat 05-20-2014 08:30 AM

Quote:

Originally Posted by drewjupe (Post 5173755)
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-


All times are GMT -5. The time now is 10:34 AM.