top of page

A Comprehensive Guide for upgrading vRA 7.x through vRSLCM 2.x

Here's the guide on how you can upgrade your vRA 7.x environment using vRSLCM 2.x


For this example, I am performing an upgrade from version 7.5 HF16 to 7.6 GA




I have a simple environment

wpacvra.prem.com being my vRealize Automation appliance

wpaciaas.prem.com being my Infrastructure as a Service node


IaaS database is installed on the same node where IaaS services are installed

Before we start to upgrade we have to take a snapshot on all the components. This is a MANDATORY step

Enter Snapshot Prefix and ensure do not check snapshot with memory box. We should not take snapshots on vRA components with memory


Once the snapshots are completed, let's create a request to upgrade


Click on the three dots on the right side of the environment and then click on upgrade

You will be redirected to this below pane.

Ensure we click on the checkbox for IaaS Snapshot. So that if IaaS upgrade fails so whatsoever reason, you can revert to Post-VA upgrade state and then retry upgrade again


In this example, as shown below I would be using vRealize Suite Lifecycle Manager Repository which contains upgrade binaries


Once done, when we click NEXT, we are now into Precheck phase

Here we need to click on RUN-PRECHECK so that the request for validation is submitted successfully



The first phase of precheck would be your data validation

The second phase of precheck would be vRealize Automation validations

During this phase, if there are any exceptions it would let you know as shown in the screenshot below

The exception thrown above indicates that there is a reboot pending on my IAAS node.

So let's reboot IAAS node and then rerun precheck

As you can see below after we performed a reboot on our IAAS node the PreCheck phase did complete successfully



I have attached PRECHECK report from my environment here for reference

WSPAC-PreCheck-Report
.pdf
Download PDF • 32KB

Since PRECHECK has now been successfully completed, click on NEXT to move on to review SUMMARY of the request.



On the top right corner of this page, you have an option to run precheck on submit. This is optional. If you would like to run it again that's absolutely fine. It would just take a few more minutes extra.


Once we click on SUBMIT, request of upgrading vRealize Automation is created


If we have selected to run pre-check on submit, then there would be 4 steps, else 3 steps for a successful upgrade in a simple environment


Step 2/4 performs vRA appliance upgrade

This has various phases

upgradevrava



upgradevrava-com.vmware.vrealize.lcm.plugin.core.vra70.task.StartGenericVraTask

FROM STATE

com.vmware.vrealize.lcm.plugin.core.vra70.task.StartGenericVraTask

TO STATE

com.vmware.vrealize.lcm.core.vra70.task.upgrade.VraUpgradeTask



upgradevrava-com.vmware.vrealize.lcm.core.vra70.task.upgrade.VraUpgradeTask

This is the phase where your appliance is being upgraded.

There are three phases in a vRA appliance upgrade

  1. Pre Update

  2. Upgrade

  3. Post Update

Here's the list of logs you need to monitor during the pre-update phase

/opt/vmware/var/log/vami/updatecli.log

/var/log/bootstrap/preupdate.log

The below screenshot shows that the preupdate phase has been successful.

Now at this phase, we only have to monitor /opt/vmware/var/log/vami/updatecli.log

This is where the upgrade phase logs are being logged.

Following message is seen once the install phase is complete and post-install or postupdate starts


20/05/2020 10:32:26 [INFO] Update status: Done package installation
20/05/2020 10:32:26 [INFO] Update status: Running post-install scripts

Here's a small snippet from postupdate.log

Remember this upgrade VA task will be at 67% for a while till the upgrade is complete on the virtual appliance ( might change for a distributed environment )

Below screenshot indicate that the post update is now complete