LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-05-2012, 04:02 PM   #1
wmodes
LQ Newbie
 
Registered: Apr 2007
Location: Santa Cruz, California
Distribution: Redhat Enterprise 4
Posts: 9

Rep: Reputation: 0
GFS on CentOS - cman unable to start


Howdy, y'all. I'm trying to set up GFS in a cluster on CentOS systems
running on vmWare. The GFS FS is on a Dell Equilogic SAN.

I keep running into the same problem despite many differently-flavored
attempts to set up GFS. The problem comes when I try to start cman, the
cluster management software.

[root@test01]# service cman start
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 daemon didn't start
[FAILED]

[root@test01]# tail /var/log/messages
Jan 5 13:39:40 testbench06 ccsd[13194]: Unable to connect to
cluster infrastructure after 1193640 seconds.
Jan 5 13:40:10 testbench06 ccsd[13194]: Unable to connect to
cluster infrastructure after 1193670 seconds.
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] AIS Executive
Service RELEASE 'subrev 1887 version 0.80.6'
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Copyright (C)
2002-2006 MontaVista Software, Inc and contributors.
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Copyright (C)
2006 Red Hat, Inc.
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] AIS Executive
Service: started and ready to provide service.
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] local node name
"test01.gdao.ucsc.edu" not found in cluster.conf
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Error reading CCS
info, cannot start
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Error reading
config from CCS
Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] AIS Executive
exiting (reason: could not read the main configuration file).

Here are details of my configuration:

[root@test01]# rpm -qa | grep cman
cman-2.0.115-85.el5_7.2

[root@test01]# echo $HOSTNAME
test01.gdao.ucsc.edu

[root@test01]# hostname
test01.gdao.ucsc.edu

[root@test01]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
128.114.31.112 test01 test01.gdao test01.gdao.ucsc.edu
128.114.31.113 test02 test02.gdao test02.gdao.ucsc.edu
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

[root@test01]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: permissive
Policy version: 21
Policy from config file: targeted

[root@test01]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster config_version="25" name="gdao_cluster">
<fence_daemon post_fail_delay="0" post_join_delay="120"/>
<clusternodes>
<clusternode name="test01" nodeid="1" votes="1">
<fence>
<method name="single">
<device name="gfs_vmware"/>
</method>
</fence>
</clusternode>
<clusternode name="test02" nodeid="2" votes="1">
<fence>
<method name="single">
<device name="gfs_vmware"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_manual" name="gfs1_ipmi"/>
<fencedevice agent="fence_vmware" name="gfs_vmware"
ipaddr="gdvcenter.ucsc.edu" login="root" passwd="xxxxxxxx"
vmlogin="root" vmpasswd="esxpass"
port="/vmfs/volumes/49086551-c64fd83c-0401-001e0bcd6848/eagle1/gfs1.vmx"/>
</fencedevices>
<rm>
<failoverdomains/>
</rm>
</cluster>

I've seen much discussion of this problem, but no definitive solutions.
Any help you can provide will be welcome.

Wes Modes

Last edited by wmodes; 01-05-2012 at 04:04 PM. Reason: format
 
Old 01-06-2012, 09:11 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

same problem here, maybe you could find a solution.

and here the example of "cluster.conf"

I know nothing about GFS or clustering, just did some G search

good luck
 
  


Reply

Tags
centos, cluster, gfs, vmware


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
DRBD + GFS2 on Centos 5.4 cman problem smbdie Linux - Server 1 07-13-2011 01:06 AM
How to enable more verbose logging for Centos 5/RHCS cman and openais? innajl Linux - Server 1 02-18-2011 10:17 AM
Can't stop cman service CentOS cluster levinhha Linux - Server 0 10-26-2010 03:33 AM
Unable to Start X in Centos mselvaprakash Linux - Server 2 10-20-2010 02:07 AM
[SOLVED] Got stuck with CMAN - unable to establish quorum lxf Linux - Enterprise 1 08-02-2010 03:38 AM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration