This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Health Check configuration for load balancer

Hello Community,

we have 1IM V8.1 running in the environment with 2 Application Servers connected via load balancer and 2 Web Servers connected via load balancer.

Can anyone advise how to configure Health Check for load balancer for Application Servers and Web Servers?

Thank you!

  • A simple health check for the application server can be done with an HTTP request to the ping route.

    See the following sample from the application server container definition file for windows.

    HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD powershell -command `
    try { `
    $response = iwr localhost/.../ping -UseBasicParsing; `
    if ($response.StatusCode -eq 200) { return 0} `
    else {return 1}; `
    } catch { return 1 }