09.03.2015 Views

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />

Launching RVC from Windows vCenter Server<br />

RVC for Windows and RVC for Linux are practically identical. However there are<br />

some nuances when it comes to launching. The same rules apply as before, where<br />

knowing what single sign-on (SSO) has configured as the “default domain”. This will<br />

determine which administrator is the default, and which password should be<br />

supplied. This might be even more confusing on the Windows version of vCenter<br />

Server since the Windows Operating system will also have a local administrator<br />

user. Now we have Windows local administrator, an Active Directory administrator<br />

(if configured) and a SSO administrator all as potential logins to RVC.<br />

In the vCenter server 6.0, an rvc.bat file is used to launch RVC. You will find this file<br />

in the following path:<br />

C:\Program Files\VMware \VirtualCenter Server\rvc.<br />

In vCenter 5.5, the path is:<br />

C:\Program Files\VMware\Infrastructure\VirtualCenter Server\rvc.<br />

Running rvc.bat with the ‘-h’ for help option, the following information is displayed:<br />

Ruby vSphere Console.<br />

Usage:<br />

rvc [options] [username[:password]@]hostname<br />

where [options] are:<br />

--path : Initial directory<br />

--create-directory: Create the initial directory if it doesn't exist<br />

--cmd, -c : command to evaluate<br />

--script, -s : file to execute<br />

--script-args : arguments to script (default: )<br />

--cookie, -k : authentication cookie file<br />

--quiet, -q: silence unnecessary output<br />

--version, -v: Print version and exit<br />

--help, -h: Show this message<br />

Username, password and hostname information must be provided at the command<br />

line. In 6.0, if this information is not provided at the command line, the default login<br />

for RVC has been set to the SSO administrator, administrator@vsphere.local, and the<br />

default host has been set to localhost. Here is a default rvc.bat running:<br />

C:\Program Files\VMware\vCenter Server\rvc>rvc.bat<br />

Try "--help" or "-h" to view more information about RVC usage.<br />

No argument is specified, connecting to localhost as administrator@vsphere.local<br />

password:<br />

V M W A R E S T O R A G E B U D O C U M E N T A T I O N / 77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!