The Ruby vSphere Console(RVC) is one important tool to check the state of your vSAN. It is part of the vCenter(VCSA and Windows) and in this article I focus on the VCSA.
Connect to VCSA
Connect to VCSA via SSH and login as root or simular.
Start and login RVC
Now you have to start and login to the RVC by the following comand:
rvc administrator@vsphere.local@localhost
Than enter the password and you are in RVC mode.
Navigate in RVC
You will now need to know the level you want to go. The options are Cluster level, host level and VM level.
You can use „cd“ in combination with the number to navigate, „cd 1“ will bring you to localhost in my example above. At the next level you can use „ls“ to check the next options you have, normally it´s the datacenter level. So you will be able to toggle through the levels.
To get a level back use „cd ..“
Which level you will need depents on what you will check, in the next chapter you will find the commands.
You can end RVC by press „q“ and enter.
RVC Commands
two often used command are:
vsan.check_state -> Check if VMs and vSAN objects are valid and
accessible.
vsan.resync_dashboard -> Resynchronize dashboard for all objects in cluster or a
host
For all command see the VMware Ruby vSphere Console Reference:
Kommentar verfassen