The following tutorials provide information in configuring replica set members to support specific operations, such as to provide dedicated backups, to support reporting, or to act as a cold standby.
Avoid reconfiguring replica sets that contain members of different MongoDB versions as validation rules may differ across MongoDB versions.
- Change the precedence given to a replica set members in an election for primary.更改在选择主节点时赋予复制集成员的优先级。
- Configure a secondary member to be invisible to applications in order to support significantly different usage, such as a dedicated backups.将从节点配置为对应用程序不可见，以便支持某些特殊场景，例如专用备份。
- Configure a secondary member to keep a delayed copy of the data set in order to provide a rolling backup.设置指定的从节点用来保留数据集的延迟副本，以便提供滚动备份。
- Create a secondary member that keeps a copy of the data set but does not vote in an election.创建一个从节点，该节点保留数据集的副本但不参与选举。