These library files are access and loaded during runtime when the Virtual SAN Observer page is rendered. The tool requires access to the libraries mentioned above in order to work correctly. This means that the vCenter Server requires access to the internet. This requirement can potentially present a challenge in secured environments where applications with access to the internet is not be a practical form of operation and it’s not allowed.
Many vSphere admins have encountered this issue. In particular, those supporting secured environments. In order to overcome this issue, the vCenter Server Appliance can be modified so that it can access the required files and library locally.
Note: it is a recommended practice to always deploy an out of band vCenter Server Appliance for the purpose of using Virtual SAN Observer.
In order to configure the Virtual SAN Observer to work without internet connectivity (offline mode) the files listed below need to be modified. The html files are located under the vCenter Server appliance “/opt/vmware/rvc/lib/rvc/observer/” directory.
Top folder – externallibs
- Sub folders – js, css, font
Sub folder – js
Sub folder – css
Sub folder – font
HTML Files Modifications
Modify the content within <script></script>, <link> tags and replace them with just the file name instead of the http link.
Once all the changes have been made, connect to the vCenter Server Appliance with RVC and perform a reload by typing “reload” in the CLI before starting the Virtual SAN Observer. To start Virtual SAN observer from the RVC command line interface use the command listed below, then access the Virtual SAN Observer web page by pointing to the vCenter Server appliance address on port 8010 (http://vcsaIP/fqdn:8010).
“vsan.observer computers/Cluster/ –run-webserver –force “
Note: The file and modifications covered in this article are compatible with the latest release of vCenter Server Update 2. This will not work with vCenter Server Update 1.
For more information on Virtual SAN Observer download the white paper Monitoring VMware Virtual SAN with Virtual SAN Observer.
Special thanks to our awesome engineers Mousumi Mullick and Christian Dickmann for helping out with all of this Virtual SAN Observer greatness!!
For future updates on Virtual SAN (VSAN), Virtual Volumes (VVols), and other Software-defined Storage technologies as well as vSphere + OpenStack be sure to follow me on Twitter: @PunchingClouds