- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- startup and shutdown sequence
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
04-23-2003 12:11 AM
04-23-2003 12:11 AM
We have an Ingres DBMS running on HP-UX 11.
The default run level is 3.
I added a start/stop script for starting or stopping the DBMS after/before the system startup/shutdown. The script is located in the /sbin/init.d directory.
In the /sbin/rc3.d I have a link to the script for starting up, in the /sbin/rc2.d there is a link for shutting it down.
Everything works.
My question is : if I let the DBMS startup in run level 3 (/sbin/rc3.d), why must I let it stop in run level 2.
I tried it with stopping it in run level 3 but that didn't work.
Regards,
Franky Leeuwerck
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 12:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 12:17 AM
04-23-2003 12:17 AM
Re: startup and shutdown sequence
When you go up to a runlevel, say from 2 to 3, all S* will be run in alphabetic order. When you go down a runlevel (say from 5 to 3, or from 3 to 2) all K* scripts are run.
So you want to have a service run in level 3, you should kill it in level 2.
Greetzz
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 12:30 AM
04-23-2003 12:30 AM
Re: startup and shutdown sequence
Apparently the answer is very simple. It is the way HP-UX handles the run level transitions.
Best regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 12:46 AM
04-23-2003 12:46 AM
Re: startup and shutdown sequence
You seem to be one of the very few ingres admins around the forum. (Never met one before, all oracle). It is nice to be not alone anymore.
Maybe you like to see my start/stopscript, since CA does not deliver them.
Goodluck
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 01:36 AM
04-23-2003 01:36 AM
Re: startup and shutdown sequence
Please allow me to shared this document with you.
This document explains the system startup and configuration models. Normally, Software developers construct rc files in a different manner, specifying run-level execution order and enabling control through configuration variables. System administrators control subsystem behavior, on a per-host basis, by modifying variables that control subsystem startup and shutdown.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 01:38 AM
04-23-2003 01:38 AM
Re: startup and shutdown sequence
Please allow me to share this document with you.
This document explains the system startup and configuration models. Normally, Software developers construct rc files in a different manner, specifying run-level execution order and enabling control through configuration variables. System administrators control subsystem behavior, on a per-host basis, by modifying variables that control subsystem startup and shutdown.
The run-level paradigm and naming conventions are properly illustrated here. Has helped me a lot.
regards
Yogeeraj