You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Health indicators [above](#health-endpoint) are added as gauge meters with name in the following pattern; health\_check\_%s, `%s` is a placeholder for service name e.g health\_check\_postgres
155
155
156
156
The above configs can be updated on `opensrp.properties` file.
157
+
158
+
### Redis for High Availability
159
+
160
+
Redis Sentinel support is added on openSRP server web. To enable redis sentinel the following configurations were added:
| redis.sentinels | Comma separated string of redis sentinel e.g. "localhost:26379,localhost:26380". | String | "" |
167
+
| redis.master | Name of the set of redis instances to monitor. Its a name used to identify a redis master and its replicas. | String | "mymaster" |
168
+
| redis.architecture | Refers to the deployment topology used i.e standalone or sentinel. | String | "standalone" |
169
+
170
+
#### Supported Redis Architecture
171
+
172
+
* Standalone - Deploy single redis instance (master).
173
+
* Sentinel - Deploy more than one redis instance made up of sentinel and a master, which would handle automatic fail-over in case a master is not available.
thrownewIllegalArgumentException(String.format("Missing or Invalid redis architecture config: current redis.architecture is '%s'", redisArchitecture));
0 commit comments