Monday, June 10, 2013

vC Ops - How to Edit Your Balanced Metrics Profile

NOTE - adding metrics to the balanced profile can impact the sizing and performance of your vC Ops vApp.  Be very conservative with the metrics you add and only add them as required.  As always, I highly recommend you consult VMware support directly before making any changes to your vC Ops vApp.

Beginning with version 5.7, you can choose to have the vApp collect a subset of the vCenter metrics with vC Ops.  This is about a 50% reduction in the amount of metrics collected and has a few benefits.

 - the vApp will support approximately 12,000 VMs with this profile
 - Analytics calculation will use less CPU and memory
 - overall reduction in resources required for the vApp

You must enable this, as it is not turned on by default, through the Admin UI.  Screen shot below shows how.  **UPDATE** as of version 5.8 the "Balanced Profile" is the default setting.

For those using this, I did uncover a tiny little issue while talking to a customer today.  At least one of the heat maps in the vSphere UI relies on a metric that is not collected with the balanced profile applied.  The result is a heat map that looks something like this:

So, in this case, the metric we need to add is "Network:Aggregate of all Instances | Dropped Packets" to get the heat map coloration working.

It is possible to add metrics to the balanced profile, but it requires access to the Custom UI.  So, you need to be running Advanced or Enterprise for this capability.

Log into the Custom UI, go to Environment > Configuration > Attribute Packages.

  From there, pull down the VMware adapter kind and then the resource kind for which you need to add the metric.  In our case, this is Host System. You will see two Attribute Packages - Default Attributes and All Attributes.

  Default Attributes = Balanced Profile
  All Attributes = Full Profile

Just a note, that when you select Balanced Profile in the Admin UI, vC Ops is changing the default attribute package to Default Attributes for all VMware resources - otherwise, you'd have to do this manually and that would suck! :)

Now, edit the Default Attributes (just select it and click the pencil icon).   Again, we need to add a specific metric to get our heat map in working order, so browsing to the network group I will select Dropped Packets.  As you can see in the screen cap below it is not on by default with the balanced profile (aka Default Attributes).

Click the OK button to save.  That's it!

No comments:

Post a Comment