Number of seed nodes required to setup cross cluster search

Hello,

I was trying to setup the cross cluster search but not sure if only one seed should be configured or all seeds should be configured from remote cluster. Any help is appreciated.

Below example is the cross cluster settings with only one seed from the remote cluster.

PUT _cluster/settings
{
  "persistent": {
    "cluster": {
      "remote": {
        "cluster_one": {
          "seeds": [
            "192.168.1.1:9300"
          ]
        },

Below example is the cross cluster settings with all the seeds from the remote cluster.

 PUT _cluster/settings
    {
      "persistent": {
        "cluster": {
          "remote": {
            "cluster_one": {
              "seeds": ["192.168.1.1:9300", "192.168.1.2:9300", "192.168.1.3:9300" ]
            },

Thanks

Adding more seed nodes help in case one of the nodes is down (for maintenance or unexpected failure).

The role of seed and gateway nodes is explained on the documentation.

Let me know if you need more details or something is not clear.

Thank you for the reply and sharing the documentation, @Luca_Belluccini . Since in the documentation only one seed node is configured, i assumed that all seed nodes shouldn't be configured.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.