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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/0e955943-52a2-4a69-aba8-a7bac1b29238%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to