Problem Statement
When launching VSAN Observer rvc.bat on Windows Server 2012 R2 from C:Program FilesVMwareInfrastructureVirtualCenter Serversupportrvc the CMD shell automatically closes after entering password.
Troubleshooting Steps Taken
- Launched rvc.bat using ‘Run As Administrator’
- Installed nokogiri -v 1.5.5 as described in Andrea Mauro blog post VMware Virtual SAN Observer
- Followed the steps in VMware KB2064240 ‘Enabling or capturing performance statistics using Virtual SAN Observer for VMware Virtual SAN)
- Tried the following credentials when launching rvc.bat
- administrator@vmf-vc01.vmfocus.com
- administrator@localhost
- administrator@vmf-vc01
Frustratingly none of these steps worked, so I decided to ask Erik Bussink whom I know has been working with VSAN for a while and had written the excellent blog post ‘Using the VSAN Observer in vCenter 5.5‘
Resolution
Launch rv.bat and enter the credentials in the format administrator@vpshere.local@FQDN which is administrator@vpshere.local@vmf-vc01.vmfocus.com for me
Enter the password for the SSO account administrator@vsphere.local
Enter vsan.observer <vcenter-hostname>/<Datacenter-name>/computers/<Cluster-Name>/ –-run-webserver -–force which for me is vsan.observer vmf-vc01.vmfocus.com/Datacenter01/computers/Cluster01 –-run-webserver -–force
This fails with ‘OpenSSL::X509::CertificateError: error getting time’.
VSAN Observer runs under http, so to get around this add the parameter –no-https
vsan.observer vmf-vc01.vmfocus.com/Datacenter01/computers/Cluster01 –-run-webserver -–force –no-https
Launch http://vcentername:8010 which in my case is http://vmf-vc01:8010
Notice that I’m using FireFox as the browser, I found that Internet Explorer displayed the message {{profilingTimes}} and incomplete information.
One thought on “VSAN Observer Windows Server 2012 R2”