# Plugins installed in a cluster of ES

**URL:** <https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097>\
**Category:** Elasticsearch\
**Created:** [May 23, 2013, 1:39pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097 "2013-05-23T13:39:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Soria](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Carlos\_Soria](https://discuss.elastic.co/u/Carlos_Soria)\
**Post date:** [May 23, 2013, 1:39pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/1 "2013-05-23T13:39:21Z")

</div>

Hello all,

My question is about clusters and plugins. I have ES in cluster (a master  
with two slaves) with a plugin in order to load data in it. Doing testing I  
have installed this plugin into the three ES instances. Is it the right way  
?? Can I indicate that only one instance executes the plugin (master or  
slave) ???

Thanks for all.

Regards,

Carlos Soria.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [May 23, 2013, 1:44pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/2 "2013-05-23T13:44:29Z")

</div>

Hey,

this is the right way, if you are using plugins, which load java code, you  
should enable it on all of your nodes. Apart from that, the plugin should  
make sure, that its functionality is only executed once. This depends  
highly on the plugin, but it is quite simple to make sure, that some code  
is only executed on the master node for example.

Can you talk about your plugin, so we might be able to help you more  
specific.

--Alex

On Thu, May 23, 2013 at 3:39 PM, Carlos Soria [soriacorado@gmail.com](mailto:soriacorado@gmail.com) wrote:

> Hello all,
> 
> My question is about clusters and plugins. I have ES in cluster (a master  
> with two slaves) with a plugin in order to load data in it. Doing testing I  
> have installed this plugin into the three ES instances. Is it the right way  
> ?? Can I indicate that only one instance executes the plugin (master or  
> slave) ???
> 
> Thanks for all.
> 
> Regards,\*\*\*\*
> 
> Carlos Soria.
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Carlos\_Soria](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Carlos\_Soria](https://discuss.elastic.co/u/Carlos_Soria)\
**Post date:** [May 23, 2013, 2:12pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/3 "2013-05-23T14:12:53Z")

</div>

Hello again,

It's a java plugin that loads data from an Informix data base to ES, in an  
incremental way, based in a timestamp stored into ES also, very similar to  
the JDBC river example. ES is a great solution that is bringing me much too  
good at my job, thanks.

Thank you very much for responding so quickly...

Regards,

Carlos Soria.

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

> Hello all,
> 
> My question is about clusters and plugins. I have ES in cluster (a master  
> with two slaves) with a plugin in order to load data in it. Doing testing I  
> have installed this plugin into the three ES instances. Is it the right way  
> ?? Can I indicate that only one instance executes the plugin (master or  
> slave) ???
> 
> Thanks for all.
> 
> Regards,
> 
> Carlos Soria.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![David\_G\_Ortega](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_g_ortega/32/46359_2.png) [@David\_G\_Ortega](https://discuss.elastic.co/u/David_G_Ortega)\
**Post date:** [May 23, 2013, 2:16pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/4 "2013-05-23T14:16:26Z")

</div>

Hi Carlos,

its right... plugins should be there, I recon you to use ES documents  
directly to save plugins configuration file to have all sync, otherwise a  
change in one has to be done in the others... maybe there is some  
notification between nodes... I have to dig more in the source code but to  
save this situation I had to use es to save the plugin configuration

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

> Hello all,
> 
> My question is about clusters and plugins. I have ES in cluster (a master  
> with two slaves) with a plugin in order to load data in it. Doing testing I  
> have installed this plugin into the three ES instances. Is it the right way  
> ?? Can I indicate that only one instance executes the plugin (master or  
> slave) ???
> 
> Thanks for all.
> 
> Regards,
> 
> Carlos Soria.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Carlos\_Soria](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Carlos\_Soria](https://discuss.elastic.co/u/Carlos_Soria)\
**Post date:** [May 24, 2013, 2:28pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/5 "2013-05-24T14:28:32Z")

</div>

Muchas gracias/Th

El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:

> Hello all,
> 
> My question is about clusters and plugins. I have ES in cluster (a master  
> with two slaves) with a plugin in order to load data in it. Doing testing I  
> have installed this plugin into the three ES instances. Is it the right way  
> ?? Can I indicate that only one instance executes the plugin (master or  
> slave) ???
> 
> Thanks for all.
> 
> Regards,
> 
> Carlos Soria.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 24, 2013, 3:06pm UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/6 "2013-05-24T15:06:31Z")

</div>

A river plugin is meant to be run only on one node in the cluster. If that  
node leaves the cluster, the cluster will start on another node.

As long as your plugin is a river plugin, you should be fine.

--  
Ivan

On Fri, May 24, 2013 at 7:28 AM, Carlos Soria [soriacorado@gmail.com](mailto:soriacorado@gmail.com) wrote:

> Muchas gracias/Th
> 
> El jueves, 23 de mayo de 2013 15:39:21 UTC+2, Carlos Soria escribió:
> 
> > Hello all,
> > 
> > My question is about clusters and plugins. I have ES in cluster (a master  
> > with two slaves) with a plugin in order to load data in it. Doing testing I  
> > have installed this plugin into the three ES instances. Is it the right way  
> > ?? Can I indicate that only one instance executes the plugin (master or  
> > slave) ???
> > 
> > Thanks for all.
> > 
> > Regards,
> > 
> > Carlos Soria.
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
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, 2:34am UTC](https://discuss.elastic.co/t/plugins-installed-in-a-cluster-of-es/12097/7 "2017-07-06T02:34:55Z")

</div>


