How to migrate to a new Cluster
In this FAQ we show you how easy you can migrate your indices to a new cluster with the QSC.
- setup the new opensearch cluster with the url https://my-new-opensearch-cluster.quasiris.de
- go to Index -> RAW -> instances and configure a new instance
{
"instances": [
{
"type": "elastic_aws_7",
"state": "active"
},
{
"type": "elastic_aws_7",
"state": "standby",
"endpoint": "https://my-new-opensearch-cluster.quasiris.de"
}
]
}
-
type: "elastic_aws_7" - defines the type of the cluster
-
state:
- active: search requests and feeding updates are send to the active instance
- stanby: just feeding updates are send to this instance
-
endpoint: the url of the cluster, if no endpoint is specified the default endpoint configured in the application.yaml is used
-
after configuring the standby instance a reindex must be startet (Feeding -> Job -> Run Job)
-
After the job has successfully completed, the state must be switched
{
"instances": [
{
"type": "elastic_aws_7",
"state": "standby"
},
{
"type": "elastic_aws_7",
"state": "active",
"endpoint": "https://my-new-opensearch-cluster.quasiris.de"
}
]
}
- After at most 5 minutes (caching), the new cluster is now processing the requests