VMware/Horizon

[Horizon] Horizon 에이전트에 연결 할 수 없음 현상의 건

JuneJoon 2021. 11. 29. 19:11

사내에 테스트하는 도중 Horizon VDI에 접속할 수 없어 커넥션 서버 쪽의 대시보드를 확인하였더니 

다음과 같이 "에이전트에 연결할 수 없음"이라고 표기되어 있었습니다. 

 

이벤트 로그와 상태로 판단할 수 있는 것은 하단의 그림과 같이 VDI 내부에 설치된 Horizon 에이전트와 커넥션 서버 간 통신문제로 생각되어 접속 및 Ping 테스트를 하였으나, 정상적으로 통신이 되는 것을 확인하였습니다. 

 

내부 VDI와 Connection 서버와의 접속은 문제가 없는 상태

 

해당 테스트만으론 확인이 불가능하기에, 내부 Agent와 커넥션 서버 로그를 각각 확인해 봅니다.

 

<C:\ProgramData\VMware\VDM\logs\debug-####-##-###> -VDI Agent 로그 

2021--T12:42:20.967+09:00 DEBUG (1714-06F8) <Thread-3> [BrokerUpdateUtility] Timeout waiting for success response
2021--9T12:42:40.968+09:00 DEBUG (1714-06F8) <Thread-3> [BrokerUpdateUtility] Published CHANGEKEY request
2021--T12:42:49.391+09:00 DEBUG (0B30-0B80) <TimerService> [ws_perfmon] System CPU use: 0%
2021--T12:42:49.391+09:00 DEBUG (0B30-0B80) <TimerService> [ws_perfmon] Physical memory use: 19%
2021--T12:42:55.747+09:00 DEBUG (1714-0814) <theMonitor> [Main] Shutting down the JMS process, as we have been disconnected too long.
2021--T12:42:55.747+09:00 DEBUG (1714-11DC) <ShutdownHook> [AgentRegistryConfig] Shutting down AgentRegistryConfig
2021--T12:42:55.904+09:00 FATAL (1714-0BB4) <2996> [wsnm_jms] The JVM has exited with code 6

<c:\programdata\vmware\vdm\logs\debug-####-##-###> -cs server 로그 

58+09:00 WARN  (09A8-0570) <DesktopControlJMS> [DesktopTracker] CHANGEKEY message from agent/a107c71e-c3b1-41bc-a4a2-b11efba8ea23 is discarded as it cannot be validated
2021--T14:46:25.312+09:00 DEBUG (0CF0-0D28) <TimerService> [ws_perfmon] System CPU use: 1%
2021--T14:46:25.312+09:00 DEBUG (0CF0-0D28) <TimerService> [ws_perfmon] Physical memory use: 48%
2021--T14:46:25.899+09:00 DEBUG (09A8-2134) <MessageFrameWorkDispatch> [ws_java_bridgeDLL] Key::createTag(): Tag: {CMS-SMSS:1}
2021--T14:46:25.899+09:00 DEBUG (09A8-2134) <MessageFrameWorkDispatch> [ws_java_bridgeDLL] Key::createKeyspec(): Keyspec: CMS#1
03+09:00 WARN  (09A8-0570) <DesktopControlJMS> [JMSMessageSecurity] Message could not be validated: Signature invalid for identity agent/8fbf03df-c47e-4712-a0fb-acc2d049d034
2021-9T14:46:31.803+09:00 WARN  (09A8-0570) <DesktopControlJMS> [JMSMessageSecurity] Identity validation failed: UNKNOWN
2021--T14:46:31.803+09:00 DEBUG (09A8-0570) <DesktopControlJMS> [JMSMessageSecurity] Identity validation failure trace com.vmware.vdi.logger.Logger.debug(Logger.java:44)
java.lang.Exception: Identity validation failed: UNKNOWN is not known identity for: agent/8fbf03df-c47e-4712-a0fb-acc2d049d034

 

로그를 통하여 KB에서 동일한 증상, 로그된 내용을 찾았습니다.  

커넥션 서버와 에이전트간 키 교환 도중 발생할 수 있는 문제라고 합니다. 

KB에 나와있는 해결방법에 따라 커넥션 서버에서 수동으로 키값을 리셋 후 VDI 재부팅을 하고 나니 정상적으로 올라온 것을 확인하였습니다.

 

 

 

그나저나 KB에서는  7.10 버전에서 해결된 내용이라고 하는데.. 저는 8.. 인데...왜..? 

동일한 증상을 경험하신 분들이라면 한번쯤 확인하셨으면 좋겠습니다. 

읽어주셔서 감사합니다😁

반응형

'VMware > Horizon' 카테고리의 다른 글

[Horizon] 삭제 중 상태인 Desktop Pool 제거  (0) 2022.12.12