Communicator e3000 MPE/iX Release 7.5 (Software Release C75.00): HP e3000 MPE/iX Computer Systems
> Chapter 5 Technical ArticlesSHUTDOWN - New CI Command |
||||||||||||||||
|
Enhancements SummaryPresently MPE/iX supports the =SHUTDOWN with console interrupt [CTRL] [A]. The =SHUTDOWN command performs an implicit =LOGOFF of all sessions, including the session logged at the system console. The CPU halts, and console interrupt [CTRL] [A] is ineffective. The objective of this enhancement is to provide the shutdown mechanism with a reboot option in the command level similar to HP-UX operating system. This enhancement provides a :SHUTDOWN command on the CI prompt, with a RESTART option which shuts down the system completely and reboots automatically. Enhancement:SHUTDOWN SYSTEM [;RESTART] Syntax :SHUTDOWN SYSTEM will shutdown the system completely. :SHUTDOWN SYSTEM;RESTART will shutdown the system completely and reboot the system automatically. Control will result to the ISL> prompt. This command can be issued from a session, job, program, or in BREAK. Pressing [Break] has no effect on this command. It can be issued only from the console unless it is distributed to users with the ALLOW command. Parameters
Operation and Use of New CommandThe MPE/iX operating system is shutdown in an orderly manner. :SHUTDOWN performs the same function as =SHUTDOWN, but may be entered from the CI in a job, session, or script. The :SHUTDOWN command supports the RESTART option.OP capability is required for this command. The :SHUTDOWN performs an implicit =LOGOFF of all sessions, including the session issuing the command. All system processes are stopped in an orderly fashion. This includes the completion of all pending system activity and any processing necessary to ensure that the integrity of all system tables and directories is maintained. Once these procedures are complete, SHUT is displayed on the console, the CPU halts, and console interrupt [CTRL] [A] is ineffective. Device configuration changes that were made after the preceding load (UP, DOWN, ACCEPT, REFUSE and spooling commands) are not retained. Configuration changes made during coldload are permanently recorded and retained until the next tape coldload. Newly assigned or released global Resource Identification Numbers (RINs) are permanently recorded. All communication lines must be closed before issuing a SHUTDOWN command. Otherwise, a manual halt of the system may be necessary. Note that data will be lost if a transmission is in progress when the halt is performed. Also, if NS lines were left open before issuing the SHUTDOWN, lines to the remote system remain open and any remote sessions will be effectively "hung". In this case, the remote system's operator may need to issue ABORTIO commands for the hung sessions and then abort the sessions themselves. Spooled devices will stop operation immediately upon receiving a SHUTDOWN command. A START RECOVER will keep spool files so that they may be printed when the system is returned online. Presently =SHUTDOWN can be issued only at the physical console. The :SHUTDOWN command can be issued from a session, job, program, or in BREAK. Pressing [Break] has no effect on this command. It can be issued only from the console unless it is distributed to users with OP capability via the ALLOW command. ExampleTo shut down the MPE/iX operating system enter: :SHUTDOWN SYSTEM This will shutdown the system completely. To shut down the MPE/iX operating system and initiate a subsequent reboot operation enter: :SHUTDOWN SYSTEM ;RESTART This will shutdown the system completely and reboot the system automatically. Operator control will resume at the ISL> prompt.Using AUTOBOOT Feature with :SHUTDOWN;RESTART OptionAutobooting allows you to boot the system from the primary boot path without the need to make any keyboard entries. This existing feature can be combined with :SHUTDOWN SYSTEM;RESTART command to restart the system without the interaction in ISL> prompt. More information on setting-up and using AUTOBOOT feature is available in System Startup, Configuration, and Shutdown Reference Manual. The RESTART command interacts with the AUTOBOOT feature of MPE/iX in order to minimize operator intervention. When the AUTOBOOT feature is not enabled on the system the control is returned to the ISL> prompt. When the AUTOBOOT feature is enabled as described in this section, the system is restarted automatically. As part of setting-up AUTOBOOT feature an autoboot file needs to be created. To facilitate the easy creation of the file, an utility FORMAT.MPEXL.SYS is made available as part of this enhancement. FORMAT utility enables user to create a specially formatted file that contains the special sequence of startup commands. The system automatically executes these commands in sequence during system startup if this feature is activated. Steps to Build and Setup an AUTOBOOT file
Note for AUTORESTART Product UsersThere is no change in behavior for Autorestart product features due to the introduction of :SHUTDOWN CI command. However, when the :SHUTDOWN SYSTEM;RESTART command is issued and if the AUTOBOOT file has the DUMP command, the system will take a DUMP of the system and execute the rest of the commands in AUTOBOOT file. To disable taking full DUMP during normal shutdown and restart, you can use the Mini dump feature of the AUTORESTART product. It provides FULLDUMP, NULLDUMP and MINIDUMP options. Refer to the AUTORESTART User's Guide for details.Sample Output1.:SHUTDOWN SYSTEM 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. (Shut16) Shutdown of system processes begins. (Shut 4) Shutdown of system managers begins. (Shut 5) Shutdown of operating system complete. (Shut 6) 2.:SHUTDOWN SYSTEM;RESTART 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. (Shut16) Shutdown of system processes begins. (Shut 4) Shutdown of system managers begins. (Shut 5) Shutdown of operating system complete. (Shut 6) --------------------------------------------------------------- PDC - Processor Dependent Code - Version 1.2 (c) Copyright 1990-1993, Hewlett-Packard Company, All rights reserved --------------------------------------------------------------- 64 MB of memory configured and tested. Primary boot path: 56/52.4 (dec) Alternate boot path: 56/52.0 (dec) ------- Main Menu ---------------------------------------------- Command Description BOot [PRI|ALT|<path>] Boot from specified path PAth [PRI|ALT] [<path>] Display or modify a path SEArch [DIsplay|IPL] [<path>] Search for boot devices COnfiguration menu Displays or sets boot values INformation menu Displays hardware information SERvice menu Displays service commands DIsplay Redisplay the current menu HElp [<menu>|<command>] Display help for menu or command RESET Restart the system ------- Main Menu: Enter command or menu >bo pri Interact with IPL (Y or N)?> y Booting... 3.:SHUTDOWN SYSTEM;RESTART With the AUTOBOOT feature enabled: 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. (Shut16) Shutdown of system processes begins. (Shut 4) Shutdown of system managers begins. (Shut 5) Shutdown of operating system complete. (Shut 6) --------------------------------------------------------------- PDC - Processor Dependent Code - Version 1.2 (c) Copyright 1990-1993, Hewlett-Packard Company, All rights reserved --------------------------------------------------------------- 64 MB of memory configured and tested. Primary boot path: 56/52.4 (dec) Alternate boot path: 56/52.0 (dec) Processor is starting autoboot process. To discontinue, press any key within 10 seconds. 10 seconds expired. Proceeding... Trying Primary Boot Path .. .. Booting... .. .. 4.:SHUTDOWN SYSTEM;RESTART With the DUMP-TO-DISK and AUTOBOOT feature enabled: 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. (Shut16) Shutdown of system processes begins. (Shut 4) Shutdown of system managers begins. (Shut 5) Shutdown of operating system complete. (Shut 6) ------------------------------------------------------------ PDC - Processor Dependent Code - Version 1.2 (c) Copyright 1990-1993, Hewlett-Packard Company, All rights reserved ------------------------------------------------------------ 64 MB of memory configured and tested. Primary boot path: 56/52.4 (dec) Alternate boot path: 56/52.0 (dec) Processor is starting autoboot process. To discontinue, press any key within 10 seconds. 10 seconds expired. Proceeding... Trying Primary Boot Path ------------------------ Booting.. .. .. ISL booting DUMP MPE/iX launch facility Dump of memory save area complete. Main memory dump complete. Dump completed - autoboot in progress. Checking for Autorestart/iX product to be active. Autoresrt/iX product active, Hard booting the system. ---------------------------------------------------------------------- PDC - Processor Dependent Code - Version 1.2 (c) Copyright 1990-1993, Hewlett-Packard Company, All rights reserved ---------------------------------------------------------------------- 64 MB of memory configured and tested. Primary boot path: 56/52.4 (dec) Alternate boot path: 56/52.0 (dec) Processor is starting autoboot process. To discontinue, press any key within 10 seconds. 10 seconds expired. Proceeding... Trying Primary Boot Path Booting... .. .. .. ISL booting START -R NORECOVERY MPE/iX launch facility -------------------- end of sample output --------------------
|