RVC Commands – Part 3

In continuation to my previous posts part1 and part2   vsan.support_informationvsan.cluster_change_autoclaim vsan.host_claim_disks_differently vsan.observer_process_statsfile vsan.upgrade_statusvsan.cluster_info vsan.host_consume_disks vsan.ondisk_upgrade vsan.v2_ondisk_upgradevsan.cluster_set_default_policy vsan.host_evacuate_data vsan.perf. vsan.vm_object_infovsan.cmmds_find vsan.host_exit_evacuation vsan.proactive_rebalance

RVC Commands – Part 2

In continuation to the previous post Part 1   vsan.vm_perf_statsvsan.disable_vsan_on_cluster vsan.host_info vsan.proactive_rebalance_info vsan.vmdk_statsvsan.disk_object_info vsan.host_wipe_non_vsan_disk vsan.purge_inaccessible_vswp_objects vsan.whatif_host_failuresvsan.disks_info vsan.host_wipe_vsan_disks vsan.reapply_vsan_vmknic_configvsan.disks_stats vsan.lldpnetmap vsan.recover_spbm

RVC Commands – Part 1

RVC (Ruby Virtual console) is an interactive command-line console user interface for VMware vSphere and Virtual Center. It is bundled with both VCSA and the Windows version of vCenter Server. RVC is becoming one of the primary tools for managing and troubleshooting Virtual SAN environments. Here are some of the RVC commands that

vSan force provisioning

I would like to brief here about one of the rules in vSan storage policy i.e., Force Provisioning, it may sound very easy, but at times can put the environment in trouble. Force provisioning is the rule which can be selected when creating a new storage policy as shown below: I

Power shell script to check dedup status

Deduplication and compression:  How to check if vSan cluster has dedup enabled, though there are many ways to check it, I would show two ways here: From vCenter GUI: Login to vCenter using web client or HTML client , navigate to cluster > Manage > settings > Virtual San > General Deduplication and Compression

Convert a vSan stretched cluster to 3 node and above

Stretched cluster to multi node vSan cluster    I assume most of you are aware about stretched cluster and how the component splits between the hosts/witness appliance. In this blog, I am going to walk you through the steps to convert a 2 vSan stretched cluster to a 3 node vSan cluster. What

Convert multi node vsan cluster to one node vsan cluster

One node vSan cluster:    Have you tried building a one node vsan cluster ? or convert exiting multi node cluster to one node. Though its not recommended by VMware, it is possible to have one node vsan cluster but with limitations like no data protection as the single node cluster is

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

vSan object checksum

VSAN Object Checksum: VSAN 6.2 introduced a new feature called object checksum which is enabled by default, but may be enabled or disabled on per virtual machine/object basis via VM storage policies and this policy does end-to-end software checksum to avoid data integrity issues arising due to problems on the underlying storage