Hitachi

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


22.1.2 Procedure for replicating a virtual machine after installing JP1/AJS3 - Manager (on the original VM)

This subsection describes the procedure for replicating a virtual machine (after installing JP1/AJS3 - Manager) 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 - Manager 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. Start the JP1/AJS3 service, and make sure that no error messages were output to the integrated trace log.

    Cautionary note:

    After the JP1/AJS3 service starts, do not perform any operations such as executing a job.

  5. Stop the JP1/AJS3 service.

  6. If the embedded database is active, stop it by executing the command ajsembdbstop.

    To check whether the embedded database is active, execute the command ajsembdbstatus.

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

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

  8. In a text editor, open the system configuration file for the embedded database, and then delete the specification of the replication-source host name.

    You do not need to perform this procedure if a new installation of JP1/AJS3 - Manager version 12-10 or later was performed.

    The location of the system configuration file for the embedded database is given below.

    In Windows:

    embedded-database-practical-directory\conf\pdsys

    In UNIX:

    embedded-database-practical-directory/conf/pdsys

    An example of editing the file is given below.

    Before the change:

    pdstart -t SDS -s ajs2 -u unt1 -m 127.0.0.1,source_host_name

    After the change:

    pdstart -t SDS -s ajs2 -u unt1 -m 127.0.0.1

  9. 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.

  10. 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.

  11. Replicate the virtual machine.

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