In the previous exercises, we reviewed pre-upgrade reports and performed some recommended remediations. If you tried the optional exercise, you also learned about custom pre-upgrade checks. Subsequently, you launched an Ansible Automation Platform job template to automate the RHEL in-place upgrades on your RHEL three tier application servers.
It’s time to verify the result of the upgrade automation and assess if our three tier application stack is functioning properly. Our current state in regards to the RHEL in-place upgrade automation workflow is as follows:
Let’s get started!
The first thing we want to do is see if the job running the upgrade playbooks has finished successfully.
Return to the AAP Web UI tab in your web browser. Navigate to Views > Jobs and then open the “job number - OS / Upgrade” playbook run entry to see the log output from the upgrades.
Note
You will also see an entry for the “LEAPP / 02 Upgrade” workflow job. Workflow jobs launch a number of playbook runs. To see the playbook log output, we need to open the specific playbook run entry, not the workflow job entry.
For example:
If the playbook run finished without any failed tasks, you should see “Successful” displayed with a green checkmark.
Note
If you see “Running” with spinning arrows, the playbook is still running. Wait for the playbook run to finish before moving on with this exercise.
Scroll down to the end of the log output to see the “PLAY RECAP” indicating the success or failure status for the playbook run executed on each host. Here is what you should expect to see:
If there are no failed runs, the RHEL in-place upgrade has completed on all of our three tier app servers.
Now, let’s verify that all three tier app servers are upgraded to the next RHEL version.
In Exercise 1.4: Step 2, the RHEL Web Console was utilized to verify the installed RHEL versions on all three tier app servers. Let’s repeat the same steps to verify the RHEL versions reported after the upgrades.
Return to your RHEL Web Console browser tab and use the remote host menu to navigate to the web consoles of each of your three tier app servers. The RHEL Web Console system overview page should now show the upgraded versions.
Note
You may need to refresh the browser using Ctrl-R to see the newly reported RHEL version.
For example, three tier app server node1
that was previously RHEL7 is now reporting RHEL8:
You can also check the RHEL and kernel versions from the command line following the steps you used with Exercise 1.1: Step 2.
At the shell prompt of your three tier app servers, use the cat /etc/redhat-release
and uname -r
commands. Here’s an example showing that three tier app server node1 was upgraded to RHEL8:
In this exercise, we observed that the upgrade playbook job completed successfully. We then used the RHEL Web Console and the command line to verify that the new major RHEL version upgrade was applied.
If you deployed the sample three tier application in the earlier optional exercise 1.2, continue in the following exercise to verify that the three tier application is still functioning as expected after the RHEL upgrades:
Otherwise, you may skip ahead to the next section of the workshop where we will demonstrate rolling back the RHEL upgrade, starting with these exercises:
Navigation