Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Administration Guide


8.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 operation.

Use the procedure described here to set the date and time forward and backward for testing. 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.

After the JP1/AJS3 service starts, if you change the system date and time to a large degree for a test, for example, the change will affect the execution schedules of jobnets. Do not change the system date and time after the JP1/AJS3 service has started. In addition, after JP1/AJS3 operation has started, do not return the system date and time to the actual, current time. If you need to return the date and time to the actual, current time, do so while the JP1/AJS3 service is not running. Change the system time, then wait until the current time is the same time that the system was before changing the time. Finally, start the service. For example, if the current time is 08:00 and the system time is 09:00, turn off the system, change the system time to 08:00, then wait until 09:00 before starting 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.

Cautionary note when JP1/AJS3 Console is used

When you are using JP1/AJS3 Console, do not change the system date and time to a large degree for testing or for any other purpose. If you want to change the system date and time, JP1/AJS3 Console must not be running on the host for which you want to change the system date and time. Before you change the system date and time, do the following:

  1. Stop the JP1/AJS3 Console Manager service.

  2. Stop the JP1/AJS3 Console Agent service.

  3. Stop JP1/AJS3 Console View.

Organization of this subsection

(1) Changing the system date and time and performing a check test

To advance the system's date and time, perform a check test, and return to the current date and time:

  1. End the JP1/AJS3 services.

  2. If JP1/AJS3 Console is being used, stop the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

  3. Advance the system's date and time.

  4. Start the JP1/AJS3 services.

  5. When JP1/AJS3 Console is used, start the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

  6. Perform a check test.

    Before you return the date and time of a system to the current date and time, you can repeat steps 1 to 6. However, you should not specify a date and time that makes the system time later than the current date and time.

  7. End the JP1/AJS3 services.

  8. When JP1/AJS3 Console is used, stop the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

  9. Return the date and time of a system to the current date and time.

  10. Re-create the database environment.

    For details see, C.2(7) Setting up an embedded database again in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.

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

  12. When JP1/AJS3 Console is used, start the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

(2) Advancing the time to make the system slower than the actual time

To advance the system time to the current time:

  1. End the JP1/AJS3 services.

  2. If JP1/AJS3 Console is being used, stop the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

  3. Advance the system time.

  4. Start the JP1/AJS3 services.

  5. When JP1/AJS3 Console is used, start the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

(3) Returning to the current time after advancing the system time

To return the system time to the current time:

  1. End the JP1/AJS3 services.

  2. When JP1/AJS3 Console is used, stop the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service

  3. Return the time of the system.

  4. 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 3. After the system time becomes 02:00, start the JP1/AJS3 services.

  5. When JP1/AJS3 Console is used, start the following services:

    • JP1/AJS3 Console Manager service

    • JP1/AJS3 Console Agent service