Editing an OpenSearch Cluster

Update an OpenSearch cluster's configuration.

    1. 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.
    2. On the details page, select Edit.
    3. Update the settings as needed. Avoid entering confidential information. For descriptions of the settings, see Creating an OpenSearch Pipeline.
    4. Select Save changes.
  • Use the oci opensearch cluster update command and required parameters to update a cluster:

    oci opensearch cluster update --opensearch-cluster-id cluster_ocid --display-name display_name [OPTIONS]

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

    Generating a Password Hash

    If you're including the optional security-master-user-password-hash parameter to use with the optional security-master-user-name parameter, you need to generate the password hash:

    1. Download the following file:
    2. Open a command prompt and run the following command:
      java -jar oci-crypto-common-1.0.0-SNAPSHOT.jar pbkdf2_stretch_1000 <password-in-plain-text>

      where <password-in-plain-text> is a password of your choosing.

      You must have Java installed on your computer before running this command.

    3. Record the generated password hash.
    4. Include the generated password hash as the value for the security-master-user-password-hash parameter.
      Use single quotes around the password. For example:
      oci opensearch cluster update ... --security-master-user-name MyUser --security-master-user-password-hash 'pbkdf2_...MNUT5No='
  • Run the UpdateOpensearchCluster operation to update a cluster.