Hi Luc/All,
how to check what admission control policy is configured on cluster through powercli.
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
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
ThnaksLuc.
i got following output .
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.
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
thnaks iam checking this article.