Managing vSAN 6.6 with ESXCLI


vSAN is a distributed layer of software that runs natively as a part of the ESXi hypervisor. vSAN aggregates local or direct-attached storage disks of a host cluster and creates a single storage pool shared across all hosts of the cluster. While supporting VMware features that require shared storage, such as HA, vMotion, and DRS, vSAN eliminates the need for an external shared storage and simplifies storage configuration and virtual machine provisioning activities.

You can use ESXCLI (command-line interface (CLI) of the ESXi host) commands to retrieve vSAN information, manage vSAN clusters, perform network management, add storage, set the policy, and perform other monitoring and management tasks.

Type esxcli vsan for a complete list of commands.

Here we can see listed all available namespaces commands for vSAN module.


First we can begin by typing esxcli vsan cluster, to see all the configuration we can made in cluster. We have possibilities to get general information for vSAN cluster, join or leave it or create new cluster.


Run esxcli vsan cluster get to get vSAN cluster information.


We see the health of the node, the state, uuids of local and other nodes. vSAN host (node) can be on 3 different states: Master, Agent and Backup.

Next useful command is esxcli vsan storage list to list all storage disks claimed by vSAN. We see device name, type, format, uuid and more.


Another useful info command is esxcli vsan network list to verify which VMkernel adapters are used for vSAN communication. We see the IP, name, uuid of the vmkernel.


Some are common and useful command for vSAN module:

  • esxcli vsan health cluster list command lists out the status of the each of the health test name for the vsan cluster
  • esxcli vsan debug commands allows you to get debug information related to VSAN disk, vsan objects, cluster resync, vsan controller information and VMDKs in VSAN. Some of the debug commands are:
  • esxcli vsan debug disk (list | summary)  commands allows you to list the vSAN disks and summary of physical disks of the ESXi hosts participated in VSAN cluster
  • esxcli vsan debug object health summary get
  • esxcli vsan debug vmdk list



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.