vSphere

 View Only

How we can collect vCenter Cluster Used or Available reservation

  • 1.  How we can collect vCenter Cluster Used or Available reservation

    Posted Dec 04, 2018 09:39 AM

    Hi,

    I am looking for a way to find out Cluster's Resource Reservation info at least for CPU and Memory...

    I collected total reserved capacity some how like...

    my $cluster_view = Vim::find_entity_views(view_type => 'ClusterComputeResource', filter => { name => "$cluster" }, properties => [ 'summary' ]);

    # Total Reservation Capacities

    my $effectiveCpu = $$cluster_view[0]->summary->effectiveCpu;

    my $effectiveMemory = $$cluster_view[0]->summary->effectiveMemory;

    I really appreciate if any suggest me which views will give me the Used or Available Reservation...