Upgrading vRealize Operations
vRealize Operations (formerly known as vCenter Operations Manager) is an indispensable tool for monitoring a VMware environment. The upgrade process between recent versions is riddled with pitfalls, however. Here, I will cover the process and make notes of all the gotchas so that you can have as smooth of an experience as possible.
The upgrade process goes from 5.x -> 5.8.1+ -> 6.0.x -> 6.1.
Upgrading from 5.x to 5.8.5
Prerequisites and Common Pitfalls:
You should change your admin password before attempting the upgrade. New security policies that come with this upgrade will expire older passwords for admin. It must be a complex password that you have not used before. http://kb.vmware.com/kb/2013358
You should ensure that you have a good amount of free disk space on the UI and Analytics VMs. You can check this with “df -h” on the command line.
Appliances that were originally deployed as 5.6 and earlier had a smaller root partition that may get filled by the update. If you run into any issues caused by this, you can follow http://kb.vmware.com/kb/2074688
If the /data partition is >85% full on either VM, you should add a disk and reboot. Boot-time scripts will handle data volume expansion onto new disks for you.
Steps to Upgrade:
Take a snapshot of both VMs.
Follow the instructions in the release notes for the upgrade at https://www.vmware.com/support/vcops/doc/vcops-585-vapp-release-notes.html
After ensuring that you can get in to the UI, delete the snapshots.
Migrating data from 5.8.1+ to 6.0.x
Prerequisites and Common Pitfalls:
You must have version 5.8.1 or higher. The data migration will be more reliable with version 5.8.5, but is known to work with all versions from 5.8.1+. The best instructions for upgrading are in the release notes.
You must have forward and reverse DNS entries in place for your source 5.8.1+ VMs, as well as for every node in your new 6.0.x cluster.
Please size your nodes accordingly per the handy Excel spreadsheet attached to the bottom of http://kb.vmware.com/kb/2130551
When naming and addressing your version 6 nodes, please note:
All nodes of a vROps 6 cluster (with the exception of remote collectors) must be on the same physical LAN (>1MS latency will cause problems) and must not be separated by a firewall.
You should change your admin password on 5.8.1+ before attempting the upgrade. An expired password is common, sometimes difficult to identify, and will cause vague errors. It must be a complex password that you have not used before. http://kb.vmware.com/kb/2013358
If you suspect that performance may be an issue, stopping DT calculation and new data collection on the 5.8.1+ appliance will improve the speed of the data migration greatly. http://kb.vmware.com/kb/2040008
Although it is not supposed to be an issue anymore, there are some cases where DNS resolution does not work properly and this KB may still be necessary: http://kb.vmware.com/kb/2100944
Node and host names can not have underscores
Node names and IP addresses cannot be changed after installation
The roles of a node are subject to change, so naming a node according to a role may get confusing in the future.
Steps to upgrade:
Install the latest version of 6.0.x per the documentation at http://pubs.vmware.com/vrealizeoperationsmanager-6/index.jsp
After you bring your cluster online, you will be presented with a wizard. Don’t select the option for importing data or entering a license key yet. Even though you are going to import data and probably have a license key, it is more reliable to do these things after the setup wizard in my experience.
Go to Administration>Solutions and select the tab called “Import Data”
Follow the prompts for importing data.
Upgrading from 6.0 to 6.1
Prerequisites and Common Pitfalls:
There may be a malformed upgrade file from previous versions. You should remove this before upgrading. http://kb.vmware.com/kb/2120616
Previous updates, patches and add-on Management Packs may cause issues if their files still linger in your update queue. To avoid issues with this, you should log in to each node via console or SSH and move the files in “$STORAGE/db/casa/pak/dist_pak_files/” somewhere else.
Large database blobs from a previous data migration may choke the update process. http://kb.vmware.com/kb/2132479
If you have remote collectors that are separated by high-latency links, the update may time out when the master node pushes the update out to them. You can pre-stage the update pak files to work around this: http://kb.vmware.com/kb/2127895
The cluster state files may have some malformed data in them. I have a script that can fix this and many more issues athttps://github.com/nakedhitman/vrops-cluster-repair
Steps to upgrade:
Take a snapshot of all your nodes.
Install the OS Update pak file
Install the Application Update pak file.
Log in to the product UI as admin and ensure that your dashboards, adapter instances, and other data are present and working as expected.
Once you’re sure that everything is running OK, delete the snapshots.
Ensure that you check both the boxes so that the “Reset out of the box content” option is selected. If you do not do this, some parts of the system may not be upgraded. This will not affect custom dashboards or other content, only the ones that ship with the system that you oughtn’t to have changed anyway ;) If you have customizations to the built-in content, you can clone them to preserve your changes.
If it makes you go through the first run setup wizard again: don’t panic, its probably fine. Just choose evaluation mode and complete the wizard. Everything should be there when it’s complete. http://kb.vmware.com/kb/2132452
If you end up with vCenter adapter instances that cannot be configured, missing dashboards or licenses, or end up loosing historical data, you should revert your snapshot and tell VMware about it immediately. If you don’t have a support contract, then make some noise on the communities site. VMware pays attention to this stuff and wants to prevent it from happening.
Conclusion
Although the upgrade process is a bit of an ordeal that can consume a good chunk of time, the features, stability, and performance of a successful upgrade really are worth it. VMware is working hard to make it better, and does listen to the things that are said on the communities site should you have any issues.














