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
Copy file name to clipboardExpand all lines: content/operate/rs/databases/durability-ha/db-availability.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ weight: 30
14
14
15
15
You can use the [database availability API]({{<relref "/operate/rs/references/rest-api/requests/bdbs/availability">}}) to verify whether a Redis Software database is available to perform read and write operations and can respond to queries from client applications. Load balancers and automated monitoring tools can use this API to monitor database availability.
16
16
17
-
## Check database availability
17
+
## Check database availability for monitoring
18
18
19
-
To check the availability status of a database:
19
+
To monitor database availability, use the following REST API request:
20
20
21
21
```sh
22
22
GET /v1/bdbs/<database_id>/availability
@@ -28,9 +28,9 @@ Returns the status code 200 OK if the database is available.
28
28
29
29
If the database is unavailable, returns an error status code and a JSON object that contains [`error_code` and `description` fields]({{<relref "/operate/rs/references/rest-api/requests/bdbs/availability#get-db-error-codes">}}).
30
30
31
-
## Check local database endpoint availability
31
+
## Check local database endpoint availability for load balancers
32
32
33
-
To check the availability of a local database endpoint:
33
+
To check database availability when using a load balancer and the recommended `all-nodes` proxy policy, use the local database endpoints for each node:
34
34
35
35
```sh
36
36
GET /v1/local/bdbs/<database_id>/endpoint/availability
0 commit comments