- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: auto start package
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
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
тАО04-16-2011 11:35 PM
тАО04-16-2011 11:35 PM
I halted package and restarted the server for application maintanence. After starting the server package didint start automatically. I started manually. AUTO_RUN is set as YES.
Is it normal behaviour?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2011 01:24 AM
тАО04-17-2011 01:24 AM
SolutionThe AUTO_RUN setting displayed by the cmviewcl command is the _current state_ of AUTO_RUN for that package. After the cluster has started up, it is independent of the AUTO_RUN setting in the configuration file.
If the _current state_ of AUTO_RUN is NO, the package won't failover at all. In short, the AUTO_RUN attribute is the switch that "arms" or "disarms" the failover logic for the package.
When the cluster is already running, it keeps track of the AUTO_RUN states of each package separately. When you halt a package using cmhaltpkg, the cmhaltpkg command will automatically disable AUTO_RUN for that package. If it didn't do that, then Serviceguard would think the package must be restarted immediately, and would either restart the package on the same node, or fail it over to a different node, depending on other settings in the package configuration.
All the currently-supported versions of Serviceguard will remind you that AUTO_RUN will be automatically switched off when you use the cmhaltpkg command.
When you restarted the server, the server left the cluster for the duration of the reboot. Once it joined back to the cluster, the other node(s) informed it about the current state of the package(s). The last order you gave regarding the package was to halt it: the cluster still "remembers" that order, so the rejoining node is told that the package should stay in the halted state until the sysadmin gives other commands or the entire cluster is restarted.
So yes, this is normal behaviour.
When you start a package with cmrunpkg, the package will start, but its AUTO_RUN attribute will still remain in NO state: once you're satisfied the package has started up correctly, you should re-arm the failover logic by using "cmmodpkg -e
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2011 02:39 AM
тАО04-17-2011 02:39 AM
Re: auto start package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2011 02:44 AM
тАО04-17-2011 02:44 AM
Re: auto start package
this is a 2 node cluster and package is running on primary node
cmmodepkg -e pkgname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2011 04:49 AM
тАО04-17-2011 04:49 AM
Re: auto start package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2011 08:17 PM
тАО04-17-2011 08:17 PM
Re: auto start package
please find the cmviewcl -v output
PACKAGE STATUS STATE AUTO_RUN NODE
ebspk up running disabled ebsprd2
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled ebsprd2 (current)
Alternate up disabled ebsprd3
NODE STATUS STATE
ebsprd3 up running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2011 01:06 AM
тАО04-18-2011 01:06 AM
Re: auto start package
You should run cmmodpkg -e -n ebsprd2 to enable it an allow it to auto run on that node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2011 01:17 AM
тАО04-18-2011 01:17 AM
Re: auto start package
cmmodpkg -e ebspk
cmmodpkg -e -n ebsprd3 ebspk
This will ensure that it can run on ebsprd3 in the event of a failure on ebsprd2.
Hope I did not confuse you further.