Top
Systemwalker Operation Manager Troubleshooting Guide
FUJITSU Software

3.2.1 Shutdown is Performed before Completion of Commands Executed at the Completion of Operation during Shutdown Monitoring

Applicable versions and levels

Action

Points to check

Do the commands specified to be executed during shutdown monitoring complete in a short period of time?

Cause

Shutdown processing does not wait for commands defined in the Execution Command Definition List dialog box. If commands that are not completed in a short period of time are set in the Execution Command Definition List dialog box, the server may shut down with command processing not having been completed.

Action method

If you wish to complete the processing for the commands defined in the Execution Command Definition List dialog box before performing shutdown processing, use queuing completion notifications.

The setting procedure for using queuing completion notifications is as follows:

  1. From the Job Selection window of the Systemwalker Operation Manager window, select SYSTEM_CALENDAR >> Options >> Power Control Schedule.

  2. In the Power Control Schedule dialog box, select the Completion Monitoring tab, and then click Details.

  3. In the Completion Monitoring dialog box, select Notify Queuing Completion, and then click Completion Notification.

  4. In the Queuing Completion Notification Definition dialog box, add the desired completion notification message.

  5. Create a new batch file describing the commands that you wish to be queued and the queuing notification command (f3crheet), and register these in the Command List in the Execution Command Definition List dialog box.

Refer to the following manual for information on shutdown monitoring:

Description

Information

Queuing completion notifications

The queuing completion notification function allows you to use the queuing completion notification command to stop a server after waiting until completion of a service, application or command.

The wait for completion of a service, application or command is defined in the Queuing Completion Notification Definition dialog box. Server stop processing starts when all defined message notifications have been issued using the queuing completion notification command.

The method of shutdown after waiting for completion of commands is shown below:

Example:

Using the queuing completion notification function in Windows to start shutdown processing after completion of the processing of XXXXX.exe:

  1. 1.In the Completion Monitoring dialog box, select Notify Queuing Completion, and then click Completion Notification. In the Queuing Completion Notification Definition dialog box, add the desired message "YYYYY". (Shutdown processing is not performed until the message added here is notified using the queuing completion notification command.)

  2. 2.Create a batch file (Windows) or shell script (UNIX) to run XXXXX.exe and issue the message using the queuing completion notification command.

    Example description used in the batch file (XXX.bat):

    XXXXX.exe
    f3crheet YYYYY
  3. 3.Add the batch file (Windows) or shell script (UNIX) created in 2. to the Execution Command Definition List dialog box.