7 Replies Latest reply on Apr 14, 2020 7:18 AM by baber

    How can see usable resource after enable Admission control in VROPS

    baber Expert

      I have a question about HA resource in vcenter

      My cluster contain 5 esxi hosts:

      I have set admission control Host failures cluster tolerates = 2

      now according to attach pic it just shows how much memory and cpu has been reserved from my Total memory capacity and cpu capacity but now I want to know according to admission control and virtual machines' allocate memories

      How much available resource is in my cluster ? For example how much usable memory and cpu resource are available .

       

      As Center cannot show these info, can I see this metric in VROPS or can I create new metric for that ?

       

      BR

        • 1. Re: How can see usable resource after enable Admission control in VROPS
          RickVerstegen Expert
          vExpert

          Which version of vROps are you running? Usable Capacity = Total Capacity - HA
          For example, in vROps 7.5 you have metrics for CPU and Memory for that.

           

          Metric CPU: Usable Capacity (MHz)
          The usable CPU resources that are available for the virtual machines after considering reservations for vSphere High Availability (HA) and other vSphere

          services.

           

          Metric Memory: Usable Capacity (KB)
          The usable memory resources available for the virtual machines after considering reservations for vSphere HA and other vSphere services.

           

          I thought for vROps 8.0 there are native metrics called Usable Capacity after HA and Buffer.

          • 2. Re: How can see usable resource after enable Admission control in VROPS
            baber Expert

            I am using vrops 8.0.1

             

            Is that your means had to select follow metrics :

             

            CPU|Demand|Usable Capacity after HA and Buffer

            Memory|Demand|Usable Capacity after HA and Buffer

             

             

            If yes , it just calculate memory usage with after enable admission control . Actually cannot calculate memory allocated by virtual machine

            Actualy I want this parameter :

             

            Total memeory - Used Reservation (failover capacity) - vm allocates memory

            • 3. Re: How can see usable resource after enable Admission control in VROPS
              sxnxr Expert
              vExpert

              I have never liked the way vrops handles allocation capacity model and here is why.

               

              1. Set your own capacity buffer
                1. Problem with this is 10% of a 30 node cluster is completely different than 10% of a 5 node cluster.
              2. Use admission control
                1. Problem with this is not everyone uses admission control properly so if it is disabled does not help.
                2. Hosts to tolerate never seems to work out the capacity properly

               

              The only real and consistent way to have it drop a host or two is to dedicate a host for HA but doing this will not help with balancing out workload and not great with vSAN.

               

              I had to wright around 50 SM to remove a host for HA. I have been asking them to add a host count to the policies as well as the % but nothing yet

              • 4. Re: How can see usable resource after enable Admission control in VROPS
                baber Expert

                Thanks . Want to know while you are enabled admission control now if want to know how much availabe memory you can get how can find it you had to do a calculate for that but i want create a metric that always show such as this metric:

                Actually I want a super metric that can do this

                 

                Total memeory - Used Reservation (failover capacity) - vm allocates memory

                • 5. Re: How can see usable resource after enable Admission control in VROPS
                  sxnxr Expert
                  vExpert

                  This is my 1-1 cpu metric. Both metrics are applyed to the cluster level.

                   

                  ((${this, metric=cpu|corecount_provisioned}-(${this,metric=cpu|corecount_provisioned}/${this, metric=summary|number_running_hosts}))*1)-sum(${adaptertype=VMWARE, objecttype=VirtualMachine, attribute=config|hardware|num_Cpu, depth=2})

                   

                  change the *1 to a 2 for 2-1 etc

                   

                  For mem

                   

                  (((${this, metric=mem|host_provisioned}-(${this, metric=mem|host_provisioned}/${this, metric=summary|number_running_hosts}))*1.5)/1048576)-(SUM(${this, metric=mem|memory_allocated_on_all_vms})/1048576)

                   

                  The memory for all the Vms uses a $this because they added that metric to the cluster level after an update.

                  • 6. Re: How can see usable resource after enable Admission control in VROPS
                    baber Expert

                    Is that your means these two super metric one of them for cpu and the other for memory will calculate usable memory and cpu after calculate HA used and vms consumed ?

                    • 7. Re: How can see usable resource after enable Admission control in VROPS
                      baber Expert

                      Actually I need this :

                       

                      Total memory - (total consumed memory by VMs + total memoy reserved for HA) = usable memory

                       

                      BR