The following URL is a sample for the FVTerm page that provides dynamic information on the health of the Inventu Viewer+ server:
http://10.1.10.13/FVTerm/FVHealth.aspx
If the server is offline, then the response will be --no response-- and this would obviously be the worst health!
Note that if your load balancer does not support interrogating a status string, then you should use the Config/Admin.html Web Server - Advanced setting: Server Unavailable Response Code. By setting this to a value like 503 (Server Busy), you can avoid needing to implement a test in the load balancer for the values listed below
Text responses include the following three possible text strings:
•ACTIVE - nnn Sessions Available
This is for a healthy server and will provide the number of sessions available--this is returned with HTTP code 200 regardless of the configuration setting for Server Unavailable Response Code
•ON HOLD
This server is on hold, and will not accept any new connection requests to a host
•ALL SESSIONS IN USE
All sessions are in-use on this server
With the Microsoft ARR load balancer, simply looking for the string "ACTIVE" worked well to distribute requests to healthy servers.
Here is an example of the full text returned:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Check Health
</title></head>
<body>
<div>
Server=<span id="lblStatus">ALL SESSIONS IN USE</span>
</div>
</body>
</html>