- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I control the order in which the packages ...
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-17-2003 07:05 AM
10-17-2003 07:05 AM
In order to stop my cluster in a more graceful order I would like to stop packages in a pre-defined order. Package APP1 runs a database, therefore I would like to stop at last:
# cmhaltcl -f
Disabling package switching to all nodes being halted.
Warning: Do not modify or enable packages until the halt operation is completed.
Halting Package DB
Halting Package APP1
Halting Package APP2
Any help/suggestion is highly appreciated.
Thanks in advance for your help,
Kind Regards,
Rui Vilao
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 07:20 AM
10-17-2003 07:20 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
You should be using cmhaltpkg -p "package you want" -v
starting with package you want to shutdown first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 07:25 AM
10-17-2003 07:25 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 07:31 AM
10-17-2003 07:31 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
Well, I am writing a shutdown procedure for the customer... If I could use cmhaltcl -f it would be nicer that stopping every package individually...
RAC: Packages are stopped sequentially, not simultaneously.
Many thanks.
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 07:47 AM
10-17-2003 07:47 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
When cmhaltcl -f is executed it is forceful shutdown. Bear in mind that the packages may be running on different nodes. Then the cmhaltpkg is executed on another node. That is the packages are halted simultanously.
I would rather prefer using cmhaltpkg. (I can control the shutdown order)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 07:56 AM
10-17-2003 07:56 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
#!/usr/bin/ksh
cmhaltpkg pkg3
cmhaltpkg pkg2
cmhaltpkg pkg1
cmhaltpkg pkg_app
cmhaltcl -f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 08:46 AM
10-17-2003 08:46 AM
SolutionPackages with the lower package ID will be shutdown first, then other packages in ascending order.
Use cmviewconf to find out the package ID for the packages. You can drop and add the packages to make then in the order you want.
Other way around is, put "cmhaltpkg APP2" in the customer defined halt command section as a first step in APP1's control script. I have tested both methods and both works fine.
Regards,
Pramod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 08:56 PM
10-17-2003 08:56 PM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
As you see in the above answers, you can'nt controle the package if you use cmhaltcl, so to controle this just stop the package with cmhaltpkg, at the same time you can controle the package controle log file.
I do'nt prefer to you use option (-f) when I stop the cluster,sometimes (saw it my self with version 11.12) the cluster configuration ascii file was coruppt.
Regards,
Hamdy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2003 02:21 AM
10-18-2003 02:21 AM
Re: How can I control the order in which the packages stop when running â cmhaltcf â
Special thanks to Pramod.
Your were right.
The order in wich the packages are added to the cluster is the order in which they
will stop when running "cmhaltcl -f"
Cheers,
Rui.