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 […]

Posted in: VMware

vCenter Appliance Networking Commands

Tool to check and modify the vCenter Appliance Network related configurations: # /opt/vmware/share/vami/vami_config_net Network eth0 configuration file : # /etc/systemd/network/10-eth0.network  Command to list all open ports on PSC and vCenter Appliance: – # iptables -L port_filter -n –line-numbers From the above Iptables o/p, identify specific port is being used for which service : # iptables […]

Posted in: Unix

Linux OS Run Levels

When any Linux system boots, init is the first process to kick in which is responsible for running other processes/start scripts. These processes then take care of initialization of the hardware, networking etc. Init process looks for the default run level in the /etc/inittab file and start scripts corresponding to the default run level. 0 – […]