# Alias across tribe node clusters?

**URL:** <https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764>\
**Category:** Elasticsearch\
**Created:** [February 12, 2014, 10:41pm UTC](https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764 "2014-02-12T22:41:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nelson\_Jeppesen](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@Nelson\_Jeppesen](https://discuss.elastic.co/u/Nelson_Jeppesen)\
**Post date:** [February 12, 2014, 10:41pm UTC](https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764/1 "2014-02-12T22:41:26Z")

</div>

I want to scale ES between data centers for use with logstash and tribe  
node(s) sound like a great solution to this. One problem is that I'm not  
sure how aliases work across clusters.

Here's the general idea. two clusters and an alias index on the tribe  
cluster. Can you do this? Thanks for your help!

tribe node:  
alias: logstash\_yyyy.mm.dd  
members:  
logstash\_datacenter2\_yyyy.mm.dd (es cluster 1)  
logstash\_datacenter1\_yyyy.mm.dd (es cluster 2)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9a58828c-20b9-4ff3-9520-341b81e8e914%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a58828c-20b9-4ff3-9520-341b81e8e914%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Nelson\_Jeppesen](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@Nelson\_Jeppesen](https://discuss.elastic.co/u/Nelson_Jeppesen)\
**Post date:** [February 19, 2014, 10:39pm UTC](https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764/2 "2014-02-19T22:39:37Z")

</div>

Can anyone help me or know of a workaround? I've tried creating an alias on  
a tribe node and I get the following on ES1.0:

curl -XPOST '[http://localhost:9200/\_aliases](http://localhost:9200/_aliases)' -d '

> {  
> "actions" : [  
> { "add" : { "index" : "1", "alias" : "alias1" } }  
> ]  
> }'  
> {"error":"MasterNotDiscoveredException[waited for [30s]]","status":503}

On Wednesday, February 12, 2014 2:41:26 PM UTC-8, Nelson Jeppesen wrote:

> I want to scale ES between data centers for use with logstash and tribe  
> node(s) sound like a great solution to this. One problem is that I'm not  
> sure how aliases work across clusters.
> 
> Here's the general idea. two clusters and an alias index on the tribe  
> cluster. Can you do this? Thanks for your help!
> 
> tribe node:  
> alias: logstash\_yyyy.mm.dd  
> members:  
> logstash\_datacenter2\_yyyy.mm.dd (es cluster 1)  
> logstash\_datacenter1\_yyyy.mm.dd (es cluster 2)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a20708d6-9e99-4788-9a2b-a96d0dad71a7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a20708d6-9e99-4788-9a2b-a96d0dad71a7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [February 24, 2014, 7:49am UTC](https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764/3 "2014-02-24T07:49:32Z")

</div>

You can read and write data using the tribe node, but you cannot execute  
master level write operations. Those are all the operations that modify the  
cluster state, something that's done only by the master node.  
As aliases are part of the cluster state, modifying them means modifying  
the cluster state, which is not possible using the tribe node. This is  
stated in the  
docs: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-tribe.html)  
.

Cheers  
Luca

On Wednesday, February 19, 2014 11:39:37 PM UTC+1, Nelson Jeppesen wrote:

> Can anyone help me or know of a workaround? I've tried creating an alias  
> on a tribe node and I get the following on ES1.0:
> 
> curl -XPOST '[http://localhost:9200/\_aliases](http://localhost:9200/_aliases)' -d '
> 
> > {  
> > "actions" : [  
> > { "add" : { "index" : "1", "alias" : "alias1" } }  
> > ]  
> > }'  
> > {"error":"MasterNotDiscoveredException[waited for [30s]]","status":503}
> 
> On Wednesday, February 12, 2014 2:41:26 PM UTC-8, Nelson Jeppesen wrote:
> 
> > I want to scale ES between data centers for use with logstash and tribe  
> > node(s) sound like a great solution to this. One problem is that I'm not  
> > sure how aliases work across clusters.
> > 
> > Here's the general idea. two clusters and an alias index on the tribe  
> > cluster. Can you do this? Thanks for your help!
> > 
> > tribe node:  
> > alias: logstash\_yyyy.mm.dd  
> > members:  
> > logstash\_datacenter2\_yyyy.mm.dd (es cluster 1)  
> > logstash\_datacenter1\_yyyy.mm.dd (es cluster 2)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7c7ed271-b1cc-4b81-80d7-c4114f7f0474%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7c7ed271-b1cc-4b81-80d7-c4114f7f0474%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 1:47am UTC](https://discuss.elastic.co/t/alias-across-tribe-node-clusters/15764/4 "2017-07-06T01:47:55Z")

</div>


