HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service-guard failover
Operating System - HP-UX
1837377
Members
3407
Online
110116
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-08-2009 04:49 AM
01-08-2009 04:49 AM
Service-guard failover
Hi all,
I have a bit of a problem. I have a 2 node cluster with two packages one for Dev and one for production. I need to ensure however that when prod fails over dev is stopped before this happens. I can put it in the customer defined scripts however these are called after the VG's are imported and FS's mounted. This is not good cos the problem I have is that my application people were not clever enough to have unique filenames. Therefore it would fail unless I can halt the dev package 1st.
How can I do this?
I have a bit of a problem. I have a 2 node cluster with two packages one for Dev and one for production. I need to ensure however that when prod fails over dev is stopped before this happens. I can put it in the customer defined scripts however these are called after the VG's are imported and FS's mounted. This is not good cos the problem I have is that my application people were not clever enough to have unique filenames. Therefore it would fail unless I can halt the dev package 1st.
How can I do this?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2009 05:16 AM
01-08-2009 05:16 AM
Re: Service-guard failover
Bonjour Adam,
In such a case I add some code in a place we are not supposed to modify : when the control file checks argument "start" or "stop". Just after :
-------------------------
# Test to see if we are being called to run the package, or halt the package.
if [[ $1 = "start" ]]
then
print "\n\t########### Node \"$(hostname)\": Starting package at $(date) ###########"
-------------------------
I know, it will probably not be supported, but how to do ?
Eric
In such a case I add some code in a place we are not supposed to modify : when the control file checks argument "start" or "stop". Just after :
-------------------------
# Test to see if we are being called to run the package, or halt the package.
if [[ $1 = "start" ]]
then
print "\n\t########### Node \"$(hostname)\": Starting package at $(date) ###########"
-------------------------
I know, it will probably not be supported, but how to do ?
Eric
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP