Hi Martin,

currently there's not automatic failover for Graylog2. Selecting a master 
node is (at the moment) a completely manual process. Graylog2 also doesn't 
support a multi-master mode.

You could probably work around that with some custom scripting, though.


Cheers,
Jochen


On Wednesday, 26 November 2014 10:31:47 UTC+1, Martin Petak wrote:
>
> Hi, thanks for the articles, it was really interesting reading.
>
> I figured out the part with elastic and mongo as we already do have 
> experience with those in our infrastructure. What I wanted to figure out 
> was the high availability of graylog2 servers which is not solved in those 
> articles.
>
> In graylog2 servers, you need to manually specify which node is master. 
> This master then does periodic tasks and the others don't. I would like to 
> solve the problem when you have three nodes (two slaves and one master) and 
> the master dies. When this happens, I would love if one of the slaves took 
> the master role and continued the work. When the original master would be 
> fixed, it would join the cluster as slave, as there already is one master. 
> This is how Elastic is doing it.
>
> I experimented with some configuration and the graylog2 cluster can work 
> like that if you say, that all of the nodes are master. Then, the first 
> node in cluster stays master and the others are forced to be slaves. If 
> master dies, one of the slaves becomes master. When I do this 
> configuration, I get alert in graylog-web, that I had more then one master 
> in the cluster and that the other ones were forced to work as slaves, but 
> that 'I should still fix this' which is why I would like to know if there 
> is a proper way of configuring master/master cluster.
>
> Thanks!
> Martin
>
> On Tuesday, November 25, 2014 6:51:13 PM UTC+1, Jochen Schalanda wrote:
>>
>> Hi Martin,
>>
>> without going into detail on your actual question, there is a great blog 
>> series by Scott Pack about highly-available Graylog2 setups which you might 
>> want to take a look at.
>>
>>    - http://secopsmonkey.com/migrating-graylog2-servers.html
>>    - http://secopsmonkey.com/migrating-graylog2-servers-part-2.html
>>    - http://secopsmonkey.com/migrating-graylog2-servers-part-3.html
>>    - http://secopsmonkey.com/migrating-graylog2-servers-part-4.html
>>    - http://secopsmonkey.com/migrating-graylog2-servers-part-5.html
>>    - 
>>    
>> http://secopsmonkey.com/migrating-graylog2-servers-part-6-lessons-learned.html
>>    
>> Cheers,
>> Jochen
>>
>

-- 
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/d/optout.

Reply via email to