VMware

Updating VMware Operations Manager vApp

Recently with all of the bug fixes and security updates coming out from VMware and others due to Ghost vulnerability, etc, I decided among other VMware updates to update the Operations Manager vApp.  Updating VMware Operations Manager vApp is relatively straightforward and can be done from the admin portal page in Operations Manager.  I also ran into a funky login issue with Operations Manager that I would like to mention as others may run into this if you haven’t logged into your admin interface recently in Operations Manager.

The weird thing with the login issue I had was that I could login directly to the console of the VM using the root account which I had been able to use before to get into the admin portal interface.  There are a couple of commands that eventually got me past the login error.  First, you can take a look at your admin account and see if it is potentially locked out due to a number of login attempts:

sudo pam_tally2 --user=root

then to forcibly reset the bad logins count:

sudo pam_tally2 --user=root --reset

After running the above commands I did see that the admin user had a bad count of ‘3’ attempts.  I reset, however, was still unable to login.  I decided to reset the password back to what I had originally configured for the admin user.  The first part of the line below is the directory you need to be in to run the command.

/usr/lib/vmware-vcops/user/conf/install#  ./resetadminpwd.sh 'Password2014'

After running the reset command on the password, I was able to log back in to the admin URL of Operations Manager.

Upgrade Process

With the admin login issue out of the way, we can get going on the actual Upgrade process.  To get started, simply go to the Update tab in the admin console.  As you can see below, I have already downloaded the 5.8.4 update file.

opmgrupd_01

When you point the update to your update file, you will receive the warning about backing up the state of your Operations Manager Virtual appliance.  I created snapshots of both OM VMs before starting this process to have a rollback point.

opmgrupd_02

The first part of the update process is to get the file uploaded.

opmgrupd_03

Accept the EULA to proceed after the file uploads successfully.

opmgrupd_04

Again, we have to confirm that we are ready to proceed with the update.

opmgrupd_05

The Update process rolls forward.

opmgrupd_06

After a couple of minutes, you will get the notification that you are now able to log back in, however, the update process is still running.

opmgrupd_07

As you can see, we actually have denoted that we are running the 5.8.4 Build 2199700 version now, however, the update progress is still running.

opmgrupd_08 opmgrupd_09

 

Eventually we get the Update completed successfully message under our Update tab, and we still have the correct version listed.  Also, as you can see below, if you scroll down to the bottom of the statuses for the update, you can see the pertinent messages that make us feel good about the update.

  • Installing vmware-vcops-5.0.0-MPforLogInsight-1.0-1859927.pak ... done
  • Update operation ................................................ done
  • Starting administration service ................................. done
    Starting core services .......................................... done

opmgrupd_10

 

Final Thoughts

The update of VMware Operations Manager Virtual Appliance is a breeze as you can do everything from the browser.  However, I did run into the weird login issue where my credentials didn’t work.  After Googling this issue enough, it apparently is a known issue with login weirdness into the admin console of Operations Manager in different instances.

 

 

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

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