Updating VMware vRealize Operations Manager Appliance

 

vrops6-title

Updating appliance VMs can be a bit of daunting process since they are all usually different. vROPS (VMware vRealize Operations) is no different in that regard, but it’s a quite straightforward operation when you get understand the process.

Step 1 – Downloading Update Packages

VMware provides a cornucopia of installation and update packages for vROPS, depending on if you’re running it on Windows, Linux or the purpose-made Linux-based appliance.

As we’re dealing with updating the appliance VM, we can narrow it down to 3 suspects.

vrops_upgrades

As you can see, there are 2 different Virtual Appliance upgrades, and a Virtual Appliance Operating System upgrade. No matter what setup you’re running, you’ll need the OS upgrade, so go ahead and grab that. The next thing is which upgrade you’ll need. As VMware states, the update is for either with or without Windows based RC. RC in this context stands for remote collector. A remote collector is a server running a subset of vROPS functionality, basically just collecting data from some system and sending it upstream to the master vROPS node. A common use for this is if you have several datacenters, then you might plonk one of these remote collectors in all your remote datacenters so you don’t need to drill holes in your firewalls all over the place just to get metrics  flowing into vROPS. As the update states, if you have Windows based RCs, you need the update that supports it, while if you only have appliance based or Linux RCs, you can use the smaller patch. Download the correct patch for you environment and let’s move on!

Step 2 – Snapshot all the things!

Next part of the process is to correctly snapshot the environment before we start patching it. According to VMware the correct process is to:

  1. Stop the vROPS environment
  2. Take a snapshot without memory or quiescing the file system
  3. Proceed with the update

So, first we need to stop vROPS. Head on over to http://<IP or name of vROPS>/admin/ and press the stop button!

offline_v2

Then head over to vCenter and take a snapshot of the appliance

snapshot

Step 3 – Upgrade the OS

The next step is to upgrade the OS of the appliance. VMware doesn’t make this blatantly obvious, but it kind of makes sense to update the OS before the application when you think about it.

Select Software Update in the menu and  select Install a Software Update…

vrops_upgrade_step1

Select and upload the OS patch (named vRealize_Operations_Manager-VA-OS-VersionNumber.pak). You should leave both options (Install even if already installed and Reset) unchecked. The upload is quite fast if you’re close network-wise to the appliance (do I need to tell you that you’re better of remoting in to a local machine and doing everything from there than trying to first download and then upload 3-4 GB of patches over the Internet?). What can take a while is something called Staging that happens after the upload, which can take 15-20 minutes in my experience per patch.

staging

After half an eternity of doubting yourself and the gods over at VMware, you’ll be greeted with this wonderful page!

vrops_upgrade_step2

It’s then a process of NextNextNext™

The WebUI will throw some interesting errors in your browser when the appliance reboots, and the whole process takes a while (15-30 minutes on my system). When everything is done, the appliance should have rebooted, and the WebUI should report that the update was successful.

Step 4 – Update the Software

Next step is identical to Step 3, the only difference is the PAK-file you’ll be uploading

If you’re updating from 6.3 to 6.4 like me, read the release notes carefully! There is a bug in the update that causes it to fail, and the workaround is to stop the vROPS cluster. After the OS update process, the cluster has been helpfully restarted, so stop it again like we did when we took the snapshot.

You could also take a snapshot at this point if you want to do the belt and bracers approach, but I think it’s better to restore to a working state and redo the whole update process again.

Select and upload the appliance patch (helpfully named named vRealize_Operations_Manager-VA-VersionNumber.pak.). The upload and staging process are the same as in Step 3, and Staging takes forever this time as well.

update

Then it’s NextNextNext™ all over again.

At this point your VA should have rebooted and vROPS should be up and running again!

 

 



Categories: Tech, vmware

Tags: , , , , , , , ,

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.