Content Server Manual / Version 2512.1
Table Of Contents
Load balancers and orchestrators should only route traffic to a
Content Server that is in run level online. Two health checks
reflect this state:
- gRPC port (default
6565) Use the standard gRPC health checking protocol (
grpc.health.v1.Health/Check) with the empty service name"", which reports the overall health of the server. The load balancer must speak HTTP/2 end to end to the server. The gRPC status codeOKonly means that the call succeeded; the actual health is thestatusfield of the response. Configure the load balancer to requireSERVINGif it can evaluate the response. Otherwise, combine the gRPC check with the readiness endpoint described below.The status is
NOT_SERVINGwhile the server starts up until it has reached its configured initial run level and the application is ready to accept traffic, whenever the run level is belowonline, and from the very beginning of the shutdown, so that load balancers stop routing requests before the gRPC server terminates. A pending run level switch does not change the status before the grace period has elapsed. Apart from the run level, the status aggregates all enabled Spring Boot health indicators, for example, thereplicatorindicator of a Replication Live Server ifmanagement.health.replicator.enabledis set. Hence, the gRPC health check is stricter than the readiness endpoint: whenever the readiness endpoint fails (HTTP status503), the gRPC health check reportsNOT_SERVING, but not vice versa.The status is derived from the health indicators every second, configurable with
spring.grpc.server.health.schedule.period, so it may follow a run level change with this delay. The switch toNOT_SERVINGat the beginning of the shutdown happens immediately.- HTTP port (default
8080) There is no dedicated health check path on the HTTP port. Use the readiness endpoint
/actuator/health/readinesson the management port (default8081) instead and configure the load balancer to use a different health check port than the traffic port. The readiness endpoint reportsUP(HTTP status200) only if the run level isonlineand reflects the readiness of all ports of the server.
The Workflow Server does not provide the gRPC health service. Check its
readiness with /actuator/health/readiness on its management port.


