File tree Expand file tree Collapse file tree 3 files changed +36
-4
lines changed Expand file tree Collapse file tree 3 files changed +36
-4
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,15 @@ suggestions for administers of replica sets.
21
21
The following tutorials provide task-oriented instructions for
22
22
specific administrative tasks related to replica set operation.
23
23
24
+ .. Updates to this tutorial list should also be made in
25
+ source/replication.txt
26
+
24
27
- :doc:`/tutorial/deploy-replica-set`
28
+ - :doc:`/tutorial/convert-standalone-to-replica-set`
25
29
- :doc:`/tutorial/expand-replica-set`
26
30
- :doc:`/tutorial/deploy-geographically-distributed-replica-set`
27
31
- :doc:`/tutorial/change-oplog-size`
28
- - :doc:`/tutorial/convert-replica-set- to-replicated-shard-cluster `
32
+ - :doc:`/tutorial/force-member- to-be-primary `
29
33
- :doc:`/tutorial/change-hostnames-in-a-replica-set`
30
34
- :doc:`/tutorial/convert-secondary-into-arbiter`
31
35
@@ -333,9 +337,9 @@ the event of a network partition.
333
337
Procedures
334
338
----------
335
339
336
- For procedures on deploying replica sets, see the
337
- :doc:`/administration/replication-architectures` document and the
338
- :ref:`list of replica set tutorials <replica-set-tutorials-list>`.
340
+ This section gives overview information on certain procedures. Most
341
+ procedures, however, are found in the :ref:`replica set tutorials
342
+ <replica-set-tutorials-list>`.
339
343
340
344
.. _replica-set-admin-procedure-add-member:
341
345
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ Tutorials
38
38
The following tutorials describe certain replica set maintenance
39
39
operations in detail:
40
40
41
+ .. Updates to this tutorial list should also be made in
42
+ source/administration/replica-sets.txt
43
+
41
44
.. toctree::
42
45
:maxdepth: 1
43
46
@@ -46,6 +49,7 @@ operations in detail:
46
49
tutorial/expand-replica-set
47
50
tutorial/deploy-geographically-distributed-replica-set
48
51
tutorial/change-oplog-size
52
+ tutorial/force-member-to-be-primary`
49
53
tutorial/change-hostnames-in-a-replica-set
50
54
tutorial/convert-secondary-into-arbiter
51
55
Original file line number Diff line number Diff line change
1
+ ==========================
2
+ For a Member to be Primary
3
+ ==========================
4
+
5
+ .. default-domain:: mongodb
6
+
7
+ Synopsis
8
+ --------
9
+
10
+ You can force a member to be :term:`primary` by giving it a higher
11
+ :data:`members[n].priority` value than any other member in the
12
+ :term:`replica set`. You can also force :term:`secondary` members never
13
+ to become primary by setting their :data:`members[n].priority` values to
14
+ ``0``, which means they can never seek :ref:`election
15
+ <replica-set-elections>` as primary. For more information on priority
16
+ levels, see :ref:`replica-set-node-priority`.
17
+
18
+ Procedures
19
+ ----------
20
+
21
+ .. _replica-set-force-member-to-be-primary-via-priority-setting:
22
+
23
+ Force a Member to be Primary by Setting it Priority High
24
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments