Create and configure vSAN cluster on node 1.

Procedure

  1. On Node 1, change the default vSAN storage policy.
    [root@esxi-01:~] esxcli vsan policy setdefault -c vdisk -p "((\"hostFailuresToTolerate\" i1) (\"forceProvisioning\" i1))"
    [root@esxi-01:~] esxcli vsan policy setdefault -c vmnamespace -p "((\"hostFailuresToTolerate\" i1) (\"forceProvisioning\" i1))"
  2. On Node 1, use the system UUID to create the vSAN cluster.
    [root@esxi-01:~] esxcli system uuid get
    56a831ee-5a07-640f-b18e-a0369f730418
    [root@esxi-01:~] esxcli vsan cluster join -u 56a831ee-5a07-640f-b18e-a0369f730418
  3. On Node 1, verify that the vSAN cluster Local Node Type value is NORMAL, the Local Node State value is MASTER, and the Local Node Health State value is HEALTHY.
    [root@esxi-01:~] esxcli vsan cluster get
    Cluster Information
       Enabled: true
       Current Local Time: 2016-01-28T04:37:00Z
       Local Node UUID: 56a831ee-5a07-640f-b18e-a0369f730418
       Local Node Type: NORMAL
       Local Node State: MASTER
       Local Node Health State: HEALTHY
       Sub-Cluster Master UUID: 56a831ee-5a07-640f-b18e-a0369f730418
       Sub-Cluster Backup UUID:
       Sub-Cluster UUID: 56a831ee-5a07-640f-b18e-a0369f730418
       Sub-Cluster Membership Entry Revision: 0
       Sub-Cluster Member Count: 1
       Sub-Cluster Member UUIDs: 56a831ee-5a07-640f-b18e-a0369f730418
       Sub-Cluster Membership UUID: 299aa956-642c-3eb6-bff0-a0369f730418
    
  4. On Node 1, assemble the vSAN disk groups.
    Note:

    The example vSAN Ready Node systems contain the minimum allowable configuration of three hard disk drives and one solid-state drive per disk group.

    1. List the solid-state drive (SSD) devices in the system and take note of one device name for the first disk group.
      [root@esxi-01:~] esxcli --formatter=csv --format-param=fields="Devfs Path,Is SSD,Size" storage core device list | grep "disks/naa" | grep true
      /vmfs/devices/disks/naa.5001e820028799a0,true,381554,
      /vmfs/devices/disks/naa.5001e82002879c68,true,381554,
      
    2. List the hard disk drive (HDD) devices in the system, ensuring that the boot volume is not in the list, and take note of three device names for the first disk group.
      [root@esxi-01:~] esxcli --formatter=csv --format-param=fields="Devfs Path,Is SSD,Size" storage core device list | grep "disks/naa" | grep false | grep -v naa.5000c500894625f3
      /vmfs/devices/disks/naa.5000c5008f366e43,false,1144641,
      /vmfs/devices/disks/naa.5000c5008f3581f3,false,1144641,
      /vmfs/devices/disks/naa.5000c5008f35e103,false,1144641,
      /vmfs/devices/disks/naa.5000c5008f38e367,false,1144641,
      /vmfs/devices/disks/naa.5000c5008f355c33,false,1144641,
      /vmfs/devices/disks/naa.5000c5008f353f7b,false,1144641,
      
    3. Create additional disk groups, each containing one SSD and three HDD devices, starting with the devices noted in 4a and 4b.
      [root@esxi-01:~] esxcli vsan storage add -s naa.5001e820028799a0 -d naa.5000c5008f366e43 -d naa.5000c5008f3581f3 -d naa.5000c5008f35e103
      [root@esxi-01:~] esxcli vsan storage add -s naa.5001e82002879c68 -d naa.5000c5008f38e367 -d naa.5000c5008f355c33 -d naa.5000c5008f353f7b