- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Proper way to stop a hung cmrunpkg/cmhaltpkg
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
10-19-2007 07:07 AM
10-19-2007 07:07 AM
What is the proper way to stop a cmrunpkg/cmhaltpkg that's stuck due to application start-up issues? the database has problems (and that has to be fixed) but cmrunpkg is waiting for the app part (which it is not getting). What is the proper way to stop cmrunpkg/cmhaltpkg? I just need it stopped so we can proceed with testing. I've tried killing the startup script in the past but that causes a panic. Any ideas?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 07:27 AM
10-19-2007 07:27 AM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
You should modify customer defined startup and halt functions in your package control script.
The package control script located under /etc/cmcluster directory or sometimes /etc/cmluster/
These scripts run when you halt or run package
Best Regards
Murat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 07:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 08:38 AM
10-19-2007 08:38 AM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
Thanks for the input.. So if I use NO_TIMEOUT, it will wait forever?
Also, if I kill the application script, should it always cause a panic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 08:47 AM
10-19-2007 08:47 AM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
Killing an application script MAY cause a TOC and that is actually a good thing. You should remember that the overarching design princple behind SG is not high-availability but rather no data corruption. What is avoided at all costs is the case where two nodes are trying to access the same data --- unless the package is specifically designed for that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 09:23 AM
10-19-2007 09:23 AM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
It seems you know the sulution but is still trying to avaoid that. Panic is the only option here either by killing the application script or cmcld daemon.
For testing normally one should be executing the application scripts manually rather then getting these run through SG. Once the script starts working fine then it should be checked with SG automation.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 11:28 PM
10-19-2007 11:28 PM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2007 12:22 AM
10-20-2007 12:22 AM
Re: Proper way to stop a hung cmrunpkg/cmhaltpkg
anyways, this looks good now. I'll benchmark script execution time and put a timeout.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2007 12:24 AM
10-20-2007 12:24 AM