VMware vSphere

 View Only
Expand all | Collapse all

trigger alarm to increase number or cpu

GianniRodari

GianniRodariNov 29, 2017 06:20 AM

  • 1.  trigger alarm to increase number or cpu

    Posted Nov 22, 2017 12:53 PM

    Can I set alarm in vSphere when specific vm is using more 3 cores of 4 ones?



  • 2.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 12:56 PM

    the same explanation applies for this as well..

    you cannot quantify VM cpu utilization based on how many of the vCPUs it is using..

    its a percentage value and there are other stats to monitor the performance.

    ***********

    It doesn't mean that the vm is using 2 cores of 4.  its means that there is enough CPU time available for all 4 threads coming from the VM to get executed.

    if the %ready value is high that means the vCPU threads are ready to run and waiting for CPU time on the actual physical core.

    as long as these values are healthy there there is no issues with your vCPU allocation..

    having said that over allocating vCPUs to VMs is also not good as there is additional scheduling overhead for every vCPU you add.

    VMware recommends starting with 1 vCPU and increasing the value as per the needs. If you have concrete sizing done and believe that you will need 4 vCPU than its a design requirement

    ***********



  • 3.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 01:12 PM

    you cannot quantify VM cpu utilization based on how many of the vCPUs it is using

    so how can I verify if VM is using more than 3 cpu and it's necessary to get only 2 vcpu instead of 4?



  • 4.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 02:01 PM

    Can I create resource pool where to insert this vm and to set polices for cpu usage?

    My scope is to verify if vm uses few or much cpu



  • 5.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 02:43 PM

    You'll need to use vROps for this. It has easily-configured alerts that can tell you when this threshold is met.



  • 6.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 07:47 PM

    What percentage represents threshold in standard alarm of VM cpu usage? E.g. 75% for 2 minutes in VM with 4 vCPU?

    75% is percentage of all cpu? or for single cpu?



  • 7.  RE: trigger alarm to increase number or cpu

    Posted Nov 22, 2017 10:50 PM

    the below KB gives default vCenter CPU alarm details.

    VMware Knowledge Base



  • 8.  RE: trigger alarm to increase number or cpu

    Posted Nov 23, 2017 06:30 AM

    Article you suggested shows what you have to make with cpu usage alarm but this one does not explain how it's measured, what percentage value is referencing to?

    Cumulative vCPU or single vCPU?

    If I had 2.6 GHz cores in host and the vm had n.4 vCPU, cpu usage of 75% is referencing to 2.6*4*75/100 GHz?



  • 9.  RE: trigger alarm to increase number or cpu

    Posted Nov 23, 2017 11:17 AM

    If you could go through the below article..

    although it explains the performance counter seen in esxtop (real-time performance monitoring tools from ESXi shell) it explains the % CPU Utilization and other counters in details.

    hope that is not confusing.

    ESXTOP - Yellow Bricks



  • 10.  RE: trigger alarm to increase number or cpu

    Posted Nov 23, 2017 02:28 AM

    vROps doesn't work the same way as vCenter alerts. You can customize them how you like.



  • 11.  RE: trigger alarm to increase number or cpu

    Posted Nov 29, 2017 06:20 AM

    vROps is commercial or freeware product ?



  • 12.  RE: trigger alarm to increase number or cpu

    Posted Nov 29, 2017 06:49 AM

    Its a licensed software.. if you by vSphere with operations management enterprise plus license for your ESXI host.. then you can use vRealize Operations manager standard version with it..

    else you have to procure licenses for the same



  • 13.  RE: trigger alarm to increase number or cpu

    Posted Nov 29, 2017 09:34 AM

    I have enterprise plus license, so where can I download please?

    Thanks



  • 14.  RE: trigger alarm to increase number or cpu

    Posted Nov 29, 2017 09:38 AM

    you have enterprise plus.. you need vsphere with operations manager enterprise plus..

    there is difference. :smileysad:



  • 15.  RE: trigger alarm to increase number or cpu

    Posted Nov 30, 2017 07:23 AM

    Ok, unfortunately I have only Enterprise plus licences I noted my Vmware contract permits to download these software:

    I see vRealize Operations Manager ...

    Suggestions?!



  • 16.  RE: trigger alarm to increase number or cpu

    Posted Nov 30, 2017 01:30 PM

    If you only have a vSphere Enterprise Plus license, you won't be able to do it.



  • 17.  RE: trigger alarm to increase number or cpu

    Posted Dec 01, 2017 04:49 AM

    Being able to download software is a separate thing.

    you can install it and check out the features for yourself.  the evaluation license can be used for 60 days I believe. It won't work after that



  • 18.  RE: trigger alarm to increase number or cpu

    Posted Dec 01, 2017 04:59 AM

    Ok, I understand it... I don't know it exists dedicated license for vSphere with Operations Management.

    Does it exist free tools or included into vSphere Ent Plus for monitoring VM ? I know only Esxtop + performance graph to check usage of vm resources.



  • 19.  RE: trigger alarm to increase number or cpu

    Posted Dec 01, 2017 05:12 AM

    thats all from vsphere with what you have.. I don't know about any third party stuff and I wouldn't recommend something like that also... I believe vCenter alerts and esxtop should be sufficient to start with.

    and if you get vRealize Operations manager as purchased product, there is a lot you can do..