Nach Portänderung kein Zugriff mehr auf Hardware-Überwachung
Verfasst: 22.05.2014, 10:19
Hallo zusammen
Ich hoffe es kann mir jemand helfen, weil ich nicht mehr weiter weiss. Nachdem auf unserem vCenter Verwaltungsserver noch weitere Services installiert wurden und wir die Ports im vCenter anpassen mussten, funktioniert nun die Hardwareüberwachung der Hosts aus dem vCenter nicht mehr.
Wir haben folgende Ports geändert:
Webservice Port HTTP auf 8081 (statt 81)
Webservice Port HTTPS auf 4434 (statt 443)
Die Services vom vCenter laufen alle und die Plugins werden auch ohne Probleme gestartet, aber wenn ich auf Hardwarestatus Tab klicke kommt die Meldung: "Kein Zugriff auf Hardware-Überwachungsdienst möglich". Ein manuelles Update oder das Zurücksetzen der Sensoren hat auch nix gebracht. Auch ein Neustart oder das neu aufnehmen der Hosts im vCenter nicht.
In den Logs finde ich noch einige Fehler. Hier die Auszüge:
sms.log Datei:
vsm.log Datei
Wo hier localhost:80 her kommt weiss ich auch nicht!
vws.log Datei
Das wiederholt sich natürlich dauernd. Angepasst habe ich einige Werte in den Tomcat und Extensions Einstellungen gemäss KB Artikel von VMware.
Danke für eure Hilfe.
Gruss
Rico
Ich hoffe es kann mir jemand helfen, weil ich nicht mehr weiter weiss. Nachdem auf unserem vCenter Verwaltungsserver noch weitere Services installiert wurden und wir die Ports im vCenter anpassen mussten, funktioniert nun die Hardwareüberwachung der Hosts aus dem vCenter nicht mehr.
Wir haben folgende Ports geändert:
Webservice Port HTTP auf 8081 (statt 81)
Webservice Port HTTPS auf 4434 (statt 443)
Die Services vom vCenter laufen alle und die Plugins werden auch ohne Probleme gestartet, aber wenn ich auf Hardwarestatus Tab klicke kommt die Meldung: "Kein Zugriff auf Hardware-Überwachungsdienst möglich". Ein manuelles Update oder das Zurücksetzen der Sensoren hat auch nix gebracht. Auch ein Neustart oder das neu aufnehmen der Hosts im vCenter nicht.
In den Logs finde ich noch einige Fehler. Hier die Auszüge:
sms.log Datei:
Code: Alles auswählen
2014-05-22 10:10:09,956 [Thread-16] INFO com.vmware.vim.sms.StorageManagerImpl - Retry #4528 in 30 seconds
2014-05-22 10:10:39,970 [Thread-16] DEBUG com.vmware.vim.sms.provider.ProviderFactory - [loadVasaProviders] Loading previously registered providers from XDB
2014-05-22 10:10:39,970 [Thread-16] DEBUG com.vmware.vim.storage.common.util.VpxdConnection - Attempting to log in to vpxd at https://localhost:8089/sdk as extension 'com.vmware.vim.sms'
2014-05-22 10:10:44,993 [Thread-16] ERROR com.vmware.vim.storage.common.util.VpxdConnection - Failed to connect to vpxd
com.vmware.vim.binding.vim.fault.InvalidLogin:
inherited from com.vmware.vim.binding.vim.fault.VimFault:
inherited from com.vmware.vim.binding.vim.fault.InvalidLogin: Die Anmeldung kann aufgrund eines falschen Benutzernamens oder Kennworts nicht abgeschlossen werden.
at sun.reflect.GeneratedConstructorAccessor180.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171)
at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84)
at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37)
at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:245)
at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:526)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:507)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169)
at $Proxy90.loginExtensionByCertificate(Unknown Source)
at com.vmware.vim.storage.common.util.VpxdConnection.connect(VpxdConnection.java:181)
at com.vmware.vim.storage.common.util.VpxdConnection.verifyConnection(VpxdConnection.java:222)
at com.vmware.vim.storage.common.util.VpxdConnectionFactory.getAdminConnection(VpxdConnectionFactory.java:52)
at com.vmware.vim.storage.common.qs.QsAuthenticationProvider.getAuthDataForQueryService(QsAuthenticationProvider.java:23)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:73)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:70)
at com.vmware.vim.storage.common.util.RetryTaskExecutor.execute(RetryTaskExecutor.java:24)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:88)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.<init>(QsProxyStrategy.java:50)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.getInstance(QsProxyStrategy.java:57)
at com.vmware.vim.storage.common.qs.QsClientImpl.<init>(QsClientImpl.java:35)
at com.vmware.vim.sms.qs.QueryMapper.<init>(QueryMapper.java:95)
at com.vmware.vim.sms.qs.QueryMapper.getInstance(QueryMapper.java:103)
at com.vmware.vim.sms.provider.ProviderFactory.loadVasaProviders(ProviderFactory.java:294)
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.run(StorageManagerImpl.java:103)
2014-05-22 10:10:44,993 [Thread-16] ERROR com.vmware.vim.storage.common.qs.QsProxyStrategy - Initialize QS connection failed
com.vmware.vim.storage.common.fault.VpxdConnectionException
at com.vmware.vim.storage.common.util.VpxdConnection.connect(VpxdConnection.java:189)
at com.vmware.vim.storage.common.util.VpxdConnection.verifyConnection(VpxdConnection.java:222)
at com.vmware.vim.storage.common.util.VpxdConnectionFactory.getAdminConnection(VpxdConnectionFactory.java:52)
at com.vmware.vim.storage.common.qs.QsAuthenticationProvider.getAuthDataForQueryService(QsAuthenticationProvider.java:23)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:73)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:70)
at com.vmware.vim.storage.common.util.RetryTaskExecutor.execute(RetryTaskExecutor.java:24)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:88)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.<init>(QsProxyStrategy.java:50)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.getInstance(QsProxyStrategy.java:57)
at com.vmware.vim.storage.common.qs.QsClientImpl.<init>(QsClientImpl.java:35)
at com.vmware.vim.sms.qs.QueryMapper.<init>(QueryMapper.java:95)
at com.vmware.vim.sms.qs.QueryMapper.getInstance(QueryMapper.java:103)
at com.vmware.vim.sms.provider.ProviderFactory.loadVasaProviders(ProviderFactory.java:294)
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.run(StorageManagerImpl.java:103)
2014-05-22 10:10:44,993 [Thread-16] ERROR com.vmware.vim.sms.StorageManagerImpl - Exception while loading providers from xDB!
com.vmware.vim.storage.common.fault.QsConnectionException: com.vmware.vim.storage.common.fault.VpxdConnectionException
at com.vmware.vim.storage.common.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:92)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.<init>(QsProxyStrategy.java:50)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.getInstance(QsProxyStrategy.java:57)
at com.vmware.vim.storage.common.qs.QsClientImpl.<init>(QsClientImpl.java:35)
at com.vmware.vim.sms.qs.QueryMapper.<init>(QueryMapper.java:95)
at com.vmware.vim.sms.qs.QueryMapper.getInstance(QueryMapper.java:103)
at com.vmware.vim.sms.provider.ProviderFactory.loadVasaProviders(ProviderFactory.java:294)
at com.vmware.vim.sms.StorageManagerImpl$ProviderLoader.run(StorageManagerImpl.java:103)
Caused by: com.vmware.vim.storage.common.fault.VpxdConnectionException
at com.vmware.vim.storage.common.util.VpxdConnection.connect(VpxdConnection.java:189)
at com.vmware.vim.storage.common.util.VpxdConnection.verifyConnection(VpxdConnection.java:222)
at com.vmware.vim.storage.common.util.VpxdConnectionFactory.getAdminConnection(VpxdConnectionFactory.java:52)
at com.vmware.vim.storage.common.qs.QsAuthenticationProvider.getAuthDataForQueryService(QsAuthenticationProvider.java:23)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:73)
at com.vmware.vim.storage.common.qs.QsProxyStrategy$1.execute(QsProxyStrategy.java:70)
at com.vmware.vim.storage.common.util.RetryTaskExecutor.execute(RetryTaskExecutor.java:24)
at com.vmware.vim.storage.common.qs.QsProxyStrategy.createClient(QsProxyStrategy.java:88)
... 7 more
2014-05-22 10:10:44,993 [Thread-16] INFO com.vmware.vim.sms.StorageManagerImpl - Retry #4529 in 30 secondsvsm.log Datei
Code: Alles auswählen
014-05-21 17:42:10,713 INFO Thread-23 com.vmware.vsm.vc.VCenterListener - Connecting to https://sdkTunnel:8089/sdk/vimService with vCenter proxy http://localhost:80
2014-05-21 17:42:10,713 DEBUG Thread-23 com.vmware.vsm.vc.VCenterListener - Retrieving service instance content.
2014-05-21 17:42:11,727 ERROR Thread-23 com.vmware.vsm.vc.VCenterListener - Unable to connect to the vCenter server. Retrying in 5 secondsWo hier localhost:80 her kommt weiss ich auch nicht!
vws.log Datei
Code: Alles auswählen
[2014-05-22 10:16:03,654 Thread-33 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.ls from https://localhost:4434/ls/health
[2014-05-22 10:16:03,654 Thread-33 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.ls from any of its health URLs
[2014-05-22 10:16:03,654 Thread-33 ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: http://localhost:8081/sps/health.xml
java.io.FileNotFoundException: http://localhost:8081/sps/health.xml
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
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(Validator.java:127)
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(Thread.java:662)
[2014-05-22 10:16:03,654 Thread-33 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from http://localhost:8081/sps/health.xml
[2014-05-22 10:16:03,654 Thread-33 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.sps from any of its health URLs
Das wiederholt sich natürlich dauernd. Angepasst habe ich einige Werte in den Tomcat und Extensions Einstellungen gemäss KB Artikel von VMware.
Danke für eure Hilfe.
Gruss
Rico