- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service Guard log file
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-10-2008 10:36 AM
тАО03-10-2008 10:36 AM
Today I've discovered that the log file of serviceguard is hitting the 200MB size, which is becoming a problem for our root file system.
/etc/cmcluster/PRD/dbciPRD.control.script.log
Is it possible to just move away the file and archive it while the cluster application is running ? Does it will recreate the file the next time it has to write the file?
Do you have any other suggestion?
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2008 11:05 AM
тАО03-10-2008 11:05 AM
Re: Service Guard log file
be careful, instead of moving the file copy it elsewhere then truncate the source:
# cp -p script.log
# : > script.log
You can check if the log file is still in use with for example:
# fuser script.log
or
# lsof script.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2008 12:21 PM
тАО03-10-2008 12:21 PM
Re: Service Guard log file
For reference, I have found this message very similar to my issue:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1205179083364+28353475&threadId=1175398
I yhink I'll follow the suggested solution :
cd /etc/cmcluster
gzip < script.log >script.log.old.Z && > script.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 01:13 AM
тАО03-11-2008 01:13 AM
SolutionIf you remove this fiile while the package is runing, it will simply recreate the file and use it.
However, it is a good idea to at least keep some of the old file for possible troubleshooting at a later stage.
It is also good practice to regularly check these log files and trim as and when necessary due to the fact that they grow without bounds.
to have a package log that is 200MB in size tells me that this has NEVER been done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 01:16 AM
тАО03-11-2008 01:16 AM
Re: Service Guard log file
A good idea might be to create a seperate logical volume for /etc/cmcluster so the cluster might not fill to / filesystem.
My 2 cents,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 07:56 AM
тАО03-11-2008 07:56 AM
Re: Service Guard log file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2008 07:56 AM
тАО03-11-2008 07:56 AM