Hitachi

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


7.9.3 Changing the date and time of the system

This subsection explains the procedure for changing the system's date and time of the system during JP1/AJS3 - Manager and JP1/AJS3 - Agent operation.

After the JP1/AJS3 service starts, if you change the system date and time to a large degree, for example, the change will affect the execution schedules of jobnets. If you need to significantly change the system date and time, do so when the JP1/AJS3 service is not running. Note that, if you move the system time backward, a repeated period arises in the system time flow. In this case, wait until the repeated period passes, and then start the service. If you need to start the service without waiting for the current time to match the old system time, reorganize the database environment and then cold-start the JP1/AJS3 service.

If you use the Network Time Protocol (NTP) or similar to adjust the server time in small increments, you will not need to stop and then cold-start the services as described below. When you use NTP or similar, we recommend that you make millisecond adjustments, adjusting the time continuously so that the clock does not show the same time twice.

If you change the system time on the host where JP1/AJS3 - Agent Minimal Edition is running, the change can affect the number of jobs executed per day. For cautionary notes on changing the system, see G.4(2) Change of the system time in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

Organization of this subsection

(1) Advancing the system time

To advance the system time to the current time:

  1. End the JP1/AJS3 services.

  2. Advance the system time.

  3. Start the JP1/AJS3 services.

(2) Moving the system time backward and waiting until the repeated period passes

To return the system time to the current time:

  1. End the JP1/AJS3 services.

  2. Return the time of the system.

  3. When the time of the system reaches the actual time, start the JP1/AJS3 services.

    For example, assume that 02:00 is returned to 01:00 in step 2. After the system time becomes 02:00, start the JP1/AJS3 services.

(3) Moving the system time backward and starting JP1/AJS3 immediately

The following procedure describes how to move the system time back to the current time and then start JP1/AJS3 immediately. In this case, the next start time of JP1/AJS3 is earlier than the time at which JP1/AJS3 was stopped. Therefore, you must reorganize the database environment of JP1/AJS3 - Manager.

  1. End the JP1/AJS3 services.

  2. Return the time of the system.

  3. Re-create the database environment.

    For details, see 23.4.1(6) Setting up an embedded database again in the JP1/Automatic Job Management System 3 Configuration Guide.

  4. Start the JP1/AJS3 services in cold-start mode.

Cautionary note

If you move the system time backward on a JP1/AJS3 - Agent host, you cannot search for JP1 events that were received before the monitoring of event reception was started.