Rollback steps in AWS environment
The rollback operation returns the image or any action return to the previous state. Hence, you may require rollback steps in case the upgrade operation fails.
Steps for rollback image in AWS environment
- Login into the AWS portal.
- Navigate to the virtual appliance of that version on which the error had occurred. Click on the Delete option, so that the NICs are free from the new virtual appliance. As performed in the step 6 of topic See Upgrading Resiliency Platform in AWS environment ., preserve the NICs instead of new ones.
- Launch the new instance using the previous version AMI which was noted in step 4 from the topic See Upgrading Resiliency Platform in AWS environment .. While launching the instance similar to Step 3 in topic See Upgrading Resiliency Platform in AWS environment ., select the preserved NICs instead of creating the new NICs. Also select or create an appropriate IAM role with required permissions as mentioned in See Permissions required for IAM roles for Resiliency Manager, IMS, and Replication Gateway..
- After the instance is launched, connect it using the admin user and previous version appliance password / SSH key credentials.
- Login into Klish menu of the virtual appliance and execute the below command:
updates > rollback-update
The previous version virtual appliance is up and online.
More Information
Step 1: See Step 1: Prepare for upgrade.
Step 2: See Upgrading Resiliency Platform in AWS environment .
Step 3: See Step 3: Start the automatic bootstrap process.
Apply updates See About applying updates to Resiliency Platform.