Top
Systemwalker Operation Manager  User's Guide
FUJITSU Software

A.6.1 Shutting Down the System at Optional Times [Windows version]

You can shut down the system automatically at any optional time. Specifically, register the termination processing job net in the Jobscheduler, and start this job net at the date and time you wish to shut down the system.

Registering the termination processing job net

Just like usual job nets, add the termination processing job net using the Job Net window. For this job net, however, ensure that you register a job net that satisfies the following conditions:

Note

Do not register the jobs that may shut down the machine in the termination processing job net. Shutdown will be carried out by the shutdown exit after the termination processing job net is normally completed.

JSHEND/JSHFORCE

The following processing cannot be performed if the termination processing job net is started:

For JSHEND:

If JSHEND is registered as the termination processing job net, JSHEND waits for the job nets in the following status to be completed before starting.

Note

For job nets belonging to a group, the group will be in the cancelled status after the executing job nets in the group are completed. If you do not wish to cancel the executing group, start the JSHEND job net after the group is completed. For example, wait for the group termination by using a message event, and start the JSHEND job net.

For JSHFORCE:

If JSHFORCE is registered as the termination processing job net, JSHFORCE waits for the following processes to be completed before starting.

Shutdown exits

When the execution of the termination processing job net is completed, the Jobscheduler calls up the following shutdown exit programs according to the execution result (completed, pseudo-normal or abended) of the termination processing job net.

For normal termination or pseudo-normal:

"jobschendexit.bat" or "jobschendexit.exe"

These are the programs which terminate the Jobscheduler and the Job Execution Control services and calls the "end-of-wait notification" command.

For details on the "end-of-wait notification" command, see the Systemwalker Operation Manager Reference Guide.

For abended:

"jobschnoendexit.bat" or "jobschnoendexit.exe"

These are the programs that do not perform any processing.

The f3crheet end-of-wait notification command is set in the exit program that is provided as standard. To shut down the system at the desired time of the day, change the f3crheet end-of-wait notification command to the shutdown command provided by the OS.

Note

Changing the exit programs

The standard-offered exit program (batch file) will not carry out shutdown of system if the termination processing job net is abnormally terminated. As the JSHEND/JSHFORCE was operated, a new job net is not started until the Jobscheduler service is restarted.

To carry out some processing according to the execution results of the termination processing job net, change the above-mentioned exit program (batch file). Also, design system operations during error if a new job net is not started until the Jobscheduler service is restarted as the JSHEND/JSHFORCE was operated.

When operating subsystems, be sure to change the exit program according to the operation configuration.

For details on the shutdown exits, see the Systemwalker Operation Manager Reference Guide.

Figure A.1 Process Flow from the Termination Processing Job Net to the Shutdown Exit

Note

If the cluster system is used

If a service controlled by the cluster system is shut down without using the Service Shutdown function of the cluster system, the service shutdown may be retried by the cluster system. If the cluster system is used, specify the shutdown of Jobscheduler and Job Execution Control services at the shutdown exit by using the service shutdown function.

For more information about service startup and shutdown in the cluster system, see "Systemwalker Operation Manager Cluster Application Guide."