9.2.2 Setting the service stop sequence
JP1/Power Monitor must be installed on the same host to control the sequence for stopping services. A stop command must be specified in the start sequence definition file (JP1SVPRM.DAT) file for each service that you want to control. The services that have a stop command specified in the file are shut down in reverse order from the service start sequence. When a combination of commands is used to shut down a service, you must write the commands in a batch file and specify the file name in JP1SVPRM.DAT.
You can control the services that have been defined in the startup sequence definition file (JP1SVPRM.DAT) in the following way:
-
To end each service after the previous service's shutdown processing has finished
The following diagram shows the sequence in which services are stopped at system shutdown.
At planned termination under JP1/Power Monitor, service shutdown processing is carried out as defined in the JP1SVPRM.DAT file. In this case, only services that were started by the startup control function (JP1/Base Control Service) are stopped. Services that could not be started by the startup control function are not stopped. To control the stop sequence at forced termination under JP1/Power Monitor, you must specify the forced termination option in the [ControlValue] section of the JP1SVPRM.DAT file.
From the following two messages, the system administrator can verify that service shutdown completed successfully:
-
KAVA4023-I#
-
KAVA4035-I
#: Make sure that this message is output for each of the services defined in the start sequence definition file (JP1SVPRM.DAT).
You can specify the start command, stop command, start processing timeout, and stop processing timeout for each service. You cannot specify service startup parameters for start commands or for stop commands.