Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Administration Guide


8.2.1 Continuing the execution of event jobs if the JP1/AJS3 service stops

If the JP1/AJS3 service on the agent host or on the manager host stops, the status of jobs in Now running status changes to Ended abnormally, and the jobnet is interrupted. For event jobs, however, you can use the option to continue execution of active event jobs to continue their operation. This option inherits the Now running status of an event job when the service stops so that the execution of the event job can continue after the service is restarted.

If a failover occurs because power fails or a process is forcibly terminated, the Now running status of event jobs that exists when the service stops is always inherited even if this option is not used.

For details about how to specify the setting for using the option to continue execution of active event jobs, see 6.3.6 Resuming event jobs that stopped when the JP1/AJS3 service stopped in the JP1/Automatic Job Management System 3 Configuration Guide (in Windows) or 15.3.6 Resuming event jobs that stopped when the JP1/AJS3 service stopped in the JP1/Automatic Job Management System 3 Configuration Guide (in UNIX).

This subsection describes operation when the option to continue execution of active event jobs is used and when it is not used.

Organization of this subsection

(1) For a manager and agent system configuration

The following example shows operation when the option to continue execution of active event jobs is used, and when it is not used. This example assumes that the JP1/AJS3 service on the agent host is not running from 12:00 to 12:30 due to maintenance of the agent host in a manager and agent system configuration. This example also assumes that the jobnet is scheduled to start at 8:00 and end at 17:00.

Figure 8‒1: Operation when the option to continue execution of active event jobs is used, and when it is not used

[Figure]

If the JP1/AJS3 service on the agent host stops when the option to continue execution of active event jobs is not enabled, the manager host is notified that the agent has stopped. In this case, the status of the event job that was in Now running status when the service stopped changes to Ended abnormally status, and then the jobnet terminates.

However, if the JP1/AJS3 service on the agent host stops when the option to continue execution of active event jobs is enabled, the Now running status of the event job does not change. When the service is restarted, the Now running status is inherited and the execution of the event job resumes. Note that, as shown in the following figure, JP1/AJS3 cannot detect any events that occur from when the JP1/AJS3 service is stopped until all the following are performed: a failover is performed, the service is started, and event monitoring is started.

Figure 8‒2: Time period during which events can be detected

[Figure]

(2) For a standalone configuration

When the option to continue execution of active event jobs is used in a standalone configuration, it works the same way as in a manager and agent system configuration. In particular, when the service stops, the Now running status of the event job does not change and will be inherited when the service is restarted. In this case, however, you need to restart the service in hot-start mode (specify hot in the STARTMODE environment setting parameter). For details about the service start modes, see 20.4 Setting up the scheduler service environment in the JP1/Automatic Job Management System 3 Configuration Guide or 6.2.1 Temporarily changing the start mode of JP1/AJS3.

(3) Cautionary notes

(4) Supplementary notes