- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- manual failover, init 3 to init 4
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-17-2001 04:51 PM
04-17-2001 04:51 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2001 04:59 PM
04-17-2001 04:59 PM
SolutionAny processes started in init 3 will continue to run at higher levels (unless you put a kill script at the higher level which is not the way we usually do kill scripts).
When you go from init 3 to init 2 or init S then the Kill scripts in the lower levels will run. Check your script for MQ and see when it gets shutdown.
# ll -d /sbin/rc*.d/*MQ*
(or whatever the name of the script is and include the * before and after the name to get the scripts.
The startup script will have a "S" and the shutdown script will start with "K"
(e.g. /sbin/rc3.d/S900MQueue to bring up and /sbin/rc2.d/K100MQueu to come down and both would be linked from the same script in /sbin/init.d/MQueue)
HTH
Peggy Fong (back from a long vacation!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2001 05:24 PM
04-17-2001 05:24 PM
Re: manual failover, init 3 to init 4
When moving from a lower to a higher run ('init') level, start scripts in the /sbin/rc
Hence, processes started at run level-3 persist as run level-4 is entered, but are killed as run level-4 is reduced to run level-3.
An excellent overview of the startup/shutdown process is contained in the white paper:
"HP-UX 10.X Startup and Configuration" :
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 03:14 AM
04-18-2001 03:14 AM
Re: manual failover, init 3 to init 4
MQ series wouldn't be affected if u move from lower level to higher level or if u upgrade the OS level to higher level. since i am in the IBM's MQ series project, i will asure u this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2001 03:32 AM
04-18-2001 03:32 AM
Re: manual failover, init 3 to init 4
I think the magical answer has already been given, but anyway ....
When switching to a LOWER run level all /sbin/rc?.d/K-scripts for the relevant run level will be executed. No processes are stopped by default, this is strictly done bye the K-scripts.
good luck,
Thierry.