You have to set all ElasticSearch and graylog2-server nodes to the
same cluster.name.

On Tue, Feb 4, 2014 at 10:35 AM, Tanyar Pooyeh <[email protected]> wrote:
> Hi Bernie
>
> I am not able to run two instances of graylog2.
> I set the is.master to false, but I still get the error:
>
> ################################################################################
>
>
> ERROR: No ElasticSearch master was found.
>
>
> Need help?
>
>
> * Official documentation: http://support.torch.sh/help/kb
>
> * Mailing list: http://support.torch.sh/help/kb/general/forums-mailing-list
>
> * Issue tracker: http://support.torch.sh/help/kb/general/issue-trackers
>
> * Commercial support: http://www.torch.sh/
>
>
> But we also got some specific help pages that might help you in this case:
>
>
> *
> http://support.torch.sh/help/kb/graylog2-server/configuring-and-tuning-elasticsearch-for-graylog2-v0200
>
>
> Terminating. :(
>
>
> ################################################################################
>
> I have two elasticsearch config files and I am running 2 elasticsearches
> with 2 different config files with 2 different cluster names.
>
> do you have any ideas ?!
>
> Thank you,
>
> Tanyar
>
>
> On Thursday, September 19, 2013 3:36:19 PM UTC+2, BM wrote:
>>
>> Good Day Folks;
>>
>> Has anyone been successfull in running more than 2 graylog2 servers that
>> are connected to the same ES cluster and MongoDB?
>> My ultimate goal is to have 4 graylog2 servers up and running but
>> everytime I add a 3rd instance things go wonky.
>> That 3rd instances seems to force an election and wants to become master
>> even though its configuration has false for the that value (is_master =
>> false). If I watch things in the graylog web interface I see the 3rd
>> instance come online as a slave, wait a couple of minutes, refresh the
>> screen the 3rd instance is no longer available, wait another couple of
>> minutes and it cames back thinking it is a master thus leaving me with 2
>> masters and graylog complaining about having multiple masters. It doesn't
>> seem to matter which instance I set as a master it always comes down to that
>> 3rd instance misbehaving. Also it does not matter which box I add as the 3rd
>> instance as soon as the 3rd instance comes online, the same behaviour
>> occurs(wants to become master).
>>
>>
>>
>> Running on:
>> CentOS release 6.4
>>
>> elasticsearch-0.20.4.tar.gz
>>
>> graylog2-server-0.12.0.tar.gz
>>
>> graylog2-web-interface-0.12.0.tar.gz
>>
>> Ruby 1.9.3+
>> Mongo 2.4.6
>>
>> Thanks in advance.
>>
>> Bernie
>
> --
> You received this message because you are subscribed to the Google Groups
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to