- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MC/ServiceGuard package monitor (service) scri...
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-17-2003 01:49 AM
12-17-2003 01:49 AM
MC/ServiceGuard package monitor (service) script
I asked the instructor in my MCSG II Training Class if this was a sound idea and was told, "Yes".
Here's my question: Does this execution of "xyz2" cause any significant load on the system? And is this indeed a good idea (or at least not a bad one)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 01:54 AM
12-17-2003 01:54 AM
Re: MC/ServiceGuard package monitor (service) script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 01:58 AM
12-17-2003 01:58 AM
Re: MC/ServiceGuard package monitor (service) script
The questions that you have to ask yourself about this sort of thing is:
#1) How will this new script communicate to xyz2 that the process being monitored has failed (my guess would be -- have it kill xyz1 :-) ) Then the "official" monitor script would be dead.
#2) What happens to your production if you happen to die during your maintanence window ? Or more to the point.. keep in mind that this scheme means you will be manually monitoring your processes during the maintanence period.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 01:58 AM
12-17-2003 01:58 AM
Re: MC/ServiceGuard package monitor (service) script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 02:11 AM
12-17-2003 02:11 AM
Re: MC/ServiceGuard package monitor (service) script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 02:29 AM
12-17-2003 02:29 AM
Re: MC/ServiceGuard package monitor (service) script
I wouldn't care about the overhead. But I don't clearly see the advantage of having another script. You could simply do something like :
while :
do
if [ -f /tmp/MCSG_maint ]
then
echo maintenance mode
else
test_monitored || exit 1
fi
sleep 60
done
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 02:37 AM
12-17-2003 02:37 AM
Re: MC/ServiceGuard package monitor (service) script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 02:52 AM
12-17-2003 02:52 AM
Re: MC/ServiceGuard package monitor (service) script
This exact idea and methodology should be discussed in the Advanced MC/ServiceGuard 3 day course, also known as hte Serviceguard II course, which you went on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 03:04 AM
12-17-2003 03:04 AM
Re: MC/ServiceGuard package monitor (service) script
I only have the equivalent of xyz1 but this is coded to 'exec itself' on receipt of a particular signal.
exec is useful for this because no new process is spawned.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 07:10 AM
12-17-2003 07:10 AM
Re: MC/ServiceGuard package monitor (service) script
The script that MCSG starts is "xyz1" and that script does not change and it is ALWAYS running and it is never killed. Then every 10 seconds "xyz1" runs "xyz2" but only if maintenance mode is OFF (the maintenance file does not exist). If maintenance mode is on (the maintenance file exists) then "xyz2" is not executed which gives me time to make modifications to "xyz2" WITHOUT taking the package down -- this is the whole idea of this 2 script setup. There is only one instance of "xyz2" running at a time.
Thanks to everyone for the help.