vsan_health
Get vSAN enablement status, host count, and per-host disk-group layout for a vSphere cluster.
Instructions
[READ] Get vSAN enablement status, host count, and per-host disk-group layout for a cluster.
Returns {cluster_name, vsan_enabled, overall_health, host_count, disk_groups: [{host, cache_disk, cache_size_gb, capacity_disks}]}. Note: overall_health is reported as "unknown" — full health checks require vCenter's VsanVcClusterHealthSystem; use the vCenter UI for detailed health. If vSAN is not enabled, returns vsan_enabled=false with a message rather than an error. Use vsan_capacity for space usage instead. No side effects.
Args: cluster_name: Cluster name exactly as shown in vCenter. Errors if the cluster is not found. target: Optional vCenter/ESXi target name from config; omit to use the default target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| cluster_name | Yes |