Health Check for new Web Portal 8.2.1

Dear Community,

Is somebody aware of an option on how to perform an automated health check from a load balancer toward a specific URL of the new angular-based Web Portal in OneIM 8.2.1?

As described in the following thread, there is an option to call the ping route for the Web Designer Web Portal.

 Health Check configuration for load balancer 

Looking forward to have a similar option for the new Web Portal.

Regards,

Manuel

Parents
  • Hello Manuel,

    You can use the /imx/ping URL. If the server is running, this URL will return a 200 OK code along with some flags that should usually be "false".

    {
      "NoDbConnection": false,
      "HasPluginErrors": false,
      "IsWaitingToStartUpdate": false,
      "PluginsWithErrors": []
    }

    Thanks,

    Hanno

  • While setting up a health check on the load balancer, I came across the question, how the NoDbConnection flag works.

    For a simple test, I stopped the MS SQL service that is hosting the OneIM database in our test environment. My expectation was that we will get an answer "NoDbConnection": true.

    However, the test ended in receiving a 404 Not Found response when calling the /imx/ping URL. Is this what we can expect? 
    If yes, we would limit the health check condition to the return code and not evaluate the flags in the JSON response.

  • This is not expected. The imx/ping endpoint should always work even if the database is inaccessible.

Reply Children
No Data