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.


9 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
  5. I’m not that much of a internet reader to be honest but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back down the road. Cheers

    jogos io online
    friv play
    a10 for free

    ReplyDelete
  6. Its a great pleasure reading your post. Its full of information. Thanks for sharing it. Want to Buy Cannabis Oil Uk then hempoilsuk.com is the reliable store for the cbd guddies.

    ReplyDelete
  7. Smoke shop online wholesale is another example of a company that started out mixing and supplying their own-brand e-juices quickly developing into one of the best vape websites in the industry

    ReplyDelete
  8. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. You can opt to buy cbd gummies online

    ReplyDelete