Create a MongoDB Secondary/Arbiter

Create a MongoDB Secondary/Arbiter

𝗟𝗮𝘆𝗼𝘂𝘁 𝘀𝗲𝗰𝘁𝗶𝗼𝗻

In the previous demo we have successfully created a new MongoDB cluster.
Let's add a Secondary/Arbiter node to our Primary node now.

‍

You need to navigate to the Inventory area in the right part of the Layout section.
Below the Nodes section you will see an icon:
::| Drag me on Primary to add a Secondary/Arbiter.

You need to drag this icon onto Primary node and new window will appear.

You can choose between two services for your installation:

  • Proxmox
  • Your own VM

Select Next and create strong custom OS password.

Select Next again and choose the Cluster Role: Secondary or Arbiter.

‍You can enable or disable the Is Voting option for this node.

  • In MongoDB, 'voting' is a key part of how a replica set maintains high availability and automatic failover. Please refer to official MongoDB documentation for in-depth explanation.

Here you can choose the Сluster size: small, medium, large and very large.
Click on the Rest API icon.

  • You can paste generated code for use in automation in your preferred DevOps tool.

Select Submit to finalize your installation.

‍

Your installation path will look like this:Inventory area → Nodes → Drag me icon → Primary node → Choose service for your installation → Install a new MongoDB Secondary/Arbiter → Enter node details → Click Submit