Hi Jochen, You're right but there is another problem
I have tried to enable rest_transport_uri with "public IP" but it couldn't 
bind to Interface with port 9000 or 12900. I have SeLinux na IPtables 
disabled so it's not a problem, maybe something else

# netstat -tlpn | grep java
tcp        0      0 ::ffff:127.0.0.1:9000  :::*                             
LISTEN      62396/java          
tcp        0      0 ::ffff:10.0.0.1:9200    :::*                           
  LISTEN      62396/java          
tcp        0      0 ::ffff:10.0.0.1:9300    :::*                           
  LISTEN      62396/java 


My current config:

rest_listen_uri = http://127.0.0.1:9000/api/
rest_transport_uri = http://10.0.0.1:9000/api/

web_listen_uri = http://127.0.0.1:9000/
web_endpoint_uri = https://graylog1.local/api/

HAproxy config:
https://graylog1.local/ -> 127.0.0.1:9000

I will appreciate any help

Cheers!


Hi, I have two node Graylog Cluster and as you can see there is some wrong 
> with cluster config:
>
>
> *GET /api/system/cluster/nodes*
>
> {
>     nodes: [
>         {
>             cluster_id: "6701202c-a9fe-42d2-8d5a-015acf66fbfa",
>             node_id: "5f596ebf-a988-4c08-858e-67d38a3e483b",
>             type: "server",
>             transport_address: "http://127.0.0.1:9000/api/";,
>             last_seen: "2017-02-10T00:45:30.000Z",
>             short_node_id: "5f596ebf",
>             hostname: "analog1.local",
>             is_master: true
>         },
>         {
>             cluster_id: "6701202c-a9fe-42d2-8d5a-015acf66fbfa",
>             node_id: "8be9e293-f60b-40c6-a0e6-8af6d617eb1a",
>             type: "server",
>             transport_address: "http://127.0.0.1:9000/api/";,
>             last_seen: "2017-02-10T00:45:30.000Z",
>             short_node_id: "8be9e293",
>             hostname: "analog2.local",
>             is_master: false
>         }
>     ],
>     total: 2
> }
>
>
> *GET /api/cluster*
>
> {
>     5f596ebf-a988-4c08-858e-67d38a3e483b: {
>         facility: "graylog-server",
>         codename: "Smuttynose",
>         node_id: "5f596ebf-a988-4c08-858e-67d38a3e483b",
>         cluster_id: "6701202c-a9fe-42d2-8d5a-015acf66fbfa",
>         version: "2.1.3+040d371",
>         started_at: "2017-02-10T00:27:13.101Z",
>         hostname: "analog1.local",
>         lifecycle: "running",
>         lb_status: "alive",
>         timezone: "Europe/Warsaw",
>         operating_system: "Linux 2.6.32-642.13.1.el6.x86_64",
>         is_processing: true
>     },
>     8be9e293-f60b-40c6-a0e6-8af6d617eb1a: {
>         facility: "graylog-server",
>         codename: "Smuttynose",
>         node_id: "5f596ebf-a988-4c08-858e-67d38a3e483b",
>         cluster_id: "6701202c-a9fe-42d2-8d5a-015acf66fbfa",
>         version: "2.1.3+040d371",
>         started_at: "2017-02-10T00:27:13.101Z",
>         hostname: "analog1.local",
>         lifecycle: "running",
>         lb_status: "alive",
>         timezone: "Europe/Warsaw",
>         operating_system: "Linux 2.6.32-642.13.1.el6.x86_64",
>         is_processing: true
>     }
> }
>
>
> In /api/cluster I supposed to get two different node_id and hostname, but 
> hostnames are the same. As the result when I want to check the 
> /system/nodes I got dubbed stats only of one host. The real HeapSize of 
> analog2 is only 2GB (img: analog2-system-nodes 
> <https://i.stack.imgur.com/Hg42b.png>) not 4GB as analog1 - master node 
> (img: analog1-system-nodes <https://i.stack.imgur.com/MW4yj.png>).
>
>
> MongoDB and ES Cluster are external and shared for both hosts.
>
>
> Thanks Guys
>
>
> Pawel
>

-- 
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/e73fcf7f-68bf-4c4b-a4f3-5649af8adfd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to