Just one more thing once we are on this subject.

How do I add another server to the cluster ? 

Say I want to put another server for collecting data in another location 
how do I go about adding in a way it is available via the same website?

Thank you.

On Monday, 27 July 2015 16:58:21 UTC+1, Marius Sturm wrote:
>
> You can query the Eleasticsearch API directly to get an overview of all 
> connected nodes.
> For example, login to 192.168.1.100 and execute this: curl -XGET '
> http://192.168.1.100:9200/_cluster/state/nodes?pretty'
>
> You should see the Graylog server instance as one node + three real 
> Elasticsearch nodes. In total four.
>
> Cheers,
> Marius
>
>
> On 27 July 2015 at 16:20, Graylog2 <[email protected] <javascript:>> 
> wrote:
>
>> Hi Marius,
>>
>> Thank you for your answer, much appreciated.
>>
>> I have 3 VMs now and I am just getting familiar with the product and 
>> different options to set it up.
>>
>> Ideally I will aim for 3 data nodes and one webserver.
>>
>> I understand that graylog2 does not support multi-tenant conenctions ( 
>> limiting views of certain users for only specfic devices - does it ? ) 
>>
>> I am using OVA deployed three servers at the moment 100 is the main one 
>> cluster master and web server then 101 and 102 work as data nodes.
>>
>> I am not certain if 102 was taken into consideration by the cluster as I 
>> am not able to find command or option on the website that would show me 
>> that.
>>
>> I found overall status section which increased from yellow with 4 shards 
>> to : Elasticsearch cluster is green. Shards: 8 active, 0 initializing, 0 
>> relocating, 0 unassigned 
>>
>> after adding a second node.
>>
>> Adding a third one had no affect on this section so how can I check if it 
>> was taken into the cluster setup ?
>>
>> In the uppermentioned log file (master of the cluster ) I can see that 
>> the server was added ok :
>>
>> 2015-07-27_14:18:01.36843 [2015-07-27 14:18:01,368][INFO 
>> ][cluster.service          ] [Lament] added 
>> {[Impala][Y44NXqJoSemY_CS-1PVfrw][graylog][inet[/192.168.1.102:9300]],}, 
>> reason: zen-disco-receive(join from 
>> node[[Impala][Y44NXqJoSemY_CS-1PVfrw][graylog][inet[/192.168.1.102:9300]]])
>>
>> So that seems ok. 
>>
>> Am I missing anything ?
>>
>> Regards,
>>
>>
>> On Monday, 27 July 2015 14:42:19 UTC+1, Marius Sturm wrote:
>>>
>>> Hi,
>>> the 'list-servers' command returns only the Graylog server instances, so 
>>> one is ok in your setup. But Elasticsearch should start and run on the 
>>> datanodes. Could you check /var/log/graylog/elasticsearch/current for 
>>> errors?
>>>
>>> Which image do you use, OVA, Amazon, Openstack?
>>>
>>> Cheers,
>>> Marius
>>>
>>>
>>> On 27 July 2015 at 13:57, Graylog2 <[email protected]> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have a question about creating a cluster on 3 nodes using the virtual 
>>>> appliance
>>>>
>>>> I did spin 3 VMs with 192.168.1.100/101/102 IP addresses
>>>>
>>>> Run the first one with graylog-ctl reconfigure and the other two 
>>>> with graylog-ctl reconfigure-as-datanode
>>>>
>>>> When I try to run graylog-ctl list-servers I get only response from the 
>>>> master where it lists only itself not the other two.
>>>>
>>>> If I try to do it from any of the data nodes I get this error:
>>>>
>>>> Error:  501: All the given peers are not reachable (Tried to connect to 
>>>> each peer twice and failed) [0]
>>>>
>>>> I checked the graylog.conf (on master) and I can see this line there:
>>>>
>>>> elasticsearch_discovery_zen_ping_unicast_hosts = 192.168.1.100:9300,
>>>> 192.168.1.101:9300,192.168.1.102:9300
>>>>
>>>> After installing nmap I cannot see anything lsitening on port 9300 on 
>>>> any of the VMs.
>>>>
>>>> Any idea what am I missing ?
>>>>
>>>> Thank you and regards.
>>>>
>>>> -- 
>>>> 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.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Developer
>>>
>>> Tel.: +49 (0)40 609 452 077
>>> Fax.: +49 (0)40 609 452 078
>>>
>>> TORCH GmbH - A Graylog Company
>>> Steckelhörn 11
>>> 20457 Hamburg
>>> Germany
>>>
>>> https://www.graylog.com <https://www.torch.sh/>
>>>
>>> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
>>> Geschäftsführer: Lennart Koopmann (CEO)
>>>  
>>
>
>
> -- 
> Developer
>
> Tel.: +49 (0)40 609 452 077
> Fax.: +49 (0)40 609 452 078
>
> TORCH GmbH - A Graylog Company
> Steckelhörn 11
> 20457 Hamburg
> Germany
>
> https://www.graylog.com <https://www.torch.sh/>
>
> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
> Geschäftsführer: Lennart Koopmann (CEO)
>  

-- 
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/84ba090d-e888-4ba6-ae25-7670257577a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to