About this task
You will shut down z/OS® UNIX using the F BPXOINIT,SHUTDOWN=...
system command.
Before you begin: You need to notify users
that the system is being shut down and ask them to log off. If you
do not shut down and quiesce the UNIX workload,
these critical system functions might be ended abnormally during the
shutdown, which might cause several failures on the system. As a result,
the system might not be shut down successfully.
- Use the operator SEND command to send a note to all TSO/E users
telling them that the system will be shut down at a certain time.
For example:
send 'The system is being shut down in five minutes. Log off.',NOW
- Use the wall command to send a similar note
about the impending shutdown to all shell users who are logged on.
For example:
wall The system is being shut down in five minutes. Please log off.
Perform the following steps to shut down z/OS UNIX using F
BPXOINIT,SHUTDOWN.
- Prevent new TSO/E logons and shut down other z/OS subsystems (such as CICS® and IMS™),
following your typical procedures.
_______________________________________________________________
- Shut down all JES initiators.
_______________________________________________________________
- Move or unmount all of the NFS file systems by issuing
the following command:
F OMVS,STOPPFS=NFS
_______________________________________________________________
- Use normal shutdown procedures to end all file system address
spaces such as TCP/IP and DFSS. Do this after the final warning has
been sent to users that the system is ending.
_______________________________________________________________
- End running daemons such as inetd. Then
end any remaining processes.
To obtain a list
of daemons that are running, issue:
D OMVS,U=OMVSKERN
OMVSKERN is
the user ID that is used for the kernel and daemons.
To display
all processes (most daemons have recognizable names), issue:
D OMVS,A=ALL
Then
use the
F BPXOINIT,TERM=xxxxxxxx operator command
or the
kill command to terminate those processes.
_______________________________________________________________
- Move or unmount all file systems (including the root file
system). Issue:
F BPXOINIT,SHUTDOWN=FILEOWNER
orF BPXOINIT,SHUTDOWN=FILESYS
_______________________________________________________________
- Take down JES. At this point, there might still be a number
of initiators that are provided by WLM for use on fork and spawn.
These initiators time out after 30 minutes on their own, but you can
end them by issuing:
F BPXOINIT,SHUTDOWN=FORKINIT
_______________________________________________________________