Symptoms
VDP 업그레이드 후에 문제가 발생합니다.
vCenter에서 VDP 어플라이언스 GUI에 로그인하면 다음 오류가 표시되며 실패합니다.
"Unable to connect to the requested VDP Appliance"
VDP 구성 Tomcat 프로세스에서 /usr/local/avamar/var/vdr/server_logs/vdr-configure.log 로그 파일을 검토하면서 AV 설치 프로그램 프로세스의 상태를 정의하려고 합니다. 다음 상태가 계속 반복됩니다.
> 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:
Cause
구성 파일 "/usr/local/avamar-tomcat/conf/server.xml"에 "maxHttpHeaderSize" 항목이 누락되었습니다.
파일 내용이 다음과 유사해 보입니다.
기본적으로 포트 8543의 파일 구성 파일 "/usr/local/avamar-tomcat/conf/server.xml" 섹션에 다음과 유사한 "maxHttpHeaderSize" 항목이 있어야 합니다.
<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......" />
이 경우 maxHttpHeaderSize="32768" 항목이 누락되었으므로 수동으로 추가해야 했습니다.
Resolution
절차:
- /usr/local/avamar-tomcat/conf/server.xml 파일의 복사본을 만듭니다.
cp -p /usr/local/avamar-tomcat/conf/server.xml /usr/local/avamar-tomcat/conf/server.xml-BEFOREDATE
- server.xml 파일을 편집합니다.
vi /usr/local/avamar-tomcat/conf/server.xml
- 8543 포트 섹션에 maxHttpHeaderSize="32768" 항목을 추가합니다.
그러면 다음과 유사해 보입니다.
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"/>
- 파일을 저장하고 웹 서비스를 재시작합니다.
VDP 어플라이언스에 연결합니다. 문제가 해결됩니다.
Additional Information
"maxHttpHeaderSize" 항목은 모든 VDP 버전에서 기본적으로 검색되어야 합니다. 알 수 없는 이유로 파일에 없었으므로 확인해야 합니다.