HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Running a script during Service Guard node switch
Operating System - HP-UX
1835058
Members
2273
Online
110073
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-12-2006 03:30 AM
01-12-2006 03:30 AM
Running a script during Service Guard node switch
Hi All and a Happy New Year!
Have a question relating to when there is a node fallover in Service Guard.
I have a script which needs to run in the event of a node switch over (Wont go into details of the script as it isnt relevant).
What I need to know guys is where do I put the script in the event of a switch and how do I condigure SG to ask it run in the event of a switch.
As always a thousand thanks
Mark
Have a question relating to when there is a node fallover in Service Guard.
I have a script which needs to run in the event of a node switch over (Wont go into details of the script as it isnt relevant).
What I need to know guys is where do I put the script in the event of a switch and how do I condigure SG to ask it run in the event of a switch.
As always a thousand thanks
Mark
Mark Treen
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 03:55 AM
01-12-2006 03:55 AM
Re: Running a script during Service Guard node switch
All your custom startup script which you have configured under the customer_defined_cmd command section will get executed while the package is getting failed over to the alternate node .
You can add your script under
function customer_defined_run_cmds
lly halt commands to
function customer_defined_halt_cmds
thx,
bl.
You can add your script under
function customer_defined_run_cmds
lly halt commands to
function customer_defined_halt_cmds
thx,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 03:56 AM
01-12-2006 03:56 AM
Re: Running a script during Service Guard node switch
Shalom Mark,
I'm not terribly comfy with doing that. Is it possible to have cron detect failover and run the script external to the SG script.
If it must run in the script, perhaps build it into the startup logic script. You can't count on anything running at all when a node goes offline.
SEP
I'm not terribly comfy with doing that. Is it possible to have cron detect failover and run the script external to the SG script.
If it must run in the script, perhaps build it into the startup logic script. You can't count on anything running at all when a node goes offline.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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