|
|
Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 11 Shutting Down the SystemPerforming the Shutdown Process |
|
A planned system shutdown typically consists of the steps listed below. Each of them is explained in the following sections.
It's a good idea to include shutdown information in the welcome message so that users can plan accordingly. Remember to include information about the time of the shutdown and whom a user should contact if he or she has any questions. You can create the welcome message either interactively with the WELCOME command or programmatically from a text file. Unless the WELCOME command is distributed to users through the ALLOW command, you can only create a new message at the console. For example, to replace the current message with a new one interactively, do the following:
To create a new welcome message programmatically, edit the welcome message text file (usually named WELCOME.PUB.SYS), then implement it with the following command:
Approximately 15 minutes before the shutdown, use the TELL command to alert users. For example:
This message reaches all active terminals except those in quiet mode. (A few minutes before the shutdown, you will issue a WARN command, which reaches all terminals, including those that are "quiet.") Use the LIMIT and JOBFENCE commands to prevent any new users from logging on or any scheduled jobs from starting.
To verify that the printer is available, to shut down spool queues, and begin removing backlogged reports, complete the following steps:
It is possible that an outstanding request from the system or a processing job may hang your system and keep it from shutting down cleanly. For this reason, you should find out if there are any requests that need a reply. To display all pending requests, enter:
To answer pending requests, enter:
The pin# is the process identification number and reply is one of the following:
Close any of the system's open communication lines. Enter both of the following commands to deactivate the NS3000/XL product:
Consult the manuals of any other communications products for instructions to deactivate them. To shut down the system, enter:
You may also enter any of the keywords listed below in the SHUTDOWN command to document the shutdown. They are intended to indicate why you are shutting down the system.
For example, if you shut down to clear a dtc hang, use the dtc option.
The console responds by listing shutdown messages similar to these: Shutdown of operating system begins. (Shut 1) Shutdown of user processes begins (Shut 2) Shutdown of jobs & sessions begins. (Shut 3) Spoolers notified of a shutdown. (Shut 16) Shutdown of system processes begins. (Shut 4) Shutdown of system managers begins. (Shut 5) Shutdown of operating system complete. (Shut 6) |
|