Docs HomeMongoDB Manual

Member Configuration Tutorials成员配置教程

The following tutorials provide information on configuring replica set members to support specific operations, such as to provide dedicated backups, to support reporting, or to act as a cold standby.以下教程提供了有关配置复制副本集成员以支持特定操作的信息,例如提供专用备份、支持报告或充当冷备用。

Warning

Avoid reconfiguring replica sets that contain members of different MongoDB versions as validation rules may differ across MongoDB versions.避免重新配置包含不同MongoDB版本成员的副本集,因为验证规则可能因MongoDB版本而异。

Adjust Priority for Replica Set Member调整副本集成员的优先级
Change the precedence given to a replica set members in an election for primary.更改在主选举中给予副本集成员的优先级。
Prevent Secondary from Becoming Primary防止secondary成为primary
Make a secondary member ineligible for election as primary.使次要成员没有资格当选为主要成员。
Configure a Hidden Replica Set Member配置隐藏的副本集成员
Configure a secondary member to be invisible to applications in order to support significantly different usage, such as a dedicated backups.将辅助成员配置为应用程序不可见,以便支持明显不同的用途,例如专用备份。
Configure a Delayed Replica Set Member配置延迟的副本集成员
Configure a secondary member to keep a delayed copy of the data set in order to provide a rolling backup.配置辅助成员以保留数据集的延迟副本,以便提供滚动备份。
Configure Non-Voting Replica Set Member配置无表决权副本集成员
Create a secondary member that keeps a copy of the data set but does not vote in an election.创建一个保留数据集副本但不在选举中投票的辅助成员。
Convert a Secondary to an Arbiter将Secondary转换为仲裁器
Convert a secondary to an arbiter.将辅助程序转换为仲裁器。