vSAN 6.x
vSAN 7.x
vSAN 8.x
localcli vsan storage list |grep -i 'Device\|Is ssd\|Is Capacity Tier\|DEDUPLICATION\|COMPRESSION\|In CMMDS\|ENCRYPTION:' |sed 'N;N;N;N;N;N;s/\n//g' | sort -k9;
Device: mpx.vmhba0:C0:T1:L0 Is SSD: true In CMMDS: true Deduplication: false Compression: false Is Capacity Tier: false Encryption: true
esxcli vsan encryption kms list
Cluster Name KMS Address Proxy Address Proxy Port Username
-------------------- ----- ----------------- ------------- ---------- --------
####-KMS-Cluster KMS-1 ##.###.##.##:#### N/A N/A N/A
esxcli vsan encryption info get
Attribute Value
------------------- -----
kekId ########-####-####-####-############
dekGenerationId 1
enabled True
hostKeyId ########-####-####-####-############
eraseDisksBeforeUse False
changing False
To enable vSAN on an existing cluster:
esxcli vsan debug object list | grep -E 'spbmProfileName|spbmProfileId' |sed 'N;s/\n//g'| sort | uniq
spbmProfileId: 451bcbc3-c25b-4c73-a52a-############ spbmProfileName: FSVM_Profile_DO_NOT_MODIFY
spbmProfileId: 4b97756b-3c50-481a-a105-############ spbmProfileName: vSAN ESA Default Policy - RAID5
spbmProfileId: aa6d5a82-1c88-45da-85d3-############ spbmProfileName: vSAN Default Storage Policy
Object UUID: ########-####-####-####-############
Version: 10
Health: healthy
Owner: server.com
Size: 15.00 GB
Used: 0.89 GB
Policy: ** CONTENT BELOW INDICATES POLICY ATTRIBUTES**
cacheReservation: 0
forceProvisioning: 0
spbmProfileId: ########-####-####-####-############
proportionalCapacity: 0
spbmProfileGenerationNumber: 0
stripeWidth: 1
spbmProfileName: vSAN Default Storage Policy
CSN: 16
hostFailuresToTolerate: 1
Configuration:
RAID_1
Component: ########-####-####-####-############
Component State: ACTIVE, Address Space(B): 16106127360 (15.00GB), Disk UUID: ########-####-####-####-############, Disk Name: naa.###############:2
Votes: 1, Capacity Used(B): 486539264 (0.45GB), Physical Capacity Used(B): 478150656 (0.45GB), Host Name:server.com
Component: ########-####-####-####-############
Component State: ACTIVE, Address Space(B): 16106127360 (15.00GB), Disk UUID: ########-####-####-####-############, Disk Name: naa.###############:2
Votes: 1, Capacity Used(B): 486539264 (0.45GB), Physical Capacity Used(B): 478150656 (0.45GB), Host Name:server.com
Witness: ########-####-####-####-############
Component State: ACTIVE, Address Space(B): 0 (0.00GB), Disk UUID: ########-####-####-####-############, Disk Name: naa.###############:2
Votes: 1, Capacity Used(B): 12582912 (0.01GB), Physical Capacity Used(B): 4194304 (0.00GB), Host Name:server.com
Type: vdisk
Path: /vmfs/volumes/vsan:###############-########-##############/########-####-####-####-############/VCSA####_6.vmdk (Exists)
Group UUID: ########-####-####-####-############
Directory Name: N/A
esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdates
esxcli vsan cluster get
esxcli vsan cluster get
esxcfg-advcfg -s 0 /VSAN/IgnoreClusterMemberListUpdates
20.) In the Web Client of the new vCenter: Menu --> Policies & Profiles --> VM Storage Policies
Check VM Compliance as shown below. All VMs should be shown.
( Check Compliance for a VM Storage Policy )