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. For example:
send 'The system is being shut down in five minutes. Please log off.'
- Use the wall command to send a similar note
to all shell users that are logged on. For example:
wall The system is being shut down in five minutes. Please log off.
Perform the following steps to accomplish a partial shutdown.
- Shut down z/OS UNIX.
F BPXOINIT,SHUTDOWN=FORKS
Result: You have ended
all forked and non-local spawned address spaces on the system. If
the operator receives a success message, the shutdown can be continued.
failure
message means that some forked processes or non-local spawned address
spaces could not be ended. To find these processes, issue:
D OMVS,A=ALL
To
terminate them, issue:
F BPXOINIT,FORCE,FORCE=xxxxxxxx
If that does not work, use the
CANCEL or FORCE operator commands.
_______________________________________________________________
- Stop the file system colonies that were started under JES (those
without SUB=MSTR specified when they were defined). Use normal shutdown
procedures to close all file system address spaces such as Network
File System Client (NFSC).
For
NFSC use the F OMVS,STOPPFS=NFS command to bring down NFSC.
For
all other colonies, use the procedures documented in their publications.
_______________________________________________________________
When you are done, you have partially shut down z/OS UNIX. New fork
and spawn activity cannot be done; however, it is still possible for
batch jobs and TSO users to use z/OS UNIX services.
Now you can do whatever corrective or maintenance actions that were
needed for JES2, such as restarting it.
Tip: To restart
z/OS UNIX:
- Issue the MODIFY (F) command.
F BPXOINIT,RESTART=FORKS
- Restart the file system address spaces.
For
NFSC, respond to the operator message BPXF032D issued when you previously
stopped NFSC using F OMVS,STOPPFS=NFS command. Then reissue all the
mounts if required.
For DFSCM, respond to the operator message
BPXF032D.
For all other colonies, use the procedures that were
documented in their product publications.