VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

HAadmissioncontrol_type_powercli.

Hi Luc/All,

how to check what admission control policy is configured on cluster through powercli.

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Try something like this

$clusterName = 'MyCluster'

Get-Cluster -Name $clusterName |

Select Name,HAAdmissionControlEnabled,

    @{N='HA Admission Policy FailOverLevel';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.FailOverLevel}},

    @{N='HA Admission Policy SlotPolicy';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.SlotPolicy}},

    @{N='HA Admission Policy ResourceReductionToToleratePercent';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.ResourceReductionToToleratePercent}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

4 Replies
LucD
Leadership
Leadership
Jump to solution

Try something like this

$clusterName = 'MyCluster'

Get-Cluster -Name $clusterName |

Select Name,HAAdmissionControlEnabled,

    @{N='HA Admission Policy FailOverLevel';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.FailOverLevel}},

    @{N='HA Admission Policy SlotPolicy';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.SlotPolicy}},

    @{N='HA Admission Policy ResourceReductionToToleratePercent';E={$_.ExtensionData.Configuration.DasConfig.AdmissionControlPolicy.ResourceReductionToToleratePercent}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

jvm2016
Hot Shot
Hot Shot
Jump to solution

ThnaksLuc.

i got following output .

pastedImage_0.png

so 1 against failover level means cluster can tolerate i host failure .(ie cluster is configured with host/s  failure cluster can tolerate policy).

also could you share yur thoughts if hosts failure cluster can tolerate admission control policy is best suited for cluster with following vm configuration.

1:there are 287 vms in cluster (not uniform size) in cluster and only four are configured with following reservetion in MB.

memreservation and cpu reservation on vm1 are 43008 and 0

memreservation and cpu reservation on vm2 are 49152 and 0

memreservation and cpu reservation on vm3 are 32768 and 0

memreservation and cpu reservation on vm4  are 32768 and 0

do we need to think any other things to implement this admission policy.

0 Kudos
LucD
Leadership
Leadership
Jump to solution

I suggest you have a look at Duncan two-part series on HA Admission Control the basics

Be aware that somewhat larger reservations (can) have a serious impact on HA Admission Control, as the system takes for example the worst case to calculate slots.

As often, the simplest algorithm (Percentage of Cluster Resources...), is often the easier one to understand.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thnaks iam checking this article.

0 Kudos