@JohnBlum can answer better but if you’re running your Gemfire app as a Spring 
Boot app with the spring-boot-starter-actuator you should be able to use the 
health endpoint meaning the endpoint is already there for you to use.  You can 
also customize your endpoints if you need something unique to your application. 
See 
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-health
 
<http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-health>.
  I noticed that Gemfire Health Indicator is not in the docs should be easy to 
add. 

Hope that helps,

Wayne


Wayne Lund
Platform Architect
916.296.1893
[email protected] <mailto:[email protected]>
www.pivotal.io <http://www.pivotal.io/>


> On Aug 8, 2016, at 12:34 PM, Nikhil Chandrappa <[email protected]> wrote:
> 
> We have a need to automatically failover traffic between PROD and DR Gemfire 
> clusters.
> 
> We are planning to implement lightweight Spring Boot Gemfire client app which 
> will be monitored by F5 load balancer. Say these apps expose a REST endpoint 
> which say "UP" or "DOWN" depending on weather Gemfire cluster is actively 
> serving requests.
> 
> One way we are thinking of implementing "Health Check" app is to handle 
> NoAvailableServersException. I believe this will only cover the scenario 
> where all the servers are down. We wanted to know, list of failure scenarios 
> to be handled in Gemfire client to determine whether cluster is running or 
> not.
> 
> We wanted to check with community if any one has implemented Health Check 
> styled apps for Gemfire cluster and can share insights with us. 
> 
> Thanks,
> Nikhil Chandrappa
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Nikhil Chandrappa | Data Engineer | New York
> 
> (315) 396 - 3789 <tel:(315)+396+-+3789> | [email protected] 
> <mailto:[email protected]> | Pivotal Software Inc. 
> <http://www.pivotal.io/>

Reply via email to