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.
Before you resize a cluster, review Limitations and Considerations.
Important
When you horizontally resize an OpenSearch cluster, you can only increase the cluster's node configuration settings, you can't decrease the node configuration settings.
When you horizontally resize an OpenSearch cluster, you can only increase the 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.
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.
- On the Clusters list page, select the cluster that you want to work with. If you need help finding the list page or the cluster, see Listing OpenSearch Clusters.
- On the details page, select Resize.
- On the Resize panel, select the Horizontal option.
- Update the settings associated with the resizing option you chose. For descriptions of these settings, see Creating an OpenSearch Cluster.
- Select Resize.
The cluster's search functionality is in read-only mode until the resize operation is complete.
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.
Run ResizeOpensearchClusterVertically operation to vertically resize a cluster.