Workshop Exercise - Run Rollback Job

Table of Contents

Objectives

Guide

In this exercise, we will demonstrate rolling back the three tier application stack servers, just as we would if the RHEL upgrade had failed or if we had found that the upgrade caused unexpected impacts to the application.

We are now in the rollback phase of our exploration of the RHEL in-place automation workflow:

Automation approach workflow diagram with rollback playbook highlighted

After rolling back, the three tier application stack will be restored to as it was just before entering the upgrade phase of the workflow.

Step 1 - Launch the Rollback Job Template

In this step, we will be rolling back the RHEL in-place upgrade for our entire three tier application server stack.

Note

In this case, only one of our nodes has an issue. Depending on overall thoughts on how to best proceed, an argument could be made for just rolling back the tomcat application node, node2, and leave node1 and node3 as they are. However, in this case, we are going to demonstrate the ability to simulataneously roll back an entire application stack of systems at once.

Step 2 - Observe the Rollback Job Output

After launching the rollback workflow job, the AAP Web UI will navigate automatically to the workflow output visualizer page.

Rollback workflow job visualizer

Step 3 - Check the RHEL Version

Repeat the steps you followed with Exercise 2.3: Step 2, this time to verify that the RHEL version is reverted back.

We can see that the three tier application stack nodes are all reverted to RHEL7 and set to utilize the RHEL7_Dev content view

Conclusion

In this exercise, we used automation to quickly reverse the RHEL in-place upgrade and restore the three tier application stack servers back to their original state.

In the next exercise, we’ll dig deeper to validate that all changes and impacts caused by the upgrade are now undone.


Navigation

Previous Exercise - Next Exercise

Home