Skip to main content

OpenSearch cluster fault tolerance

The fault tolerance of an OpenSearch managed database cluster is affected by:

Index replication

The cluster uses a standard index replication mechanism — for each primary shard, the number of replica shards that you specified during index creation is created. Writing to an index occurs only through primary shards; reading can be performed simultaneously from primary shards and replica shards.

Number of nodes in node groups

The node group with the Manager role contains three nodes. You cannot change the number of nodes in this group or add another node group with the Manager role.

The node group with the Data role consists of one node by default. To increase cluster fault tolerance, you can:

Node allocation type

The node allocation type in a cluster depends on:

  • the number of nodes in a group;
  • the type of pool where the cluster is located;
  • the number of segments in the pool;
  • configuration line.

You can view the list of pools and segments in the Servercore Infrastructure table in the Locations: countries, regions, availability zones, pools, and data center addresses guide.

Four node allocation types are available:

  • Single-Segment;
  • Multi-Segment;
  • Single-AZ;
  • Multi-AZ.

Nodes are placed in the same segment of a single-zone pool. Applicable:

  • a node group with the Data role that has only one node;
  • node groups with multiple nodes, if the cluster is located in a pool with only one segment;
  • node groups with multiple nodes in HighFreq configurations.
note

For example, you have created a cluster in the ru-2 pool and used HighFreq line configurations for node groups with Manager and Data roles. All nodes of both groups will be placed in the same pool segment, for example, ru-2c.

Increase the number of nodes in a group with the Data role

You can add no more than ten nodes to a node group with the Data role.

  1. In the Dashboard, on the top menu, click Products and select Managed Databases.
  2. Open the Active tab.
  3. Open the database cluster page → Settings tab.
  4. In the menu of the node group with the Data role, select Change configuration.
  5. Specify the number of nodes in the group.
  6. Click Save.

Add a node group with the Data role

The total number of node groups with the Data role in a cluster cannot exceed two.

  1. In the Dashboard, on the top menu, click Products and select Managed Databases.

  2. Open the Active tab.

  3. Open the database cluster page → Settings tab.

  4. In the Cluster block, click Add node group.

  5. Optional: change the node group name.

  6. Select a node group with the Data role.

  7. Select a configuration line.

  8. If you selected a line with custom configurations, specify the number of vCPUs, RAM size, and disk size.

  9. If you selected a line with fixed configurations, select a configuration.

  10. Specify the number of nodes in the group.

  11. Optional: to make the group nodes accessible from the internet, connect a public IP address to them:

    • if you selected an existing private subnet, enable the Public access toggle. The private subnet must meet the requirements;
    • if you are creating a new private subnet, connect a public IP address after adding the node group.

    IP addresses are automatically assigned to all nodes in the group.

  12. Click Save.