SHUTDOWN



SHUTDOWN/=SHUTDOWN

     Initiates a shutdown and optional restart of MPE/iX.

SYNTAX

     SHUTDOWN SYSTEM [;RESTART]

     =SHUTDOWN [system  ]
               [terminal]
               [dtc     ]
               [tape    ]
               [disk    ]
               [network ]
               [other   ]


PARAMETERS

     SYSTEM     Specifies that the entire system should be shut down.

RESTART Specifies that the system should be restarted after the
shut down is complete.

The seven parameters for the =SHUTDOWN control-A command are for
logging purposes so that the reason for the =shutdown is recorded.


OPERATION

     The MPE/iX operating system is shutdown in an orderly manner.
     There are two commands to offer the most flexibilty:  =SHUTDOWN
     requires the user to be at the system console.  The control key
     and the "A" key are pressed simultaneously.  =SHUTDOWN allows the
     operator to log the reason for the shutdown. :SHUTDOWN performs the
same function, but may be entered from the CI in a job, session, or
script. The :SHUTDOWN command supports the RESTART option but does
not accept a parameter for the reason the system is being shut
down. OP capability is required for this command.

=SHUTDOWN and :SHUTDOWN perform 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.

The following options are available only for the =SHUTDOWN command:
o system
o dtc
o terminal
o tape
o disc
o other

You can use these options to indicate the reason that you are
shutting down the system. These options were developed to identify
any possible type of system hang that might occur. For example, if
you shutdown to clear a DTC hang, you can use the =SHUTDOWN dtc
option.

=SHUTDOWN may be issued only at the physical console. The
:SHUTDOWN command may be issued from a session, job, program, or in
BREAK. Pressing [Break] has no effect on this command. It may be
issued only from the console unless it is distributed to users with
OP capability via the ALLOW command.


EXAMPLE(S)

     To shut the system down, first issue a warning to all users
     to allow them time to log off, and then execute SHUTDOWN as
     shown below:

     WARN @;SYSTEM WILL SHUTDOWN IN FIVE MINUTES. PLS LOG OFF.

     [CTRL][A]         ** Press [A] and [CTRL] simultaneously. **
     =SHUTDOWN
     1049/#S40/25/LOGOFF
     . . .
     1049/20/ALL JOBS LOGGED-OFF


     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.


To shut down the system from a script and wait for the a custom
shut down job to complete:

stream shutdwnj.operator.sys
pause job=!hplastjob warn @.@; System going down now!! shutdown system To log the reason for a system shutdown from the console: =SHUTDOWN dtc 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)

ADDITIONAL INFORMATION

Interaction with AUTOBOOT feature and AUTORESTART product:
=========================================================

1. :SHUTDOWN SYSTEM;RESTART with AUTOBOOT feature
-------------------------------------------------
The MPE/iX provides a FORMAT utility that 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.

Building a AUTOBOOT file
-------------------------
* Create a file called AUTOIN which contains the
"START -R [NO]RECOVERY" command .
* Run FORMAT.MPEXL.SYS. A file called AUTOOUT will be
created in the same group.

* Copy AUTOOUT,AUTOBOOT.MPEXL.SYS

* Set the autoboot file with the SYSGEN utility.
:SYSGEN >sy >aa file=autoboot.mpexl.sys;type=disc >hold >exit >keep >tape verbose * Perform a configuration UPDATE to your system with the CSLT tape created under SYSGEN * After UPDATE is done, use the ISL AUTOBOOT command to enable the autoboot feature. At the ISL prompt enter: ISL> AUTOBOOT ON * Use the START command with the -R option, to start the system. At the ISL prompt enter: ISL> START -R start_options If the -R option is not used with the START command the autoboot feature wil not be enabled. Once the above steps are complete & the autoboot feature is enabled, the commnd :SHUTDOWN SYSTEM;RESTART will completely shutdown the
system and the startup needs no operator.

2.:SHUTDOWN SYSTEM;RESTART with DUMP-TO-DISK and AUTOBOOT feature of
AUTORESTART
------------------------------------------------------------------------

The AUTOIN file contains the command DUMP along with
START -R [NO]RECOVERY.

The procedure for updating the system is same as 1.

When :SHUTDOWN SYSTEM;RESTART command is issued it completes the
DUMP command before it restarts the system.

Commands: =LOGOFF Manuals : System Startup, Configuration, and Shutdown Reference Manual (32650-90042)