Manage snapshots using powershell

Snapshots:   Connect to VC using any of the below commands Connect-VIServer <vc name>  or Connect-VIServer <vc name> -user <username> -password <password> How to take snapshot using powershell? Here is the example I am using to take memory snapshot for a specific vm: get-vm <vm name> | New-Snapshot -Name "snapshot Test" -Description "Taken today" -Memory If you have a

clomd value change in all hosts

CLOMD:  CLOMD value can be changed in multiple ways, here I am showing two ways i.e., powershell or cli   CLI: Take ssh to hosts in cluster and use below commands (6.x version) to fetch the clomd values and change the values:                      esxcfg-advcfg --get /VSAN/ClomRepairDelay    

Change vsan network subnet for hosts in vSan enabled cluster

When working on lab environment, I got an idea of changing the complete vSan subnet for hosts and immediately started working on it without waiting a minute, with paper work first , before implementing it and finally ended with a success..   Here is my lab environment details: No of hosts in

Convert multi node vsan cluster to 2 node stretched cluster

Recently I have got a request to convert the multi node vsan cluster (3 hosts) to stretched cluster (2 hosts + 1 witness). Since this is for a production environment with FTT 1, I planned this in two phases: Phase 1:   1. Deploy the witness appliance with all necessary licensing, networking, routing

VSAN troubleshooting commands

Here are some of the important commands that can be used while troubleshooting vSan:  Please note this is for quick ref if you are looking for commands and detailed explanation will be given in posts. Get the total number of hosts that are part of vsan cluster: esxcli vsan cluster get Manually join

snapshot vmem file in vSan data store

Recently I got a request from one of the VSAN customers to provide the memory dump of a vm. To generate the same, we will have to take the snapshot of specific vm with memory box checked. Pick the vm  > right click > snapshot > take snapshot > give a

VCAP 6 – DCV

VCAP 6 - Deploy:  On Aug 5th Monday 2019, I have given VCAP 6 (VMware certified Advanced professional - DCV ) and completed with score of 346. It was a indeed the second toughest exam I have completed till date, of course first comes the Design which I am still struggling