Applicable versions and levels
Windows versions: V5.0L10 or later
Solaris versions: 10.0 or later
Linux versions: V11.0L10 or later
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:
From the Job Selection window of the Systemwalker Operation Manager window, select SYSTEM_CALENDAR >> Options >> Power Control Schedule.
In the Power Control Schedule dialog box, select the Completion Monitoring tab, and then click Details.
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 completion notification message.
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:
"Setting Shutdown Monitoring Options" in the User Guide.
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:
Using the queuing completion notification function in Windows to start shutdown processing after completion of the processing of XXXXX.exe:
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.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.Add the batch file (Windows) or shell script (UNIX) created in 2. to the Execution Command Definition List dialog box.