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.
2121 The following tutorials provide task-oriented instructions for
2222 specific administrative tasks related to replica set operation.
2323
24+ .. Updates to this tutorial list should also be made in
25+ source/replication.txt
26+
2427 - :doc:`/tutorial/deploy-replica-set`
28+ - :doc:`/tutorial/convert-standalone-to-replica-set`
2529 - :doc:`/tutorial/expand-replica-set`
2630 - :doc:`/tutorial/deploy-geographically-distributed-replica-set`
2731 - :doc:`/tutorial/change-oplog-size`
28- - :doc:`/tutorial/convert-replica-set- to-replicated-shard-cluster `
32+ - :doc:`/tutorial/force-member- to-be-primary `
2933 - :doc:`/tutorial/change-hostnames-in-a-replica-set`
3034 - :doc:`/tutorial/convert-secondary-into-arbiter`
3135
@@ -333,9 +337,9 @@ the event of a network partition.
333337Procedures
334338----------
335339
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>`.
339343
340344.. _replica-set-admin-procedure-add-member:
341345
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ Tutorials
3838The following tutorials describe certain replica set maintenance
3939operations in detail:
4040
41+ .. Updates to this tutorial list should also be made in
42+ source/administration/replica-sets.txt
43+
4144.. toctree::
4245 :maxdepth: 1
4346
@@ -46,6 +49,7 @@ operations in detail:
4649 tutorial/expand-replica-set
4750 tutorial/deploy-geographically-distributed-replica-set
4851 tutorial/change-oplog-size
52+ tutorial/force-member-to-be-primary`
4953 tutorial/change-hostnames-in-a-replica-set
5054 tutorial/convert-secondary-into-arbiter
5155
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