Número del artículo: 540774

printer Imprimir mail Correo electrónico

VDP: Log in to VDP fails with the error "Unable to connect to the requested VDP Appliance"

Resumen: Log in to VDP Appliance from the vCenter fails with the error "Unable to connect to the requested VDP Appliance"

Producto principal: Avamar

Producto: Avamar Virtual Edition más…

Fecha de la última publicación: 28 may. 2020

Tipo de artículo: Break Fix

Estado publicado: En línea

Versión: 4

VDP: Log in to VDP fails with the error "Unable to connect to the requested VDP Appliance"

Contenido del artículo

Problema


Log in to the VDP Appliance GUI from the vCenter fails with the error:    
 
"Unable to connect to the requested VDP Appliance" 
 

Reviewing the /usr/local/avamar/var/vdr/server_logs/vdr-configure.log log file, the VDP configuration Tomcat process is trying to define the state of the AV installer process. It keeps looping through the following status:    
 
> 2020-01-08 08:55:48,506 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGOUT_ERROR to LOGGED_OUT
> 2020-01-08 08:55:48,506 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGGED_OUT to LOGOUT_ERROR
> 2020-01-08 08:56:20,042 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGOUT_ERROR to LOGGED_OUT
> 2020-01-08 08:56:20,043 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGGED_OUT to LOGOUT_ERROR
Confirm if there is an ISO attached to the VDP appliance from the Settings , detach it and restart the  emwebapp.sh service, that would generally fix the error,
However if the problem would still exist, check the directory "/data01/avamar/repo/packages" and confirm if an avp package is still listed under the packages directory.
Review the log file "/usr/local/avamar-tomcat/logs/catalina.out" , multiple errors reported with the statement:
 
"HTTP header too large"
Causa
There was a missing "maxHttpHeaderSize" entry in the configuration file "/usr/local/avamar-tomcat/conf/server.xml".  

The file looks similar to:    
 
Connector SSLEnabled="true" Server="Avamar" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_....." clientAuth="false" maxKeepAliveRequests="1" maxThreads="150" port="8543" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"/>

By default, the file configuration file "/usr/local/avamar-tomcat/conf/server.xml" section for port 8543 should have the entry "maxHttpHeaderSize" which looks similar to:    
 
        <Connector port="8543" maxHttpHeaderSize="32768" protocol="org.apache.cyote.http11.Http11NioProtocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" maxKeepAliveRequests="1" clientAuth="false" sslEnabledProtocols="TLSv1.1,TLSv1.2" Server=" Avamar ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA......" />

In this case, entry maxHttpHeaderSize="32768" was missing and had  to be added manually.
Resolución
Procedure:   
  1. Take a copy of the file /usr/local/avamar-tomcat/conf/server.xml:    
cp -p /usr/local/avamar-tomcat/conf/server.xml /usr/local/avamar-tomcat/conf/server.xml-BEFOREDATE
  1. Edit the server.xml file:    
vi /usr/local/avamar-tomcat/conf/server.xml
  1. Under the 8543 port section, add the entry maxHttpHeaderSize="32768":   
It should look similar to the following:    
 
Connector SSLEnabled="true" Server="Avamar" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_ ...." clientAuth="false" maxKeepAliveRequests="1" maxThreads="150" port="8543" maxHttpHeaderSize="32768"  protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"/>
  1. Save the file and restart the web services:    
emwebapp.sh --restart

Connect to the VDP appliance. The issue should be addressed.
Notas

The entry "maxHttpHeaderSize" should be found by default, in all the VDP versions. It was not present on the file for some unknown reason which should be checked.

Problema


Log in to the VDP Appliance GUI from the vCenter fails with the error:    
 
"Unable to connect to the requested VDP Appliance" 
 

Reviewing the /usr/local/avamar/var/vdr/server_logs/vdr-configure.log log file, the VDP configuration Tomcat process is trying to define the state of the AV installer process. It keeps looping through the following status:    
 
> 2020-01-08 08:55:48,506 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGOUT_ERROR to LOGGED_OUT
> 2020-01-08 08:55:48,506 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGGED_OUT to LOGOUT_ERROR
> 2020-01-08 08:56:20,042 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGOUT_ERROR to LOGGED_OUT
> 2020-01-08 08:56:20,043 INFO  [pool-25-thread-1]-scheduler.AviStateMachine: Switching state from LOGGED_OUT to LOGOUT_ERROR
Confirm if there is an ISO attached to the VDP appliance from the Settings , detach it and restart the  emwebapp.sh service, that would generally fix the error,
However if the problem would still exist, check the directory "/data01/avamar/repo/packages" and confirm if an avp package is still listed under the packages directory.
Review the log file "/usr/local/avamar-tomcat/logs/catalina.out" , multiple errors reported with the statement:
 
"HTTP header too large"
Causa
There was a missing "maxHttpHeaderSize" entry in the configuration file "/usr/local/avamar-tomcat/conf/server.xml".  

The file looks similar to:    
 
Connector SSLEnabled="true" Server="Avamar" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_....." clientAuth="false" maxKeepAliveRequests="1" maxThreads="150" port="8543" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"/>

By default, the file configuration file "/usr/local/avamar-tomcat/conf/server.xml" section for port 8543 should have the entry "maxHttpHeaderSize" which looks similar to:    
 
        <Connector port="8543" maxHttpHeaderSize="32768" protocol="org.apache.cyote.http11.Http11NioProtocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" maxKeepAliveRequests="1" clientAuth="false" sslEnabledProtocols="TLSv1.1,TLSv1.2" Server=" Avamar ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA......" />

In this case, entry maxHttpHeaderSize="32768" was missing and had  to be added manually.
Resolución

Procedure:   
  1. Take a copy of the file /usr/local/avamar-tomcat/conf/server.xml:    
cp -p /usr/local/avamar-tomcat/conf/server.xml /usr/local/avamar-tomcat/conf/server.xml-BEFOREDATE
  1. Edit the server.xml file:    
vi /usr/local/avamar-tomcat/conf/server.xml
  1. Under the 8543 port section, add the entry maxHttpHeaderSize="32768":   
It should look similar to the following:    
 
Connector SSLEnabled="true" Server="Avamar" ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_ ...." clientAuth="false" maxKeepAliveRequests="1" maxThreads="150" port="8543" maxHttpHeaderSize="32768"  protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"/>
  1. Save the file and restart the web services:    
emwebapp.sh --restart

Connect to the VDP appliance. The issue should be addressed.

Notas

The entry "maxHttpHeaderSize" should be found by default, in all the VDP versions. It was not present on the file for some unknown reason which should be checked.

Article Attachments

Adjuntos

Adjuntos

Propiedades del artículo

Publicado por primera vez

mié. ene. 29 2020 10:54:51 GMT

Publicado por primera vez

mié. ene. 29 2020 10:54:51 GMT

Califique este artículo

Preciso
Útil
Fácil de comprender
¿Este artículo fue útil?
0/3000 characters