[Linux-cluster] starting cman changes cluster.conf file? what in..

linux-cluster at merctech.com linux-cluster at merctech.com
Tue Jan 29 22:26:55 UTC 2008



In the message dated: Tue, 29 Jan 2008 14:10:44 EST,
The pithy ruminations from Lon Hohberger on 
<Re: [Linux-cluster] starting cman changes cluster.conf file? what in..> were:
=> On Tue, 2008-01-29 at 20:51 +0200, m.. mm.. wrote:
=> > Hi,
=> > 
=> > Can somebody help me, when i am starting service cman in my cluster, it changes the /etc/clust
=> er/cluster.conf file? how is'it possible?
=> 
=> You *must* change the cluster name!
=> 
=> > I am trying to get an other cluster enviroment in same network where i have allready on cluste
=> r working.
=> > 
=> > So this is then what happens.. i don't understand what is happening here!
=> > Starting cluster: 
=> >    Loading modules... done
=> >    Mounting configfs... done
=> >    Starting ccsd... done
=> >    Starting cman... failed
=> > cman not started: Can't find local node name in cluster.conf /usr/sbin/cman_tool: aisexec daem
=> on didn't start
=> >                                                            [FAILED]
=> 
=> Other things to look out for:
=> 
=>  * 'uname -n' must match something in cluster.conf.  If it doesn't,

Can you please clarify this?

On my cluster:
	uname -n == /etc/hosts entry for eth0 (public address)

	cluster.conf "clusternode name" entries == /etc/hosts entry for eth1 (private network)

and the cman daemon starts just fine. Is there something that I'm missing, or 
will this cause other issues?


I'm running CentOS 5, cman-2.0.73-1.el5_1.1.

=>    you need to edit /etc/init.d/cman: right before line 44
=>    ("load_modules()"), put:
=> 
=>       cman_join_opts+="-n <name_from_cluster.conf>"

Wow...that value really seems like an ideal candidate for inclusion in the 
cluster.conf file, or in :

	/etc/sysconfig/cman

=> 
=>    This must be done on each cluster member!
=> 
=>  * chkconfig --del openais (if it's not already disabled)
=> 
=> -- Lon

-----
Mark Bergman 

http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=bergman%40merctech.com




More information about the Linux-cluster mailing list