# How are the seeds selected when cross cluster search is used?

**URL:** <https://discuss.elastic.co/t/how-are-the-seeds-selected-when-cross-cluster-search-is-used/126690>\
**Category:** Elasticsearch\
**Created:** [April 4, 2018, 7:55am UTC](https://discuss.elastic.co/t/how-are-the-seeds-selected-when-cross-cluster-search-is-used/126690 "2018-04-04T07:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuWatanabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuwatanabe/32/13259_2.png) [@YuWatanabe](https://discuss.elastic.co/u/YuWatanabe)\
**Post date:** [April 4, 2018, 7:55am UTC](https://discuss.elastic.co/t/how-are-the-seeds-selected-when-cross-cluster-search-is-used/126690/1 "2018-04-04T07:55:53Z")

</div>

Hello .

When multiple seeds are defined per cluster, how are seeds selected to send [one \_search\_shards](https://www.elastic.co/blog/tribe-nodes-and-cross-cluster-search-the-future-of-federated-search-in-elasticsearch)?

I am assuming _active-backup_ is used instead of _load balancing_ such as round-robin.

My settings are below.

1.Cluster Settings API

```
curl -XGET -H 'Content-Type: application/json' localhost:9200/_cluster/settings?pretty {
  "persistent" : {
    "search" : {
      "remote" : {
        "asia-northeast1-b" : {
          "seeds" : [
            "es-asia-northeast1-b-1:9300",
            "es-asia-northeast1-b-2:9300",
            "es-asia-northeast1-b-3:9300"
          ]
        }
      }
    }
  },
  "transient" : { }
}

```

2.Remote Info API

```
 curl -XGET -H 'Content-Type: application/json' localhost:9200/_remote/info?pretty
{
  "asia-northeast1-b" : {
    "seeds" : [
      "10.146.0.3:9300",
      "10.146.0.5:9300",
      "10.146.0.6:9300"
    ],
    "http_addresses" : [
      "10.146.0.3:9200",
      "10.146.0.6:9200",
      "10.146.0.5:9200"
    ],
    "connected" : true,
    "num_nodes_connected" : 3,
    "max_connections_per_cluster" : 3,
    "initial_connect_timeout" : "30s",
    "skip_unavailable" : false
  }
}
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2018, 7:56am UTC](https://discuss.elastic.co/t/how-are-the-seeds-selected-when-cross-cluster-search-is-used/126690/2 "2018-05-02T07:56:15Z")

</div>

Closed on May 2, 2018, 7:56am UTC

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