Change vROps “Datastore is running out of disk space” precent centric alert

Datastores is an importent objects in every VMware environtment. Especially free space of Datastore. So I think we need collect information about free space and we want to get alert message when the free space is low or it is getting low on DS.

Fortunetly VMware vROps has a built-in alert message about this topic. Name of this alert is “Datastore is running out of disk space” wich alert send to Us e-mail when “Datastore space usage reaching “ALERT LEVEL” limit” (85/90/95%) and “Datastore space time remaining is low” symptom definitions meet the values.

VMware_vROps_Symptoms_Alert_002
Default Alert settings of Datastore is running out of disk space

As you remember in vROps Alerts is working different way as other monitoring tools (as I know, like Nagios).

vROps collect metrics from environment, in this case from Datastore through vCenter Server. We can create Symptome Definitions (Alert / Alert Settings / Symptom Definitions/Add (green cross)) from Metrics or Properties.

VMware vROps Symptoms

Alerts consists of symptoms. If symptoms reaching the level wich was seted up and match all conditions (Any / All logical separation) we have got Alert from vROps.

More informations about vROps Alerts:
https://docs.vmware.com/en/vRealize-Operations-Manager/6.6/com.vmware.vcom.core.doc/GUID-06380281-4B99-4E4B-9D4E-574E5D0A9194.html

 

Jump back to subject of this blog article. My problem was with default DS alert that we should have leave huge free spaces on big datastores becouse of this symptoms is watching free space in precent. Eg. I got alert from 8TB datastore despite of I had 700GB free space on this DS.

I created new symptom definitions:

Base Object Type: vCenter Adapter / Datastore
Metrics: Capacity / Available Space (GB)
Threshold: Static

Name Level Condition Value
Datastore Available Space reaching Warning limit Warning is less than or equel to 150
Datastore Available Space reaching Immediate limit Immediate is less than or equel to 100
Datastore Available Space reaching Critical limit Critical is less than or equel to 50

VMware vROps Symptoms

After I added this tree symptoms to “Datastore is running out of disk space” alert as new Self-Datastore objects by “Any” condition.

VMware_vROps_Symptoms_Alert_003

This alert mean: The DataStore free space is lower than 85% or 90% or 95% and 150GB or 100GB ot 50GB and Disk space time remaining <= 60 days we are going to get an Alert message from vROps.

If you have any qestion pls. leave a comment!

vRealize Operation Manager upgrade from 6.5 to 6.6 – License issue

I think you heard about new vRealize Operation Manager release. If not check this Release Notes

It was subject of many blogs:

I admit, the new UI is brilliant, my colleagues are sharing this opinion. So U can read about new features and integration with VMware Log Insigt and Business Management.

The upgrade process same as from 6.4 to 6.5. I found a good blog which is present it step by step: https://blogs.vmware.com/management/2017/05/upgrading-to-the-new-vrealize-operations-6-5-step-by-step-david-davis.html

After upgrade process was done we realize in vRealize 🙂 something strange. When we selected a VM we seen a watermarked message in the background, as you can see in the picture below. “License is invalid”

vRealize_operation_manager_6.6_license_001
License is invalid watermark

The solution is simple, you can go Administration / Management / Licensing page and select License Groups tab in vROPS.

Check the Licensable Usage column and if you see 0 value in Product Licensing row it will be the problem.

vRealize_operation_manager_6.6_license_002
Check Licensable Usage

In this case select Product Licensing row and click pencil icon on top. Under vRealize Operation Manager select your license key or keys depends on your environment and click next.

vRealize_operation_manager_6.6_license_003
Select your license key or keys

Define a membership criteria as you wish or use legacy settings. They didn’t change in our environment. If you could advice about filering I would give you, pls. contact me. Click next.

Check Preview then click Finish button.

!! Don’t forget push the refresh button on License Keys page however you can’t see the changes on License Groups page 🙂

vRealize_operation_manager_6.6_license_004
Push the Refresh button!!!

When you did everything right on License Groups page you will see a bigger value then 0 in Licensable usege column.

I hope this short article will help for you, when you experience similar problem after your upgrade.

Enable SSH VMware vRealize Operation Manager (vROps 6.x)

We have investigated our problem with VMware Support and they want run a query in Postgres database. Usually I use Putty for SSH connection, but before I could do this I should on the ssh on vROps:

  1. Open vROps Console and press “Alt+F1” to switch console
  2. Type “root” user
  3. In default vRealize root user hasan’t password
  4. Press enter for Old password and the promt will change New password
  5. Type new password and type again
  6. When we are able to login by root type: “chkconfig sshd on”
  7. Start service: “service sshd start”

Go back to Putty and connect to vRealize Operation Manager by ssh.

Cisco UCS memory inventory by PowerShell

We upgraded our Cisco UCS environment, every host got extra memory from 128 to 256GB. Before we did it we had mesured CPU usage by VMware vRealize Operation Manager. It was a great help to this process. We ware able to proof the CPU performance will be ok with this memory size. We would have liked to incrase our VMware environment density.

We had to coolect every memory module serial numbers, and information about that witch chassis consist of witch memory modul.

We used to Cisco PowerShell for this task. Yes, exist PowerShell tool for Cisco UCS 🙂

You can download Cisco UCS Power Too pack (click link) and install your computer.
(You must restart your computer after install process)

Collect memory serial numbers, and UCS chassis information:

Get-UcsMemoryUnit | Export-Csv c:\tmp\UCS_Memory.csv -Encoding utf8

Get UCS chassis serials:

Get-UcsBlade | Export-Csv c:\tmp\UCS_Serials.csv -Encoding utf8

Whit this two Excel you are able to determine witch memory modul are witch chassis.