Java Dispatcher health check using a load balancer.
search cancel

Java Dispatcher health check using a load balancer.

book

Article ID: 39807

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

What is a safe way to do a health check against the Plex Java Dispatcher when using a load balancer such as HAProxy ? We don't want the check to increase the session count.

Environment

CA Plex 7.2.1 and higher

Cause

The dispatcher expects an ObjectStream and will throw an exception when we connect via HTTP, Telnet or plain socket. This should not be a problem as long as the session count is not affected.

Resolution

To do the health check for Plex java dispatcher you can use any external service/HTTP/Telnet. As described when any non-Plex client tries to connect to dispatcher it will throw an exception. This is expected behavior and doing so won’t change the active session count.