VMware {code} Community
asharma6
Contributor
Contributor

How we can collect vCenter Cluster Used or Available reservation

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...

Used_Reservation.png

Tags (2)
Reply
0 Kudos
0 Replies