对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。
Docs 菜单

将独立运行转换为副本集

Cloud Manager 提供将独立实例转换为副本集的功能。 转换时,副本集会将以前的独立实例作为其主节点。

1
  1. 如果尚未显示,请从导航栏上的 Organizations 菜单中选择包含所需项目的组织。

  2. 如果尚未显示,请从导航栏的Projects菜单中选择所需的项目。

  3. 在侧边栏中,单击 Database 标题下的 Processes。

The Processes page displays.

2
3
4

输入副本集设置名称,然后单击Convert按钮。

重要

The replica set name is immutable once deployed. This setting corresponds to the _id replica configuration option.

Cloud Manager 显示Editing Replica Set视图。以下步骤描述了该视图中每个部分的内容。

5

Replica Set Configuration部分包含以下集群范围的配置设置。 值为灰色且非交互式的设置是不可变的。

设置
说明

Replica Set Id

Enter the name of your replica set deployment. You cannot change this once set. This setting corresponds to the _id replica configuration option.

Auth Schema Version

Select the schema for storing the user for storing the user data for your deployment. If you are upgrading from a MongoDB version older than 3.0, MongoDB 3.0+ uses a different schema for user data than previous versions. For compatibility information, see the Security Changes in the MongoDB 3.0 release notes.

Feature Compatibility Version

Select the Feature Compatibility Version of the deployment. Cloud Manager displays this field if your deployment runs MongoDB version 3.4 or later.

Replica Set Settings

显示与副本集关联的每个进程的进程表。您可以配置每个进程的 MongoDB Server 版本、数据目录和日志路径。

Process Name

mongod进程的主机名和端口。此主机名可以是主机名、FQDN、IPv4解决或 IPv6解决。 Cloud Manager最初会将每个进程分组在副本集名称下。单击副本集名称左侧的 显示副本集集中的所有 mongod 进程。

Cloud Manager 会将为副本集配置的任何设置应用于其所有关联进程。

Version

Select the MongoDB server version of the mongod process.

  • Version

  • Select the MongoDB server version of the mongod process.

Data Directory

Specify the directory where the mongod process stores data files. This setting corresponds to the storage.dbPath mongod configuration file option. The Cloud Manager Automation must have file system permission to read, write, and execute all files and folders in the specified directory.

Each mongod process must have its own database directory. If deploying multiple mongod processes on the same host, ensure each process has its own distinct directory.

Log File

Specify the full path to the mongod log file, including the log file name and extension. This setting corresponds to the systemLog.path configuration file option. The mongod must have permission to read and write to the specified file.

For example, specifying /var/log/mongodb/mongo.log directs the mongod to store its logfile in /var/log/mongodb/ as mongo.log.

The mongod must have its own unique log file. If deploying multiple mongod processes to the same host, ensure each mongod has its own distinct logfile.

6
7
8

查看副本集的详细信息。 准备就绪后,单击Save按钮。

9
10

否则,请单击 Cancel,您可以进行其他更改。

给本页内容打分

在此页面上