Back Up Cluster Metadata备份群集元数据
This procedure shuts down the 此过程关闭mongod
instance of a config server in order to create a backup of a :sharded cluster's metadata. config
服务器的mongod
实例,以便创建:分片集群元数据的备份。The cluster's config servers store all of the cluster's metadata, most importantly the mapping from chunks to shards.集群的配置服务器存储集群的所有元数据,最重要的是从块到分片的映射。
When you perform this procedure, the cluster remains operational [1].执行此过程时,群集将保持可操作状态[1]。
Disable the cluster balancer process temporarily.暂时禁用群集平衡器进程。See Disable the Balancer for more information.有关详细信息,请参阅禁用平衡器。Shut down one of the config databases.关闭其中一个配置数据库。Create a full copy of the data files (i.e. the path specified by the创建数据文件的完整副本(即配置实例的dbPath
option for the config instance.)dbPath
选项指定的路径)Restart the original configuration server.重新启动原始配置服务器。Re-enable the balancer to allow the cluster to resume normal balancing operations.重新启用平衡器以允许群集恢复正常的平衡操作。See the Disable the Balancer section for more information on managing the balancer process.有关管理平衡器进程的更多信息,请参阅禁用平衡器部分。
Tip
See also: 另请参阅:
[1] | |