H.11 Procedure for replicating a virtual machine after setting up JP1/AJS3 - Agent (on the original VM)
This appendix describes the procedure for replicating a virtual machine (after setting up JP1/AJS3 - Agent) that must be performed on the original virtual machine.
-
Install JP1/Base on a virtual machine.
For details about the installation procedure, see the Job Management Partner 1/Base User's Guide.
-
Set up JP1/Base.
For details about the setup procedure, see the Job Management Partner 1/Base User's Guide.
-
Install JP1/AJS3 - Agent on the virtual machine.
For details about the installation procedure, see 2.2.2 Installing a JP1/AJS3 series program ( in Windows), or 12.2 Installing JP1/AJS3 series programs ( in UNIX).
-
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).
-
Start the JP1/AJS3 service, and make sure that no error messages were output to the integrated trace log.
-
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.
-
Stop the JP1/AJS3 service.
-
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 Release Notes of JP1/Base.
-
Cold-start the JP1/AJS3 service.
For details about how to cold-start the JP1/AJS3 service, see 7.2.1 Temporarily changing the start mode of JP1/AJS3 in the Job Management Partner 1/Automatic Job Management System 3 Administration Guide.
-
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 2. Commands of the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
-
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 Job Management Partner 1/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 Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.
-
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.
-
Replicate the virtual machine.
For details about how to replicate a virtual machine, see the documentation for the virtualization software.