- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: package disk fails
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
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
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
02-21-2014 03:15 AM
02-21-2014 03:15 AM
package disk fails
Hi Admins,
Cluster : 11.20
I have active-passive 2 node cluster.My query is if any of the LUN is not accessible from active node, then what will be the behaviour of cluster and package.Will it try to fail over.
And if LUN is entirely failed and not accessible both the nodes, what will be the cluster status/pckage status.
I find below comment in HP docs.
Specifying the generic_resource_evaluation_type is optional. If not specified,
the default value is during_package_start.
i find during_package_start and generic_resource is commented in package file.
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2014 03:50 AM
02-22-2014 03:50 AM
Re: package disk fails
If your package configuration includes monitoring for the accessibility of the LUN, or the packaged application is monitored by the package configuration and the LUN failure causes the application to fail, then the package will failover for sure.
If there is no explicit monitoring for LUN accessibility and your application will not die but will instead hang if the LUN is not accessible (or your package does not include a service that detects application failure), then the package may not failover automatically.
When the failover is triggered, the application shutdown scripts (if any) must complete successfully even if the application is hanging because of the LUN being inaccessible. If the application shutdown script fails, the package halt will fail and the failover cannot complete, and the package will remain down. (You can choose to avoid this issue by enabling the appropriate fail_fast parameter in the package configuration, at the price of having the entire node intentionally crashed by Serviceguard at the beginning of package failover. If you don't want that, you should write your application shutdown scripts with as robust error handling as you can.)
If the application shutdown script also hangs, the package will remain in the halting state until the halt script times out (if a timeout has been configured) or the administrator resolves the situation manually.
If the failover gets as far as trying to start the package on another node, and the LUN is entirely failed and not accessible on the failover node too, then the package start-up will fail in the VG activation phase and the package will remain down.
If the cluster nodes can still communicate with each other, the cluster will be up, but the package will be down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2014 12:02 PM
02-23-2014 12:02 PM
Re: package disk fails
generic resource is a monitoring mechanism implemented in Serviceguard 11.20
This is a replacement to legacy ems resource monitoring mechanism. Using generic resources we can write custom monitoring script for any resources eg. a LUN.
Evaluation type for a generic resource can be
1. during_package_start
2. before_package_start
As name implies, this indicates at what stage a particular resurce status is evaluated.
during_package_start - This resource status is evaluated by the package during the pkg start and you can configure the resource monitor as a service inside a pkg
before_package_start- resource status is checked by the package manager before starting a pkg.