Hitachi

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


22.4.2 Procedure for replicating a virtual machine after setting up JP1/AJS3 - Agent (on the original VM)

This subsection describes the procedure for replicating a virtual machine (after setting up JP1/AJS3 - Agent) that must be performed on the original virtual machine.

  1. Install JP1/Base on a virtual machine.

    For details about the installation procedure, see the JP1/Base User's Guide.

  2. Set up JP1/Base.

    For details about the setup procedure, see the JP1/Base User's Guide.

  3. Install JP1/AJS3 - Agent on the virtual machine.

    For details about the installation procedure, see 2.2.3 Installing a JP1/AJS3 series program (in Windows), or 12.2 Installing JP1/AJS3 series programs (in UNIX).

  4. Set up JP1/AJS3 - Agent.

    Specify only the settings that are necessary for the replicated virtual machine.

    For the setup procedure, see 3.2 Required setup for JP1/AJS3 - Agent (in Windows), or 13.2 Required setup for JP1/AJS3 - Agent (in UNIX).

  5. Start the JP1/AJS3 service, and make sure that no error messages were output to the integrated trace log.

  6. Make sure there are no problems with job execution and other actions that are essential for operation.

    Cautionary note:

    After executing a job on the agent host, do not stop the JP1/AJS3 service while the jobnet is being executed. Wait until execution of the job ends or forcibly terminate the job, and then stop the JP1/AJS3 service.

  7. Stop the JP1/AJS3 service.

  8. Perform the tasks that are required in JP1/Base before the virtual machine is replicated as a disk copy installation.

    For the tasks that must be performed in JP1/Base during disk copy installation, see the JP1/Base User's Guide.

  9. Cold-start the JP1/AJS3 service.

    For details about how to cold-start the JP1/AJS3 service, see 6.2.1 Temporarily changing the start mode of JP1/AJS3 in the JP1/Automatic Job Management System 3 Administration Guide.

  10. Delete the manager host name stored in the agent process.

    Execute the command jpoagoec -r to delete the manager host name. After command execution finishes, make sure the return value is 0 (normal termination). In addition, execute the command jpoagoec -p, and make sure the deleted manager host name is not output.

    For details about the command jpoagoec, see the description jpoagoec in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

  11. Disable automatic startup of the JP1/Base and JP1/AJS3 services.

    Disable automatic startup of the JP1/Base and JP1/AJS3 services on the replicated virtual machine.

    For details about how to disable automatic startup of the JP1/Base service, see the JP1/Base User's Guide.

    For details about how to disable automatic startup of the JP1/AJS3 service, see 4.2.4 Settings for starting and stopping JP1/AJS3 services automatically in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

  12. Make sure that the JP1/Base and JP1/AJS3 services, as well as related services, are not running, and then shut down the virtual machine.

  13. Replicate the virtual machine.

    For details about how to replicate a virtual machine, see the documentation for the virtualization software.