Shutting Down a z/OS systems in a GDPS Environment
SA z/OS® allows you to shut down z/OS systems either through the INGREQ
ALL command in a GDPS® production environment or from
a GDPS controlling system.
In any case, SA z/OS invokes a shutdown request against the GDPS STOPAPPL. The STOPAPPL resource is define in advanced automation option (AAO) AOF_AAO_SHUTDOWN_STOPAPPL. For more information about the GDPS STOPAPPL and AAO AOF_AAO_SHUTDOWN_STOPAPPL, see Read/Write Variables.
There are three distinct phases in the final shutdown processing that are defined using the
special message ID SYSTEM_SHUTDOWN in MESSAGES/USER DATA policy item for the MVS Component entry type:
- Phase 0
- This phase is entered prior to shutting down the resource that is identified by the GDPS STOPAPPL parameter (the STOPAPPL resource). In this phase, you can perform any action before the actual system shutdown starts.
- Phase 1
- This phase begins when the resource that is identified by the GDPS STOPAPPL parameter (the STOPAPPL resource) has been terminated. In this phase, you can specify additional INGREQ stop commands or any other NetView commands to terminate any subsystems that are still present.
- Phase 2
- This phase begins after the termination of any local automation manager (PAM and SAMs) and OMVS. Only NetView commands or z/OS commands can be specified. For example, the
INGSHRES SMF_RECcommand.Note:- OMVS and all local automation managers are always
shut down by SA z/OS automatically. Do not specify termination
commands for OMVS or automation managers in PHASE1 or
PHASE2. When running in a JES3 environment, consider triggering the command
MVS F BPXOINIT,SHUTDOWN=FORKSvia routine INGRYSHU in the JES3 SHUTINIT phase. INGRYSHU will issue the command only when a system shutdown is detected. Likewise, you can trigger commandMVS F BPXOINIT,SHUTDOWN=FILESYSin the JES3 SHUTFINAL phase. - Be aware that the NetView address space is still present and must stay up in order to signal to GDPS that the system is ready to be taken out of the SYSPLEX.
- Whenever NetView is ended without its CLOSE
command being invoked, it cannot automatically archive recent messages in its active Canzlog. To
accomplish the archiving of these messages, use
CANZLOG CUEcommand during phase 2.
- OMVS and all local automation managers are always
shut down by SA z/OS automatically. Do not specify termination
commands for OMVS or automation managers in PHASE1 or
PHASE2. When running in a JES3 environment, consider triggering the command