- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ServiceGuard syslog messages
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 02:59 AM
06-24-2003 02:59 AM
Does anybody known the most "popular" messages that cmcld reports in syslog (package failure, package switch, etc.)
The aim is to trap these messages with TNG.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 03:03 AM
06-24-2003 03:03 AM
Re: ServiceGuard syslog messages
I am afraid that is is an "it depends" answer.
It depends of your configuration.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 03:06 AM
06-24-2003 03:06 AM
Re: ServiceGuard syslog messages
the easiest way is to issue a
grep cmcld /var/adm/syslog/syslog.log
in a couple of server with MC/SG on it.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 03:18 AM
06-24-2003 03:18 AM
Re: ServiceGuard syslog messages
Another idea is to use the 'logger' command to write your own messages to syslog. You could put these into your package start and stop functions so that you would have definite messages for your software to trap. That would free you from having to worry about the exact syntax of the cmcld system generated messages.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 03:37 AM
06-24-2003 03:37 AM
Solutionstrings cmcld.
I suppose the most common messages would be those relating to the start/switch/halt processes.
Daemon could not clean up.
Disabled node %s from running package %s.
Examine the file %s.log for more details.
Halted package %s on node %s.
Package %s halt script %s could not be started.
Package %s halt script %s does not exist.
Package %s halt script %s does not have execute permission.
Package %s halt script exited with NO_RESTART.
Package %s halt script failed.
Package %s halt script failed: exit value %d.
Package %s halt script timed out.
Package %s run script %s could not be started.
Package %s run script %s does not exist.
Package %s run script %s does not have execute permission.
Package %s run script exited with NO_RESTART.
Package %s run script exited with RESTART.
Package %s run script failed.
Package %s run script failed: exit value %d.
Package %s run script timed out.
Started package %s on node %s.
Switching disabled on package %s.
Unable to run halt script for package %s.
Unable to set realtime priority to RTPRIO_RTOFF.
Unable to start package %s.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:01 AM
06-24-2003 04:01 AM
Re: ServiceGuard syslog messages
Chris, your list is interesting! Thank you.
John, the use of logger is a good idea!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:08 AM
06-24-2003 04:08 AM
Re: ServiceGuard syslog messages
The messages logged in the syslog.log are:
Jun 14 10:52:15 nodeA CM-CMD[19055]: cmrunnode -v hostname
Jun 14 10:52:17 nodeA cmclconfd[19059]: Executing "/usr/lbin/cmcld" for node
nodeA.abc.com
Jun 14 10:52:17 nodeA cmcld: Daemon Initialization - Maximum number of packag
es supported for this incarnation is 2.
Jun 14 10:52:17 nodeA cmcld: Reserving 1448 Kbytes of memory and 34 threads
Jun 14 10:52:17 nodeA cmcld: The maximum # of concurrent local connections to
the daemon that will be supported is 18.
Jun 14 10:52:17 nodeA cmcld: Warning. No cluster lock is configured.
Jun 14 10:52:27 nodeA cmcld: Processing exit status for service cmlogd
Jun 14 10:52:27 nodeA cmcld: Service cmlogd terminated due to an exit(1).
Jun 14 10:52:27 nodeA cmcld: Automatically restarted service cmlogd for the 1
st time after failure.
Jun 14 10:52:27 nodeA cmcld: Processing exit status for service cmlvmd
Jun 14 10:52:27 nodeA cmcld: Service cmlvmd terminated due to an exit(1).
Jun 14 10:52:27 nodeA cmcld: Daemon exiting to preserve data integrity
Jun 14 10:52:27 nodeA cmcld: Reason: LVM daemon failed
Jun 14 10:52:28 nodeA cmsrvassistd[19064]: Lost connection to the cluster dae
mon.
Jun 14 10:52:28 nodeA cmsrvassistd[19064]: Lost connection with ServiceGuard
cluster daemon (cmcld): Software caused connection abort
Jun 14 10:52:28 nodeA cmsrvassistd[19068]: Unable to notify ServiceGuard main
daemon (cmcld): Connection reset by peer
Jun 14 10:52:28 nodeA cmclconfd[19067]: Unable to lookup any node information
in CDB: Connection refused
----- end of syslog.log -----
The above errors are related to security software denying rsh - and ServiceGuard "hacl" ports access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 04:16 AM
06-24-2003 04:16 AM
Re: ServiceGuard syslog messages
Here are some cmcld error messages.
Most critical:
"...MC/ServiceGuard: Unable to maintain contact with cmcld daemon.
Performing TOC to ensure data integrity..."
###############################
/etc/rc.config.d/cmcluster file to enable the new node to join the
cluster automatically each time it reboots.
###############################
Dec 14 14:34:44 star04 cmcld[2048]: Executing ???/etc/cmcluster/pkg5/pkg5_run
start??? for package pkg5.
Dec 14 14:34:45 star04 LVM[2066]: vgchange -a n /dev/vg02
Dec 14 14:34:45 star04 cmcld[2048]: Package pkg5 run script exited with
NO_RESTART.
Dec 14 14:34:45 star04 cmcld[2048]: Examine the file
###############################
Sep 24 09:35:12 prc02b03 cmcld: Stopped accepting local connection requests because there are currently too many concurrent connections to th
e daemon (48).
Sep 24 09:35:12 prc02b03 cmcld: There are no longer too many local connections. Now accepting local connection requests.
###############################
"...node..."[###]: Lost connection with ServiceGuard cluster daemon (cmcld): Software caused connection abort
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 06:32 AM
06-24-2003 06:32 AM
Re: ServiceGuard syslog messages
I don't need to know all the cmcld messages of course. I want to trap critical messages and espacially when a package switch to another node.
When I switch package manually, I see messages like these in syslog :
cmcld: Halted package Package2 on node NodeA
cmcld: (NodeB) Started package Package2 on node NodeB
I can't trap these messages because the switch is done manually and I don't want TNG report them. I need messages when the switch is due to an error (hardware). You see what I mean...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 07:28 AM
06-24-2003 07:28 AM
Re: ServiceGuard syslog messages
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 05:31 PM
06-24-2003 05:31 PM
Re: ServiceGuard syslog messages
grep -v -f startup syslog.log (* approximate *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 01:34 AM
06-25-2003 01:34 AM