2.11.2 Duplicate AWS/EC2 instance after operation starts
-
Prevent all JP1/IM-Agent services from starting automatically.
For details on disabling automatic startup, see "1.21.1(2) Enabling and disabling automatic startup" and "2.19.1(2) Enabling and disabling automatic startup" in JP1/Integrated Management 3 - Manager Configuration Guide manual.
-
Create an AMI for AWS/EC2 instance.
-
Boot a new host from AMI.
-
Set the new host name to the new host.
-
Reconfigure the secret for the initial connection to the new host.
Sets initial secret (secret for first-time connectivity) for accessing the Integration Manager.
Check initial secret in integrated operation viewer of the Integration Manager host. For details on displaying initial secret, see "2.2.3 [initial secret View] window" in JP1/Integrated Management 3 - Manager GUI Reference manual.
Reconfigure initial secret with the Secret Manager command.
jimasecret -add -key immgr.initial_secret -s "initial secret"
-
Deletes the individual secret registered in the replicated host.
Use the secret management command to delete an individual secret.
jimasecret -rm -key immgr.client_secret
-
Perform the steps to change the hostname of JP1/IM-Agent.
For details about how to change the host name, see " 2.2.1(3) Tasks when agent hostname is changed".
-
Restore the automatic startup setting of the process that was changed so as not to start automatically in step 1.
For details on enabling automatic startup, see "1.21.1(2) Enabling and disabling automatic startup" and "2.19.1(2) Enabling and disabling automatic startup" in JP1/Integrated Management 3 - Manager Configuration Guide manual.