Friday, June 29, 2018

Healthcheck for CloverETL server

In modern cloud oriented world there is a need for periodical healthchecks of servers or services. Let's imagine that you have CloverETL server deployed on AWS and you need to know that your host machine, application container and CloverETL server is running.

AWS has you covered for first 2 points with healthchecks on load balancer .

This might not cover edge cases when your host machine and application container (it might be Tomcat or any other supported application containers) are running, but CloverETL server is not.

There are multiple ways how to check health or "liveness" (if thats even a word).

Use HTTP API call

CloverETL server supports HTTP api for multiple operations, you are interested in 'cluster_status' .
Please ignore name, same operation will work on cluster or even on single installation.

You can use health check functionality of load balancer to ping that endpoint to get status. 

Disadvantage of this approach is that by default HTTP API is protected by HTTP Basic authentication , what might be a problem for some health check services.

Calling accessibility page

CloverETL server has page that could be used without any authentication.


Calling this page will result in one of 3 states:
  1. OK/200
  2. 500 
  3. 503
This way you can use any health check application or service to learn if your CloverETL is living.


5 comments:

  1. Choose From Our Amazing Flavors Of CBD Oil

    ReplyDelete
  2. CBD Tinctures and hemp oil online shopping. CBD and hemp oil products for sale online. Shop for CBD and hemp oil now!

    ReplyDelete
  3. Thanks for sharing, this can be a great article.Really getting excited about read more. Really Great.Awesome article.Really getting excited about study more. Hold writing.Im obliged for the blog post.
    friv 4 school 2020
    abcya 5 games online
    friv 4 school 2017

    ReplyDelete
  4. Fantastic blog.Really thank you! Cool.Fantastic post.Your article is very nice thank you for share this such a wonderful article. This is a very nice blog that I will definitely come back to more times this year! They have lots of knowledge and tips.
    kizi
    free game 2019
    friv game 2019

    ReplyDelete