@@ -15,14 +15,21 @@ post: |
15
15
For more information, see the
16
16
:ref:`sharding-balancing-disable-temporarily` procedure.
17
17
---
18
- title : Lock one secondary member of each replica set in each shard.
18
+ title : If necessary, lock one secondary member of each replica set in each shard.
19
19
stepnum : 2
20
20
ref : lock
21
21
content : |
22
- Lock one secondary member of each replica set in each shard so that your
22
+ If your :program:`mongod` does not have journaling enabled *or* your
23
+ journal and data files are on different volumes, you **must** lock
24
+ your :program:`mongod` before capturing a back up.
25
+
26
+ If your :program:`mongod` has journaling enabled and your journal
27
+ and data files are on the same volume, you may skip this step.
28
+
29
+ If you need to lock the :program:`monogd`, attempt to lock one
30
+ secondary member of each replica set in each shard so that your
23
31
backups reflect the state of your database at the nearest possible
24
- approximation of a single moment in time. Lock these :program:`mongod`
25
- instances in as short of an interval as possible.
32
+ approximation of a single moment in time.
26
33
27
34
To lock a secondary, connect through the :program:`mongo` shell to the
28
35
secondary member's :program:`mongod` instance and issue the
@@ -69,6 +76,9 @@ title: Unlock locked replica set members.
69
76
stepnum : 5
70
77
ref : unlock
71
78
content : |
79
+ If you locked any :program:`mongod` instances to capture the backup,
80
+ unlock them now.
81
+
72
82
Unlock all locked replica set members of each shard using the
73
83
:method:`db.fsyncUnlock()` method in the :program:`mongo` shell.
74
84
---
0 commit comments