RVC Commands – Part 1

Reading Time: 2 mins

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 can be used when working on VSAN, In this post I will be focussing on using RVC in VCSA as the windows VC will be deprecated soon.

vsan.apply_license_to_cluster

Apply license to the VSAN cluster. The argument to the command is a reference to the cluster and a license key: vsan.apply_license_to_cluster -k <key>

Example: vsan.apply_license_to_cluster 0 -k aaaaa-bbbbb-ccccc-ddddd-eeeee - Here 0 is the cluster index number in RVC.

vsan.enable_vsan_on_cluster

Enables Virtual SAN on the cluster in Automatic mode. Adding the parameter -d will Disable autoclaim of the disks i.e., Disks has to be manually added.

Example: vsan.enable_vsan_on_cluster 0 - Here 0 is the cluster index number in RVC.

vsan.obj_status_report

Print component status for objects in a cluster or on a host:

Example: vsan.obj_status_report 0

vsan.resync_dashboard

Resynchronize dashboard for all objects in cluster or a host and add -r parameter to mention the refresh rate in sec. If any rebuild in progress, this command displays the components that are being rebuilt elsewhere in the cluster. Using this command, it is possible to tell how many bytes are left to sync for that particular VM/Object.

Example: vsan.resync_dashboard 0 -r 60

vsan.check_limits

This command displays resource information and is useful for ensuring that Virtual SAN is operating within its resource limits and can be run on a host or cluster:

Example: vsan.check_limits 0

vsan.enter_maintenance_mode

vsan.object_info

vsan.scrubber_info
vsan.check_state

vsan.fix_renamed_vms

vsan.object_reconfigure

vsan.stretchedcluster.
vsan.clear_disks_cache

vsan.health.

vsan.observer

vsan.support_information
vsan.cluster_change_autoclaim

vsan.host_claim_disks_differently

vsan.observer_process_statsfile

vsan.upgrade_status
vsan.cluster_info

vsan.host_consume_disks

vsan.ondisk_upgrade

vsan.v2_ondisk_upgrade
vsan.cluster_set_default_policy

vsan.host_evacuate_data

vsan.perf.

vsan.vm_object_info
vsan.cmmds_find

vsan.host_exit_evacuation

vsan.proactive_rebalance

2 thoughts on “RVC Commands – Part 1

Comments are closed.