Add a Cross Cluster Connection
Add a cross cluster connection to enable cross cluster operations for a cluster.
You must add a cross cluster connections to perform cross cluster search and cross cluster replication in OCI Search with OpenSearch.
Use the configureoutboundcluster command and required parameters to add a cross cluster connection:
oci opensearch cluster configureoutboundcluster --inbound-cluster-ids file://<inbound-clusterIDs-file>.json --opensearch-cluster-id <cluster_ocid>
The following is an example of the json for a file containing the inbound cluster IDs:
{ "inboundClusterIds": ["ocid1.opensearchcluster.oc1.iad.<inbound_cluster1_unique_id>"], "opensearchClusterId": "ocid1.opensearchcluster.oc1.iad.<inbound_cluster2_unique_id>" }
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 the ConfigureOutboundCluster to add a cross cluster connection.
Run the UpdateOpensearchCluster operation to configure the cross cluster connections for the cluster.