Posted in: VMware, vSAN

vSAN Encryption

vSAN provides feature to encrypt the data at rest. Below are pre-requisites to enable vSAN encryption – You will need a Key Management Server (KMS) vCenter should establish a trusted connection with the KMS server and vice versa User should have privileges on vCenter :Host.Inventory.EditClusterCryptographer.ManageEncryptionPolicyCryptographer.ManageKMSCryptographer.ManageKeys To enable encryption, Go to cluster -> Configure tab -> […]

Posted in: VMware, vSAN

vSAN TRIM/UNMAP

Automated UNMAP/TRIM feature is available in VSAN 6.7U1 onwards. However it is disabled by default, and has to be enabled. This feature is supported only on VMs with Hardware version 11 or later (Windows) and Hardware version 13 (Linux VMs). Virtual Machines needs to be Power cycled after enabling TRIM/UNMAP. Enabling TRIM/UNMAP on cluster is […]

Posted in: VMware

vSAN Evacuation pre-check for Node, Diskgroup OR Disk

You can do a precheck for a vSAN Host, disk or diskgroup evacuation with with evacuate all data, ensure accessibility or no action options. vSAN ESXi host Evacuation Pre-check To fetch the UUID of the vSAN cluster hosts :-[[email protected]:~] cmmds-tool find -t HOSTNAME owner=5bc74ddf-6e77-df6b-1442-005056016fc3(Health: Healthy) uuid=5bc74ddf-6e77-df6b-1442-005056016fc3 type=HOSTNAME rev=0 minHostVer=0 [content = (“esxi-2.labs.org”)], errorStr=(null)owner=5bc74de0-dd5b-9199-e5ea-005056016fbb(Health: Healthy) uuid=5bc74de0-dd5b-9199-e5ea-005056016fbb […]

Posted in: VMware

vPostgres Database useful commands

Command to connect vPostgres : /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres We can also connect with the vPostgres database using pgAdmin tool : vPostgres configuration related files :- /storage/db/vpostgres/pg_hba.conf – This config file stores the information about the users that can connect to the database. It also stores the info about the information about from where […]