Horizontally Resizing an OpenSearch Cluster

Horizontally resize an OpenSearch cluster to increase the number of data nodes, leader nodes, and OpenSearch Dashboard nodes for the cluster.

This form of scaling lets you to improve the availability and resiliency of OpenSearch clusters.

Before you resize a cluster, review Limitations and Considerations.

Important

When you horizontally resize an OpenSearch cluster, you can only increase the OpenSearch cluster's node configuration settings, you can't decrease the node configuration settings.
Note

When you resize a cluster, the cluster's search functionality is in read-only mode until the resize operation completes. See Cluster Patching and Resize Operations. This applies to all vertical and horizontal resize operations, except the operation to increase the data node storage. When you increase the storage for a data node during the resize operation, the search functionality stays in read/write mode.
    1. Open the navigation menu and click Databases. Under OpenSearch, click Clusters.

    2. Under List scope, select the compartment that contains the cluster.

    3. In the Clusters list, click the name of the cluster that you want to resize.

    4. On the cluster details page click Resize.

    5. Select Horizontal, and then increase the number of dedicated data nodes, dedicated leader nodes, and OpenSearch Dashboard nodes, as needed.

    6. Click Resize.
    7. On the work request page, click View details or Close.
  • Use the resizehorizontal command and required parameters to horizontally resize a cluster:

    oci opensearch cluster resizehorizontal --opensearch-cluster-id cluster_ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

    Run ResizeOpensearchClusterVertically operation to vertically resize a cluster.