Tag Archives: vrops

vRSLCM 8.0 – vROPs 7.5 upgrade fails due to Admin password expiry

When the vRealize 8 products dropped, I was like a kid in a sweet shop, upgrading everything as quick as possible before my customers tried to, so I could encounter any issues first, but also the new features, so I could show them off.

The issue

During the upgrade of vROPs, I hit an issue that my Local Admin account in vROPs had expired, but I received no warning when using the vROPs 7.5 instance and logged into the interface using the Admin account.

Before I found the issue;

During the upgrade in vRSLCM, my upgrade task failed with “vROPS upgrade failure”, Error Code: LCMVROPSYSTEM25008, Upgrade.pak_pre_apply_validate_failed.

I downloaded the vRLCM support bundle to see if I could find more information on why the upgrade failed but just found the same information.

See this documentation link for the logs location on the appliance.

The log file you are interested in is;

/vlcmsupport-XXX/var/log/vrlcm/vmware_vrlcm.log

And below you can see the same error information in the log.

I then proceeded to troubleshoot the vROPs environment directly, as we know the upgrade was underway before the failure.

  • You can follow the instructions to create a support bundle here KB 2074601.

For upgrades, we need to look at the following file;

/Log Bundle/Logs/pakManager/vcopsPakManager.root.query.log

And it is here in this log file, I could see the  Query status result;

“Admin_account_check”

With another upgrade validation log to check.

"resource_arguments": [
"admin_account_check",
"/var/log/vmware/vcops/vcops_upgrade_validation_20191020-103109.log"
],

I then used Putty to connect to my vROPs instance, and low and behold, I was prompted to change the password of my Admin account.

 

The Fix

Well it’s simple, change the admin password as above, and then update the password stored in vRSLCM, re-run the upgrade and this time if the stars align, it will be successful.

Or follow this guide if you are locked out;

Regards

Dean

vROPs – What is the “IsGreenForPlacement” Metric + Dashboard

A customer of mine queried the details of a metric available in vROPs “IsGreenForPlacement”

You can find this by selecting a cluster in vROPs, go to All Metrics, and just search placement.

And here is a screenshot of the Metric in a sparkline.

The customer uses this metric to give a signal (Green/Red Button on a vROPs Dashboard) if a vSphere cluster can be used for on-going deployments.

Unfortunately there’s not much documented information publicly. And we ran into an  issue where the metric stayed positive (yes you can deploy), but the Storage datastore had run out of space. So I went off to dig out what this metric actually does.

IsGreenForPlacement – details

After speaking to the internal teams on vROPs I found the answer;

“Regarding IsGreenForPlacement metric, only CPU and Memory participates on calculation of this metric, by default if CPU and MEM workload is less than 80% it is green.”

So storage is not taken into account.

Creating a Dashboard

This one will be really simple.

1. Create a new dashboard, or Edit an existing dashboard.

2. Add the Scoreboard Health widget

3. Edit this widget

4. Configure the following

  • Widget Name
  • Set your content refresh settings
  • Self provider – Set to ON
  • Image type = Whatever you like

  • Metric = Select custom > pick metric and search as in the below screenshot
    • Adapter Type = vCenter Adapter
    • Object Type = Cluster Compute Resource
    • Search for the “Is Green For Placement” metric (or filter like I have)

5. Click the Input Data bar at the bottom of the configuration dialog

  • Click the green +

6. Search for your chosen vSphere Cluster

  • Make sure you select the object type = Cluster Compute Resource

Save the dashboard configuration.

And now you have a nice widget that will turn Red when your cluster CPU or RAM hits 80%+

You can download the dashboard I created for this Blog Post at the VMware {code} website.

Regards

Dean

Using vROPs to track adoption – Such as VMware Tools upgrades

I had an interesting question from a customer recently;

Can we track the adoption/upgrades of VMware tools to the latest version in a vROPs dashboard

At first, I thought sure this is easy. But then looking at the various different default options, nothing would give me a graph which shows the increasing uptake or upgrades of VMware Tools to the last version.

I consulted internally, and between myself and my customer we came up with the following solution. Which was quite simple once we thought it out.

Solution

  1. Create a custom group based on the information you want to capture

In the below example, I’ve done this to target VMs with VMware Tools 10.3.10, you could leave it as “10.3” to target any 10.3.X release.

The property we are interested in, for this example is “Summary > Guest Operating System >  Tools Version”

2. Now we need to create a dashboard, and all we are simply going to do, is count the members of the customer group over time using the population metric.

  • Create your dashboard, and select “Metric Chart” as your visual for the dashboard
  • Click to Edit this visual (you will not see any graph yet)

  • Under Input Data, select “metrics” (should be the default selection)
  • Click the green + to add our objects

  • Filter for your custom group and select
  • Then filter your metric options for “population”
  • Save this selection

  • You should now have the below configuration
  • I’ve also highlighted where you can change the name of the visual as its displayed in the dashboard.
  • Save this configuration

And now you will have a basic dashboard as below.

This essentially shows us the adoption count of VMs using VMware tools 10.3.10.

Very simple, and we could use this for other metrics as well, lets say I want to track VMs moving into a new datastore, I could just pick the custom group filter as “Properties > Summary > Configuration > Datastore” then state contains “datastore name”

As VMs move into this datastore, the count will increase.

Finally I’ll sign off by showing you my customers dashboard that they happily shared a screenshot of.

You can download a copy of the dashboard created for this blog post at the VMware {code} website.

 

Regards

Dean