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 />

Verify that everything is functioning in <strong>VSAN</strong> Observer without the need access to<br />

the Internet to download any JavaScript, CSS, or font files. If assistance is needed<br />

with launching <strong>VSAN</strong> Observer, refer to the next section of the manual.<br />

My colleague, William Lam, wrote an automated way of setting up offline mode for<br />

version 5.5 here: http://www.virtuallyghetto.com/2014/10/automate-vsanobserver-offline-mode-configurations.html.<br />

While there are some differences in 6.0,<br />

this script is still useful if you want to automate the whole process.<br />

Launching <strong>VSAN</strong> Observer<br />

<strong>VSAN</strong> Observer is launched from the RVC command line using the command<br />

vsan.observer. It needs a number of arguments supplied at the command line,<br />

and can be run in both live monitoring mode or offline/log gathering mode. Here is<br />

the list of options available in version 6.0:<br />

--filename, -f : Output file path<br />

--port, -p : Port on which to run webserver (default: 8010)<br />

--run-webserver, -r: Run a webserver to view live stats<br />

--force, -o: Apply force<br />

--keep-observation-in-memory, -k: Keep observed stats in memory even when commands ends.<br />

Allows to resume later<br />

--generate-html-bundle, -g : Generates an HTML bundle after completion. Pass a location<br />

--interval, -i : Interval (in sec) in which to collect stats (default: 60)<br />

--max-runtime, -m : Maximum number of hours to collect stats. Caps memory usage.<br />

(Default: 2)<br />

--forever, -e : Runs until stopped. Every --max-runtime intervals retires<br />

snapshot to disk. Pass a location<br />

--no-https, -n: Don't use HTTPS and don't require login. Warning: Insecure<br />

--max-diskspace-gb, -a : Maximum disk space (in GB) to use in forever mode. Deletes<br />

old data periodically (default: 5)<br />

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

To enable live monitoring for a cluster, run the following command. Note that the<br />

cluster in this example is called Virtual SAN.<br />

vsan.observer ~/computers/Virtual SAN –-run-webserver –-force<br />

On a web browser, you can now navigate to the vCenter Server hostname or IP<br />

Address and add the port number specified in the output from the previous step. By<br />

default the port used by Virtual SAN is 8010.<br />

https://vCenterServer_hostname_or_IP_Address:8010<br />

This will bring you initially to the login page. Provide privileged credentials to login:<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 / 2 0 2

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

Saved successfully!

Ooh no, something went wrong!