- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SG failover package /Edit the control script
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
12-02-2008 06:36 PM
12-02-2008 06:36 PM
SG failover package /Edit the control script
I have created two file(*.cntl and *.conf) for my package,But when i tried to edit the control script i found i must write three SHELL script which monitor/run/halt my appointed service,Is that right?
It is high appreciated if you can shared those sample to me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 06:42 PM
12-02-2008 06:42 PM
Re: SG failover package /Edit the control script
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 07:10 PM
12-02-2008 07:10 PM
Re: SG failover package /Edit the control script
The purpose of package control script.package_name.cntl to take advantage of MetroCluster with Continuous Access XP .
kindly go thro'the link.
http://docs.hp.com/en/B7660-90001/ch03s04.html
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 07:15 PM
12-02-2008 07:15 PM
Re: SG failover package /Edit the control script
>Serviceguard failover packages monitoring script
Already one thread is there.
plz close the thread.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 08:27 PM
12-02-2008 08:27 PM
Re: SG failover package /Edit the control script
But i am confused how can i write a monitor a appointed service.Can anyone give me some advise please?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:47 PM
12-02-2008 09:47 PM
Re: SG failover package /Edit the control script
#!/usr/bin/sh
PROCESS="process name"
POLL_INT=45
while
true
do
if
ps -ef | grep -v grep | grep "$PROCESS" >
/dev/null
then
sleep $POLL_INT
else
echo "process not running"
exit 1
fi
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:05 PM
12-02-2008 10:05 PM
Re: SG failover package /Edit the control script
Tread can be closed