In an NSX-T deployment where Edge nodes (Small, Medium, Large, XLarge, or Bare Metal) are configured with Load Balancer services, a warning alarm may be triggered when the load balancer capacity usage becomes high.
Note: The
{entity_id}represents the Edge node UUID where the load balancer is deployed, and{lb_capacity_usage}are dynamic values reflecting the current usage percentage.
The alarm is triggered when the load balancer capacity usage on an Edge node reaches or exceeds the configured threshold of 80%. This occurs due to the capacity-based allocation model used by NSX-T for load balancer resource management.
Understanding Load Balancer Capacity Allocation:
Each Edge node has a finite load balancer capacity based on its size (form factor). Load balancer services consume capacity according to their size. The system uses an internal capacity allocation system to measure and manage resources, where each Edge node size has a specific number of capacity units available. The usage percentage is calculated as: (current capacity used / total capacity available) × 100%.
Edge node size and load balancer capacity:
| Edge node size | Credits Available | Load balancer size | Credits required per LB size |
| Small | 1 | Small | 1 |
| Medium | 10 | Medium | 10 |
| Large | 40 | Large | 40 |
| XLarge | 80 | XLarge | 80 |
| BareMetal | 750 |
Important Consideration - Same-Size Node and Load Balancer:
When a load balancer instance is deployed on an Edge node of the same size (e.g., a Medium load balancer on a Medium Edge node), the usage percentage will be 100%. This is because the load balancer consumes all available capacity on that node.
For example:
This configuration, while technically valid, leaves no capacity for additional load balancer instances and will trigger the alarm once the threshold is reached. It is recommended that Edge nodes be sized larger than the load balancer instances they host to provide headroom for future scaling and to avoid capacity constraints.
The Edge nodes can only host load balancer instances of specific sizes, which depends on the relationship between the load balancer size and the Edge node size. For detailed information on the number of load balancers allowed per Edge node and size compatibility, refer to the VMware Configuration Maximums documentation for your specific NSX version.
Use the following API to check the load balancer usage per NSX-T Edge node: GET https://<policy-mgr>/policy/api/v1/infra/lb-node-usage?node_path=<node-path>
The node_path parameter is required and should be in the format:/infra/sites/default/enforcement-points/default/edge-clusters/<edge-cluster-id>/edge-nodes/<edge-node-id>
Sample API response:
{
"form_factor": "MEDIUM_VIRTUAL_MACHINE",
"edge_cluster_path": "/infra/sites/default/enforcement-points/default/edge-clusters/########-####-####-############",
"current_load_balancer_credits": 10,
"load_balancer_credit_capacity": 10,
"usage_percentage": 100.0,
"severity": "RED",
"current_pool_member_count": 0,
"current_virtual_server_count": 1,
"current_pool_count": 0,
"pool_member_capacity": 20000,
"current_small_load_balancer_count": 0,
"current_medium_load_balancer_count": 1,
"current_large_load_balancer_count": 0,
"current_xlarge_load_balancer_count": 0,
"remaining_small_load_balancer_count": 0,
"remaining_medium_load_balancer_count": 0,
"remaining_large_load_balancer_count": 0,
"remaining_xlarge_load_balancer_count": 0,
"resource_type": "LBEdgeNodeUsage",
"node_path": "/infra/sites/default/enforcement-points/default/edge-clusters/########-####-####-############/edge-nodes/0"
}
Key fields in the response:
Note: The documented configuration maximums may differ depending on NSX versions. Please refer to the VMware Configuration Maximums documentation for your specific version.
Recommended Actions:
Note: In the case of XLarge load balancers, only Bare-Metal Edge Nodes support multiple XLarge load balancers. Therefore, this workaround requires Bare-Metal Edge Nodes when deploying multiple XLarge load balancers.
Maintenance window required for remediation?
Yes, relocating load balancers or deploying new Edge nodes may require a maintenance window depending on your deployment configuration and redundancy requirements.
For additional information regarding the "Read load balancer usage for the given node" API, please refer to the NSX REST API Guide:
If you are contacting Broadcom support about this issue, please provide the following:
Handling Log Bundles for offline review with Broadcom support