Hello, 

I would like to inquire about the healthcheck API of IPA.

First of all, I set up 5 freeipa core servers and these core servers are 
located behind the load balancer. (to distribute clients' traffic)
(* The freeipa version is v4.11)

And I am trying to configure the healthcheck method on my load balancer to 
avoid sending client's traffic to unhealthy server.
I know that there is a command named 'ipa-healcheck' provied by freeipa.
But, our load balancer only supports HTTP, HTTPS, and HTTP2 protocol for 
healthcheck. So I couldn't use ipa-healthcheck command for our load balancer.

So, I tried to create additional API '/healthcheck' in httpd server.
and each call to HTTP path /healthcheck will trigger a local execution of 
ipa-healthcheck command to return the status of all services.
 : ipa-healthcheck --source 'ipahealthcheck.meta.services' --all

And today we just test using ipa-healthcheck command with rpcservers. But, 
Unfortunately, the CPU usage of the ipa-healthcheck command is pretty high 
(~80% CPU). 
So, we can not use this method for our healthcheck. 

So, Could you let me know is there an API provided by Freeipa for healthcheck?
or Please share me if there is a best way to configure healthcheck with HTTP 
protocol. 

Gahee Jung
-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to