Hi tm-operations,

Can you share the dockerfile with the community ?



On Wednesday, August 31, 2016 at 11:33:05 AM UTC+2, tm-operations wrote:
>
> Hello Jochen
>
> Thanks for the reply.
>
> Since we are using Docker framework, the IP addresses are random as well 
> as the host names, so we can not "predict" the host names in the replica 
> set.
> If one of the replica set will "die" another one will start 
> with different name and IP.
> Rancher is managing all the underlying framework and 3 docker containers 
> running MongoDB are names "Service".
>
> Since we could not make this configuration to work,at this point we only 
> added 1 MongDB node.
>
>
>
>
> <https://lh3.googleusercontent.com/-lbSpDy5x004/V8ag_jTC3eI/AAAAAAAADuA/20FnY2wlwYUZZ8mOocLQwQVDsDeZsvppACLcB/s1600/2016-08-31%2B12_17_41-Clipboard.png>
>
>
>
> On Monday, August 29, 2016 at 5:56:14 PM UTC+3, Jochen Schalanda wrote:
>>
>> Hi Yossi,
>>
>> I'm not sure what the specific problem is, but you can configure Graylog 
>> to connect to a MongoDB replica set providing more than one MongoDB URI, 
>> see 
>> https://github.com/Graylog2/graylog2-server/blob/2.0.3/misc/graylog.conf#L384-L385
>>  
>> for an example.
>>
>> Cheers,
>> Jochen
>>
>> On Sunday, 28 August 2016 16:58:10 UTC+2, tm-operations wrote:
>>>
>>> Hi,
>>>
>>> We are working for the past couple of weeks on implementing a Graylog 
>>> stack in Docker with Rancher management.
>>>
>>> At this point, we were able to get a working stack fully redundant 
>>> (single site) configuration.
>>> The only part which is missing is MongoDB HA.
>>>
>>> When configuring MongoDB as a service, the rancher will point graylog 
>>> servers to one of the MongoDB servers regardless they are Primary or 
>>> Secondary.
>>>
>>> Anyone have an idea how to get a redundant configuration of MongDB in 
>>> Docket with Rancher?
>>>
>>> Our current lab configuration is:
>>>
>>> 3 Docker Hosts each runs on a VMWare Host
>>>
>>> *Container*
>>>
>>> 1 x Rancher
>>> 3 x NGNIX
>>> 3 x Graylog Server
>>> 3 x ElasticSearch Master nodes
>>> 3 x ElasticSearch Data nodes
>>> 3 x ElasticSearch Client nodes
>>> 1 x MongoDB
>>>
>>> Any help will be greatly appreciated.
>>>
>>> Thanks.
>>> -Yossi
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/b8a451d8-9fac-4602-b70f-8a62775f5de0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to