LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-14-2011, 09:31 PM   #1
innajl
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
How to enable more verbose logging for Centos 5/RHCS cman and openais?


I am having a problem with bringing up a two node cluster.
It picks up a cluster configuration file from another cluster on the network where of course it does not find the local node
I've disabled openais, change the configuration to use a different ring but it is still happening.
I get the following error message:


Feb 14 19:24:15 str00062 openais[28008]: [MAIN ] AIS Executive Service: started and ready to provide service.
Feb 14 19:24:15 str00062 openais[28008]: [MAIN ] local node name "str0062" not found in cluster.conf
Feb 14 19:24:15 str00062 openais[28008]: [MAIN ] Error reading CCS info, cannot start
Feb 14 19:24:15 str00062 openais[28008]: [MAIN ] Error reading config from CCS
Feb 14 19:24:15 str00062 openais[28008]: [MAIN ] AIS Executive exiting (reason: could not read the main configuration file).
Feb 14 19:24:15 str00062 ccsd[7336]: Unable to connect to cluster infrastructure after 12330 seconds.


Is there a way to boost the logging for cman and openais so I can get more clues as to why it it is happening? I've only seen postings telling how to do it for resource manager .
 
Old 02-18-2011, 10:17 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Can you post your cluster.conf file? Remember, clustering and cman in particular along with openais are really picky on what you use as the hostnames in the configurations, they're gonna go by the output listed in uname -n and what will be used to connect to each node, so make sure either that output is what matches in your DNS or in each of their local /etc/hosts file.

Also, if using your local hosts, the uname -n output has to be the first entry after the IP, then add any aliases for the nodes hostnames.
 
  


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
Can't stop cman service CentOS cluster levinhha Linux - Server 0 10-26-2010 03:33 AM
Wrapping my head around Xen/RHCS Clustering (CentOS 5) binjured Red Hat 1 12-31-2007 09:12 AM
Enable detailed cron logging? OneBinary Debian 1 01-02-2006 05:56 PM
Do you enable full sendmail logging? hbt Linux - Software 1 12-19-2004 03:06 PM
Verbose vsFTP Logging?? (eek!) BSCItech Linux - Networking 6 08-26-2004 09:23 PM


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