Our vCenter 5.5 infrastruture conists of 4 ESXi 5.5 hosts and was installed a few weeks ago. Most of the administrators do not login to the vSphere Web Client application so the issue went unnoticed for some time. I can login to vSphere Web Client with my Active Directory account information. When I go to vCenter -> vCenter Servers -> Select my server it acts as though I have enver set one up before, asking me to create a DataCenter. All of these things have already been completed and it shows no virtual machines present.
If I login with the adminsitrator@vsphere.local account I see the exact same thing as I do with my account so the issue is not with permissions. So I went and checked the service health and have a few issues that I have attached with a picture.
The issues shown are
vCenter Database:
- Warning: Performance statistics rollup from Past Day to Past Week is not occurring in the database
- Warning: Performance statistics rollup from Past Week to Past Month is not occurring in the database
- Warning: Performance statistics rollup from Past Month to Past Year is not occurring in the database
VMware vSphere Profile-driven Storage Service
- Alert: Unable to retrieve health data from http://localhost:31010/sps/health.xml
VMware vCenter Storage Monitoring Service
- Alert: Unable to retrieve health data from http://localhost/sms/health.xml
I am not sure if any of these are related to not getting any information in the web client but it is really all I see at this point. Here is a screenshot of the same thing I just typed. Basically, I am looking to figure out why the Web Client shows no information and if these service issues are related? I have verified the port and it was installed utilizing the default port 80 for the sms and sps services so changing the port in the XML will not correct those issues.
The following is the error inside vws.log
[2015-08-21 07:39:40,893 Thread-27 ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: http://localhost:31010/sps/health.xml
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source)
at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)
at javax.xml.validation.Validator.validate(Unknown Source)
at com.vmware.vim.health.impl.XmlUtil.getDocumentFromUrl(XmlUtil.java:96)
at com.vmware.vim.health.impl.ComponentSpec.retrieveHealthFromUrl(ComponentSpec.java:300)
at com.vmware.vim.health.impl.ComponentSpec.retrieveHealth(ComponentSpec.java:266)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealthFromUrl(HealthPollerImpl.java:119)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:104)
at com.vmware.vim.health.impl.HealthPollerImpl.computeHealth(HealthPollerImpl.java:203)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:102)
at com.vmware.vim.health.impl.HealthPollerImpl.pollHealth(HealthPollerImpl.java:85)
at com.vmware.vim.health.impl.HealthPollerImpl.access$100(HealthPollerImpl.java:28)
at com.vmware.vim.health.impl.HealthPollerImpl$PollerThread.run(HealthPollerImpl.java:55)
at java.lang.Thread.run(Unknown Source)
[2015-08-21 07:39:40,894 Thread-27 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from http://localhost:31010/sps/health.xml
[2015-08-21 07:39:40,895 Thread-27 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from any of its health URLs
[2015-08-21 07:39:42,913 Thread-27 ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: http://localhost/sms/health.xml
java.io.IOException: Server returned HTTP response code: 503 for URL: http://localhost/sms/health.xml
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source)
at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)
at javax.xml.validation.Validator.validate(Unknown Source)
at com.vmware.vim.health.impl.XmlUtil.getDocumentFromUrl(XmlUtil.java:96)
at com.vmware.vim.health.impl.ComponentSpec.retrieveHealthFromUrl(ComponentSpec.java:300)
at com.vmware.vim.health.impl.ComponentSpec.retrieveHealth(ComponentSpec.java:266)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealthFromUrl(HealthPollerImpl.java:119)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:104)
at com.vmware.vim.health.impl.HealthPollerImpl.computeHealth(HealthPollerImpl.java:203)
at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:102)
at com.vmware.vim.health.impl.HealthPollerImpl.pollHealth(HealthPollerImpl.java:85)
at com.vmware.vim.health.impl.HealthPollerImpl.access$100(HealthPollerImpl.java:28)
at com.vmware.vim.health.impl.HealthPollerImpl$PollerThread.run(HealthPollerImpl.java:55)
at java.lang.Thread.run(Unknown Source)
[2015-08-21 07:39:42,914 Thread-27 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sms from http://localhost/sms/health.xml
[2015-08-21 07:39:42,914 Thread-27 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sms from any of its health URLs