- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service dependency
Operating System - HP-UX
1748269
Members
3607
Online
108760
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
тАО04-08-2009 08:25 AM
тАО04-08-2009 08:25 AM
Service dependency
How can we mark that certian services are dependendant on another service? Also, is there a way to force a service to follow the dependancy as in Windows? Like, if I stop a service, all its dependant services should stop too.
Thanks,
AMicSys
Thanks,
AMicSys
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 08:37 AM
тАО04-08-2009 08:37 AM
Re: Service dependency
generally speaking, the services are started and stopped by transitioning run levels. The S(tart) and K(ill) scripts run in order as the transition is made.
typically, you would not start or stop services manually. If you need to cleanly shutdown all of the dependencies when stopping (or start them all for that matter) you are going to have to do some scripting to track what you need to stop/start.
typically, you would not start or stop services manually. If you need to cleanly shutdown all of the dependencies when stopping (or start them all for that matter) you are going to have to do some scripting to track what you need to stop/start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2009 11:54 AM
тАО04-08-2009 11:54 AM
Re: Service dependency
As far as I know, HP-UX still uses old style SYSV rc scripts which, back in their time, were actually good... but I admit that they are outdated now.
The only way to create "dependencies" with them is to start all the services in a sequential order, which leads to a much longer startup time than many Linux distributions.
If you really need to be sure that a service actually started before starting another one, the only way to do this that I can imagine right now is writing this case in your startup script. That's not very nice.
Good luck
The only way to create "dependencies" with them is to start all the services in a sequential order, which leads to a much longer startup time than many Linux distributions.
If you really need to be sure that a service actually started before starting another one, the only way to do this that I can imagine right now is writing this case in your startup script. That's not very nice.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 09:18 AM
тАО04-12-2009 09:18 AM
Re: Service dependency
You can do this with the ServiceGuard software but that assumes that the services are part of a serviceguard package.
Unix OSs do not really have the concept of dependent services but that is what scripting is for. YOu can cause the shutdown of a script to stop other things and the startup of a script can start other things via scripting. I am not sure why scripting is not the answer.
Unix OSs do not really have the concept of dependent services but that is what scripting is for. YOu can cause the shutdown of a script to stop other things and the startup of a script can start other things via scripting. I am not sure why scripting is not the answer.
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