Hi sc_21111,
With the VM's on local storage, you can not utilize the HA portion to restart on another host without some crazy configurations. However, you can enable HA to restart the VM's in the situation of a power failure.
The issue you're encountering with the Admission Control warning about insufficient resources can be attributed to how vSphere calculates available resources and admission control policies. Here are a few points to consider:
1. Admission Control Policy
vSphere's Admission Control is designed to ensure that there are sufficient resources for failover in the event of a host failure. By default, it reserves enough resources to accommodate the failure of one or more hosts, depending on the policy you have set.
2. Host Resource Reservations
Even though each node has 384GB of RAM, the reserved resources for the VMs and the overhead required by the ESXi hosts might cause the Admission Control to trigger a warning.
3. HA Slot Calculation
vSphere HA calculates the number of slots available on each host based on the highest CPU and memory reservations of any VM in the cluster. A slot is a logical representation of the resources required by a VM.
4. Resource Overhead
Each VM and the vCenter VM have some overhead associated with their memory usage. This overhead is part of the resources that need to be considered.
Steps to Resolve the Issue:
-
Check HA Settings:
- Go to
Cluster Settings
-> vSphere HA
-> Admission Control
and review the policies. Consider setting a custom failover capacity or adjusting the percentage of cluster resources reserved as failover spare capacity.
-
Review VM Reservations:
- Ensure that the memory reservations for the VMs are not excessively high. The reservations can be found under
VM Settings
-> Resources
-> Memory
.
-
Review Host Resource Usage:
- Check the resource usage on the hosts to ensure they have adequate free resources. This includes the overhead for the VMs and the ESXi host.
-
Adjust Slot Size:
- If you are using the "Host Failures Cluster Tolerates" policy, the slot size can be a limiting factor. You might need to adjust the slot size or switch to the percentage-based policy.
-
Cluster Configuration:
- Verify the cluster's total resource pool and compare it to the required reservations and overhead. This might help in understanding if there are any misconfigurations.
Example:
Here's a step-by-step guide to check and adjust HA settings:
-
Access Cluster Settings:
- Open the vSphere Client and navigate to the cluster.
- Click on
Configure
-> vSphere Availability
-> Edit
.
-
Adjust Admission Control:
- Under
Admission Control
, choose Percentage of Cluster Resources Reserved
.
- Set a percentage that reflects the actual requirement, considering you have sufficient resources to failover VMs in case of a host failure.
-
Monitor Resource Usage:
- Go to
Hosts and Clusters
, select each host, and review the Resource Allocation
tab to check the memory and CPU usage.
-
Review VM Configurations:
- For each VM, right-click and select
Edit Settings
.
- Go to the
Resources
tab and check the Memory
and CPU
reservations.
By carefully reviewing and adjusting these settings, you should be able to resolve the Admission Control warnings and ensure your cluster operates without issues.
------------------------------
Please mark as Recommended if this solved your problem. This will help the community find solutions to their problems as well.
MORE LOGS, MORE SCREENSHOTS, MORE DETAILS = Easier To Help You :D
I have super ODC, so excuse my excessive formatting.
------------------------------------------------------------
VCP-DCV 8.x | VCP-DCV 6.x | CompTIA A+, Net+, Sec+, Proj+, Server+ | MCSE | MCSA | MCITP
------------------------------
Original Message:
Sent: Jun 21, 2024 06:15 AM
From: sc_21111
Subject: HA Insufficient resources
Hello all,
I got a strange issue with a new 2-node cluster that has only two virtual machines, one per physical node, that are stored on local storage, so they cannot migrate.
The nodes have 384GB Ram each.
The "local" VMs that cannot migrate has 72GB RAM all reserved.
So even considering both the Vms the total requested RAM would be 150GB
There's the Vcenter VM which has 16GB Ram.
So the great total would be 176GB which is less then 384GB that each node has.
I don't understand why the Admission Control is warning about insufficient resources