Recently, the company I work for has done really well in bringing onboard new customers – nearly all of which we have provided with a private cloud solution running on the VMware platform. Continue reading
A few days ago I had the pleasure of fixing a severely hosed vCenter Operations Manager box. After resolving all of the issues, the last thing to do was to install the latest update.
The intention was not only to bring the version from 5.8.2 up to 5.8.4, but also to update the underlying SUSE install to SP3. However to do this you need root access, and somewhere along the way I’d fat-fingered the password one too many times and locked the root account out.
Whilst I was confident it would unlock after a period of time, no matter how long I left it (admittedly not twenty four hours) it still refused to unlock.
With being an RHEL fanboi I’m not familiar with SUSE, but luckily I still had console access by way of the Admin account.
The unlock was actually trivially simple. Logged in as Admin, use:
sudo pam_tally2 --user=root --reset
And that was it – I was back in. After that I copied the .pak upgrade file over using SSH and initiated the OS upgrade:
This did the following:
- Stop vCenter Operations Manager services
- Copy the .pak file to the Analytics VM
- Update the Analytics VM
- Update the UI VM
After a while both UI and Analytics VMs came back and the upgrade was complete.