Regaining root and administrator access to VCOPS

On a conference call recently, it was mentioned that VCOPS had been installed at some point in the past as a pilot project, however no-one had any details of the credentials used when setting it up. So I looked into how you reset the root and Administrator passwords to regain access.

There are a couple of stages to this, firstly the root passwords, then the Adminstrator one can be reset.

  1. Root passwords
    Find the VCOPS vApp in vCenter “Hosts and Clusters” view
    Expand the [+] to see both VMs
    Right-click on the Analytics VM and open the VM Console
    Press Enter to make sure the console is displayed
    From the VM Console menu, select VM > Power > Restart Guest (or Ctrl-R)
    Monitor the reboot process.
    At the Grub menu, interrupt the boot process by pressing one of the arrow keys, or space.
    vcops1
    With the highlighted line on “SUSE Linux Enterprise Server…” as above, press “e” to edit the entry
    Move down to the “kernel…” line with the arrow keys and press “e” to edit again
    vcops2
    Append “init=/bin/bash”  as shown
    vcops3
    Press Enter and “b” to boot
    The VM will boot to a bash prompt
    vcops4
    Type “mount / -o remount,rw” to mount the root disk as writable
    Type “passwd root” and submit a new password for the root user
    Type “sync” and hit Enter to flush the data to disk
    Type “reboot” and the VM will boot back up as normal.

    Repeat for the UI VM

  2. Administrator password
    This is as per KB article 2078313

    In the vSphere Client Inventory view, select the vRealize Operations vApp and navigate to the appliance console.
    Log in to UI virtual machine as the root user.
    In the localhost directory, type cd /usr/lib/vmware-vcops/user/conf/install and press Enter.
    In the install directory, run the./resetadminpwd.sh new_password command and press Enter.  For example:
    ./resetadminpwd.sh ‘Admin123!’

    Note:  vRealize Operations Manager (formerly known as vCenter Operations Manager) passwords must contain at least one upper case, one lower case, one digit, and one special character. When setting your new password, ensure that you escape the special characters.

    Type logout and press Enter to return to the main menu.
    These steps will also reset the same password on Analytic virtual machines automatically

Advertisements

VCP-NV (VCPN610) Passed!

After a couple of months of working through the blueprint and producing my Study Guide I travelled up to Global Knowledge in Leeds to attempt the exam.

I was originally due to take it in mid December, but after an untimely laptop crash, 3 days before my exam, which really was the final straw on top of everything else going on at that time, I had to reschedule and today was the earliest slot I could get.

Anyway, the exam was pretty much as expected, with a few slightly obscure questions that I don’t really recall being in the blueprint. I completed it in a little over an hour, and got 403 marks (passing score 300, maximum 500), which doesn’t seem too bad. There just isn’t the time pressure on the VCP exams that there is on the VCAP-DCA.

A big thank you to all the bloggers that have shared their knowledge, their findings, and their advice, and I hope that my study guide has given something back to the community.