- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restarts
Operating System - HP-UX
1752808
Members
5552
Online
108789
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
Discussions
Discussions
Forums
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
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
тАО12-04-2000 10:36 AM
тАО12-04-2000 10:36 AM
Restarts
I have recently installed ServiceGuard OPS r=A.11.09.
If I configure the package with SERVICE_CMD = a command that starts the application, the SERVICE_RESTARTS work like I would expect.
In class it was suggested that a monitor script be
used for the SERVICE_CMD and the application startup
be done in the customer defined run commands. When I configure in this fashion, I can see that restarts were attempted in the log, but it looks like the customer defined run commands were not executed on restart.
I have search docs.hp.com/ha and have yet to find a answer to this problem/feature.
Thanks for listening.
If I configure the package with SERVICE_CMD = a command that starts the application, the SERVICE_RESTARTS work like I would expect.
In class it was suggested that a monitor script be
used for the SERVICE_CMD and the application startup
be done in the customer defined run commands. When I configure in this fashion, I can see that restarts were attempted in the log, but it looks like the customer defined run commands were not executed on restart.
I have search docs.hp.com/ha and have yet to find a answer to this problem/feature.
Thanks for listening.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2000 10:21 PM
тАО12-04-2000 10:21 PM
Re: Restarts
Hi,
There might be an error the script that starts up the processes. Maybe you tested it using a different PATH, a slightly modified environment, ...
I'd try to put a 'set -x' and a 'set -v' in the script and check the output. It should be in the MC/SG log scripts for that package. Check that output for errors, especially the part starting the processes.
Don' forget to remove the set -x and set -v after you solved the problem to avoid filling up the logfiles too quickly.
Bye,
Rik
There might be an error the script that starts up the processes. Maybe you tested it using a different PATH, a slightly modified environment, ...
I'd try to put a 'set -x' and a 'set -v' in the script and check the output. It should be in the MC/SG log scripts for that package. Check that output for errors, especially the part starting the processes.
Don' forget to remove the set -x and set -v after you solved the problem to avoid filling up the logfiles too quickly.
Bye,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2000 11:54 AM
тАО12-12-2000 11:54 AM
Re: Restarts
The manner in which HP recommends complex application startups in a package is to launch the application from the customer_defined_run_cmds section of the script, and then launch yet another script (re-entry the startup script with a "monitor" option) to do the monitoring. This technique is employed in the HP toolkit for Oracle databases for instance.
The trouble comes, as you noted in the restarts area, where when a service fails, the restart is not performed by the standard package control script because the SERVICE_CMD would only launch yet another iteration of the monitor script, and not the start-up processes.
Perhaps it is necessary to have the monitor script handle the restart issue, and not configure it in standard package control script SERVICE_RESTARTS variable.
The trouble comes, as you noted in the restarts area, where when a service fails, the restart is not performed by the standard package control script because the SERVICE_CMD would only launch yet another iteration of the monitor script, and not the start-up processes.
Perhaps it is necessary to have the monitor script handle the restart issue, and not configure it in standard package control script SERVICE_RESTARTS variable.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP