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/clusters/quorum-node.md
+23-11Lines changed: 23 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,30 +5,42 @@ categories:
5
5
- docs
6
6
- operate
7
7
- rs
8
-
description: To reduce infrastucture costs, you can set up a quorum-only node with minimal resources.
8
+
description: To reduce infrastructure costs, you can set up a quorum-only node with minimal resources.
9
9
linktitle: Set up a quorum node
10
10
weight: 30
11
11
---
12
12
13
-
Clusters require an odd number of nodes to maintain [quorum](https://en.wikipedia.org/wiki/Quorum_(distributed_computing)) and avoid [split-brain](https://en.wikipedia.org/wiki/Split-brain_(computing)) scenarios when making decisions. If you need to add another node to a cluster for quorum but want to provision less resources to reduce infrastructure costs, you can set up a quorum node instead of a regular node.
13
+
Clusters require an odd number of nodes to maintain [quorum](https://en.wikipedia.org/wiki/Quorum_(distributed_computing)) and avoid [split-brain](https://en.wikipedia.org/wiki/Split-brain_(computing)) scenarios when making decisions. If you need to add another node to a cluster for quorum but want to provision fewer resources and reduce infrastructure costs, you can set up a quorum node instead of a regular node.
14
14
15
-
Quorum nodes only participate in voting for cluster quorum decisions and can act as a tiebreaker.
16
-
17
-
Because quorum nodes do not host database shards or endpoints, they have lower resource requirements. A quorum node should have at least 2 cores and 8 GB of RAM. See [hardware requirements]({{<relref "/operate/rs/installing-upgrading/install/plan-deployment/hardware-requirements">}}) for more details and considerations.
15
+
Quorum nodes participate in cluster quorum decisions and can act as a tiebreaker. However, they do not host database shards or endpoints, which reduces their resource requirements. A quorum node should have at least 2 cores and 8 GB of RAM. See the [hardware requirements]({{<relref "/operate/rs/installing-upgrading/install/plan-deployment/hardware-requirements">}}) for more details and considerations.
18
16
19
17
## Enable quorum_only setting
20
18
21
-
1. Run `rladmin status node` and find a node with no shards:
19
+
1. Run [`rladmin status nodes`]({{<relref "/operate/rs/references/cli-utilities/rladmin/status#status-nodes">}}) and find a node with no shards.
20
+
21
+
In the following example, nodes without shards have `0/100` for the `SHARDS` column.
22
22
23
23
```bash
24
-
rladmin status node
24
+
$ rladmin status nodes
25
+
CLUSTER NODES:
26
+
NODE:ID ROLE ADDRESS EXTERNAL_ADDRESS HOSTNAME SHARDS CORES FREE_RAM PROVISIONAL_RAM VERSION STATUS
27
+
node:1 master 192.0.2.0 3d99db1fdf4b 0/100 2 6.33GB/7.79GB 4.93GB/6.39GB 7.8.6-36 OK
28
+
node:2 slave 198.51.100.0 b87cc06c830f 2/100 2 6.44GB/7.79GB 1.04GB/6.39GB 7.8.6-36 OK
29
+
*node:3 slave 203.0.113.0 fc7a3d332458 0/100 2 6.45GB/7.79GB 4.93GB/6.39GB 7.8.6-36 OK
25
30
```
26
31
27
32
2. Enable `quorum_only` for the node using [`rladmin tune node`]({{<relref "/operate/rs/references/cli-utilities/rladmin/tune#tune-node">}}):
0 commit comments