HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: logging of cluster
Operating System - HP-UX
1834935
Members
2325
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-18-2008 12:47 PM
01-18-2008 12:47 PM
logging of cluster
Hi guys i wanted to know how many different ways i can check the logging of the cluster. Linke i can check in syslog.log. Then in the control file log, where else. And can i start a particular logging service???
Thanks
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 01:20 PM
01-18-2008 01:20 PM
Re: logging of cluster
Hi,
There are ways to increase the logging in cluster using cmsetlog and making changes to inetd.conf file.
for cmsetlog and other options detail refer the following thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1090221&admit=109447626+1200691107249+28353475
There are ways to increase the logging in cluster using cmsetlog and making changes to inetd.conf file.
for cmsetlog and other options detail refer the following thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1090221&admit=109447626+1200691107249+28353475
Time has a wonderful way of weeding out the trivial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2008 01:24 PM
01-18-2008 01:24 PM
Re: logging of cluster
you can change serviceguard log level (in syslog.log) with the command:
#cmsetlog 2
where 2 is the level (0 by default), you canincrease the level with 3, 4 ... I think 2 is a good value after you'll have to many messages in syslog.log. (answer yes 2 times to the warning questions).
After debug step, use command:
#cmsetlog -r
to return to default level.
by using -f option you can redirect the output to another file so that file will have all the messages related to MCSG only.
I remember there was an option -T which can be inserted in the hacl-cfg line for udp/tcp, however that is used for enahanced logging which is normally not required as that may create MBs of data in hours/day.
#cmsetlog 2
where 2 is the level (0 by default), you canincrease the level with 3, 4 ... I think 2 is a good value after you'll have to many messages in syslog.log. (answer yes 2 times to the warning questions).
After debug step, use command:
#cmsetlog -r
to return to default level.
by using -f option you can redirect the output to another file so that file will have all the messages related to MCSG only.
I remember there was an option -T which can be inserted in the hacl-cfg line for udp/tcp, however that is used for enahanced logging which is normally not required as that may create MBs of data in hours/day.
Time has a wonderful way of weeding out the trivial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 12:40 AM
01-21-2008 12:40 AM
Re: logging of cluster
In terms of normal logging it appears you already know about the standard logs to check, i.e. syslog and package logs. There are no other log files directly associated with the cluster although some of the other daemons such as the cmsnmpd and cmomd have separate log files.
With regards to the responses about turning up logging this is intended only for troubleshooting and is unsupported to use during normal production.
Firstly, the method for doing this varies from release to release and has changed dramatically in 11.18 for the commands.
Secondly, turning up logging risks the integrity of the cluster. Firstly if you have logging turned up writing to a log file on disk and you have a disk failure then the process can hang and you can loose the entire node. Secondly, logging can affect timing and can cause communications problems if you are not aware of this and do not know what you are doing.
Therefore I would not suggest you turn up logging using cmsetlog or any other utility or option unless you are instructed to do so by HP support. I doubt this information would help you anyway and often leads to more concern about possible problems than it helps. At higher log levels all sorts of errors become visible which are not real errors but are expected. For example cmclconfd will report socket errors if the cluster is not running as it attempts to communicate with cmcld which would not be running.
I'd stick with the log files you already found and not worry about increasing default log levels.
With regards to the responses about turning up logging this is intended only for troubleshooting and is unsupported to use during normal production.
Firstly, the method for doing this varies from release to release and has changed dramatically in 11.18 for the commands.
Secondly, turning up logging risks the integrity of the cluster. Firstly if you have logging turned up writing to a log file on disk and you have a disk failure then the process can hang and you can loose the entire node. Secondly, logging can affect timing and can cause communications problems if you are not aware of this and do not know what you are doing.
Therefore I would not suggest you turn up logging using cmsetlog or any other utility or option unless you are instructed to do so by HP support. I doubt this information would help you anyway and often leads to more concern about possible problems than it helps. At higher log levels all sorts of errors become visible which are not real errors but are expected. For example cmclconfd will report socket errors if the cluster is not running as it attempts to communicate with cmcld which would not be running.
I'd stick with the log files you already found and not worry about increasing default log levels.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP