Edit a Replica Sets
Overview
You can add, remove, and reconfigure members in a replica setdirectly in the Whaleal console.
Procedures
Add a Replica Set Member
You must have an existing server to which to deploy the new replica set member. To add a member to an existing replica set, increasing the size of the set:
-
Navigate to the Clusters view for your deployment.
-
If it is not already displayed, select your desired project from the MongoDB menu in the navigation bar.
-
If it is not already displayed, select your desired project from the Projects menu in the drop-down box options.
Click the Clusters view.
-
-
On the card with the replica set, click Cluster Modify.
-
In Member Configuration, click Add+.
-
In Hostname, select the host that you want to add as a new member of the replica set.
Use the following procedure to add the host if it doesn't appear in the Hostname list:
-
In Hostname, select New Server.
If no hosts have yet been added to the project, the Hostname list does not appear. Click Server instead.
-
In the Server dialog, select your operating system and click Add Host.
-
Follow the instructions to install an Agent on the new host.
-
-
Click Update.
Edit a Replica Set Member
-
Navigate to the Clusters view for your deployment.
-
If it is not already displayed, select your desired project from the MongoDB menu in the navigation bar.
-
If it is not already displayed, select your desired project from the Projects menu in the drop-down box options.
Click the Clusters view.
-
-
On the card with the replica set, click Cluster Modify.
-
In Member Configuration, modify the settings for the replica set member that you want to edit.
Votes Specify whether the replica set member votes in elections. A value of 1
indicates the member votes, while a value of0
indicates that the member does not vote.Priority Specify the priority of the replica set member during elections. Non-voting members must have a priority of 0
.Build Indexes Specify whether the replica set member builds indexes. -
Click Update.
Remove a Replica Set Member
-
Navigate to the Clusters view for your deployment.
-
If it is not already displayed, select your desired project from the MongoDB menu in the navigation bar.
-
If it is not already displayed, select your desired project from the Projects menu in the drop-down box options.
Click the Clusters view.
-
-
On the card with the replica set, click Cluster Modify.
-
In Member Configuration, to find the target mongod process, click the red delete button on the right.
-
Click Update.
Edit a Cluster Configuration
-
Navigate to the Clusters view for your deployment.
-
If it is not already displayed, select your desired project from the MongoDB menu in the navigation bar.
-
If it is not already displayed, select your desired project from the Projects menu in the drop-down box options.
Click the Clusters view.
-
-
On the card with the replica set, click Cluster Modify.
-
Configure the replica set in Cluster Configuration.
-
Click Update.