VMware vSphere

 View Only
  • 1.  vSphere Power metric in vROPs

    Posted Jan 31, 2023 07:16 AM

    In vROPs I’m looking at power usage of our ESXi hosts. When opening the metrics of a host, I see Power | Total Energy (Wh). For a host this gives me values like 32.7458 Wh.

    However, in vCenter via monitor -> performance ->advanced, when opening the “Power” “Usage” chart, I get values around 390 Watt. In vCenter from Monitor hardware health, I get the metric “System Board 1 POWER_USAGE” with values of around 360 Watts. And back to vROPs looking at the info from the hardware blade underneath the ESXi host in vROPs, I have a metric Power | Consumed Power (Watts) that shows values around 370 Watt.

    The values of 360 Watt and more are fine with me, but I can’t figure out what the vROPs metric “Power | Total Energy (Wh)” is and why this is so low. Do I need to convert this value in someway to get near the 360Watt and more?

    The docs only say: Total energy used. Formula: Total Energy (Wh) = Sum(Power|Energy (Joule))/3600https://docs.vmware.com/en/vRealize-Operations/8.6/com.vmware.vcom.metrics.doc/GUID-06199D37-FD3E-4A15-A24F-6328DC0D1F98.html



  • 2.  RE: vSphere Power metric in vROPs

    Posted Jan 31, 2023 12:00 PM

    Are you sure that all parameters are the same in vROPS and in vCenter? 

     



  • 3.  RE: vSphere Power metric in vROPs

    Posted Jan 31, 2023 01:34 PM

     not sure what you mean by that? Yes it is the same ESXi host in vCenter, in UCS and in vROPs. But since the exact moment in time can differ a few minutes of when the metric is populated, the 360+ values can differ a little. It is just the ESXi metric in vROPs is very low.

    See below screenshot, left is vCenter performance monitor (low 320, high 440Watt ). 
    Right is both vROPs with bottom the power usage of the blade on which the host runs (low 304, high 429Watts) and top is Power Total Energy in Wh of the ESXi host (low 26, high 33 Wh). This was a realtime graph.

    Gabrie1_0-1675171600693.png

     

     



  • 4.  RE: vSphere Power metric in vROPs

    Posted Jan 31, 2023 02:01 PM

    Hmm, as for me vROPs usage is very straightforward.

    Check that article maybe will help

    https://vninjadfw.github.io/dcpowerusage/  

    https://www.vmwareopsguide.com/dashboards/chapter-9-other-dashboards/3.9.1-green-operations/ 



  • 5.  RE: vSphere Power metric in vROPs

    Posted Jan 31, 2023 03:28 PM

     is that your blog? Because the first link has reference to a view and dashboard for download, but those download links are dead.



  • 6.  RE: vSphere Power metric in vROPs

    Posted Jan 31, 2023 06:51 PM

    Hi,


    I have to agree with , the metrics of the vRealize Operation Manager "Wh" / "JOULE" related to a HOST running ESXi report values ​​that are not correlated with the "electrical consumption" obtainable via vCenter / IPMI. And I must also add that the absurd insistence with which he suggests me to set the vCPUs of various of my virtual machines to "zero" is starting to get annoying.


    Regards,
    Ferdinando



  • 7.  RE: vSphere Power metric in vROPs

    Posted Feb 02, 2023 01:48 PM

    I got this response from VMware Support, but not satisfied with it, since he seems to think I want to know VM power usage instead of host power usage. Therefore responded with some more questions and waiting for an answer. But this was the first reply:

     

    This is a known bug and the engineering team is working on getting it resolved soon (early Q2 2023 - upcoming 7.0.3 ESXi release). The issue is not in vROps. The issue is located in ESXi on how power consumption is reported in joules.

    There is a workaround in place until the issue is resolved completely.
    If the aim of super-metric is, to sum up, the value of the "Power|Total Energy (Wh)" metric on all VMs for the parent Host System object (also will work for Cluster, Datacenter, vCenter), here is the formula that could be used for that purpose:

    Super metric formula:

    sum(${adaptertype=VMWARE, objecttype=VirtualMachine, metric=power|energy_summation_sum, depth=6})


  • 8.  RE: vSphere Power metric in vROPs

    Posted Feb 02, 2023 04:48 PM

    Hi,


    Interesting, except that I'm running the most recent version of ESXi 8 and the power consumption of a virtual machine was (before), and remains (now), somehow (of course IMHO) "unrealistic".


    Regards,
    Ferdinando