- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A service restart question
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
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
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
тАО07-16-2008 06:52 AM
тАО07-16-2008 06:52 AM
I have a little doubt, that from what I read in the service guard manual doesn't give me a clear idea,
When you create a service on a package.
when you put in the service the -r 2 restart option so it restarts 2 times the aplication in case it fails, what does the cluster exactly do?
Does it run a:
Custom stop and Custom start ?
just a Custom start ?
or only it runs again the service_cmd )
I imagine the first, but could you confirm?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 07:50 AM
тАО07-16-2008 07:50 AM
Re: A service restart question
If the switching variables are then set correctly, the package will switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 11:26 AM
тАО07-16-2008 11:26 AM
Re: A service restart question
stop start the hole package?
or just restart what you put in the service_cmd ?
because normaly what you have on the service_cmd is the monitor not the aplication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2008 12:32 PM
тАО07-16-2008 12:32 PM
Re: A service restart question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 12:08 AM
тАО07-17-2008 12:08 AM
Re: A service restart question
Yes it restart the Service not complete package
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2008 03:37 AM
тАО07-17-2008 03:37 AM
Re: A service restart question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 01:41 AM
тАО07-27-2008 01:41 AM
SolutionThis script keep on checking services and if any abruption or issue found with the state with service on current node it reads this paramters to restart service(s).
Depending on package switching parameters package gets shifted.
So in short, answer to your question is yes..it reads custom start..
regards,
deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 03:49 AM
тАО07-27-2008 03:49 AM
Re: A service restart question
lets say we have:
service=/app/app.sh monitor
custom start=/app/app.sh start
custom stop=/app/app.sh stop
and service restarts=3
so if a kill the app the monitor exits and dies, then a restart happens, and it's going to run again the monitor:
/app/app.sh monitor
and because my app is down because I killed it the monitor will exit again, because its not starting the app doing a /app/app.sh start.
So in the monitor script you need to put the app start ?
any of you have and example monitor a script for a simple app ?
Thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 05:33 AM
тАО07-28-2008 05:33 AM
Re: A service restart question
Answer is it it will restart package. Whole bunch of services that are started using customer defined run commands.
On other hand if you are defining any service startup in customer defined run commands area then service you specify in service_cmd will get restarted.
Hope this will clear your doubt...
Regards,
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 11:23 AM
тАО07-28-2008 11:23 AM
Re: A service restart question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 11:30 AM
тАО07-28-2008 11:30 AM
Re: A service restart question
A service restart simply tries to restart that monitoring IN CASE something prevented the monitor from verifying the required item(s) was actually available.
For example, the Oracle toolkit monitors to see whether specific processes are running, without which Oracle cannot work. If these fail, then the service fails, resulting in the package halting and being moved to another node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 10:38 AM
тАО07-29-2008 10:38 AM
Re: A service restart question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 09:21 PM
тАО07-29-2008 09:21 PM