RVC Console for vSAN Troubleshooting

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.

RVC-login

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.

RVC-start

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.

RVC-navigation

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:

Guide https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/vsan/vmware-ruby-vsphere-console-command-reference-for-virtual-san.pdf

 

 

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden /  Ändern )

Google Foto

Du kommentierst mit Deinem Google-Konto. Abmelden /  Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden /  Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden /  Ändern )

Verbinde mit %s

WordPress.com.

Nach oben ↑

%d Bloggern gefällt das: