Open Abuelodelanada opened 4 years ago
I've locally created a dummy empty no-auth entry point for this. So :+1:
Hi @lazka
Yes, I have done something similar. Sometimes I think the heartbeat have to be as isolated from the application as possible, but for this we will have to write may pieces of extra code. Maybe we can find a midpoint.
Issue
When having a big SuiteCRM instance deployed in many application nodes it is necessary a load balancer (Like HAProxy or Nginx) before que WebServers.
SuiteCRM does not have a way to inform a load balancer (or any external system) if an instance it's "healthy."
Expected Behavior
Would be great to have a heartbeat in SuiteCRM that could inform the load balncer if the SuiteCRM instance is "healthy".
Obviously we should define what "SuiteCRM instance is healthy" means. But at least we can say that a SuiteCRM instance is "healthy" if:
config.php
file exists.config_override.php
exists, SuiteCRM should have write access to this filecache_dir
log_dir
Actual Behavior
SuiteCRM does not have a heartbeat.
Possible Fix
Write a heartbeat (As much separated from SuiteCRM as possible)
Your Environment