I'm having trouble getting the new ES node added to the cluster. Nothing I do seems to work.
On both ES nodes (the first one running ES, Graylog, and MongoDB), If I execute the following: curl -XGET 'http://localhost:9200/_cluster/state?human&pretty' It connects just fine. But if I try that with the IP of the system I get a connection refused. I have tried changing network.host in the ES config file to everything I know to try, nothing works except localhost. I had it set to the IP of the system, but nothing could connect unless it was using "localhost". Both ES nodes are like this (the new one as well as the one running Graylog). I'm completely out of ideas. Neither system is running a firewall, they are both on the same subnet, they can both ping one another. Both systems are running CentOS 7. Any ideas? Nathan On Thursday, July 28, 2016 at 11:16:10 AM UTC-4, Jochen Schalanda wrote: > > Hi Nathan, > > the two configuration settings you've mentioned, > elasticsearch_discovery_zen_ping_multicast_enabled and > elasticsearch_discovery_zen_ping_unicast_hosts, are from the Graylog > configuration file and don't need to be changed when adding another > Elasticsearch node. > > Simply make sure, that the new Elasticsearch node has the same cluster > name, can connect to all other Elasticsearch nodes (including Graylog > itself), and has a list of the other Elasticsearch nodes to connect to. > > See > http://docs.graylog.org/en/2.0/pages/configuration/elasticsearch.html#configuration > > for further details. > > Cheers, > Jochen > > On Thursday, 28 July 2016 16:52:16 UTC+2, Nathan Mace wrote: >> >> I just installed Graylog + Mongo DB + Elastic Search on a Cent OS VM, >> following the Graylog official documentation. Working great. >> >> However, when the time comes that it isn't feasible to add additional CPU >> and RAM to the VM and I need to add another Elastic Search Node, what is >> the procedure for doing that to an existing "cluster" (even if that >> existing cluster is a single VM). >> >> I think it would be something along these lines: >> >> Create VM, install Elastic Search >> Edit the Elastic Search config so it has the same cluster name as the >> existing nodes >> Enable the following options: >> >> elasticsearch_discovery_zen_ping_multicast_enabled = false >> elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300 >> >> >> Start the new service >> Restart the existing Graylog + Elastic Search services. >> >> Am I missing anything? >> >> Nathan >> > -- 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/b306dd04-6232-484c-9a58-af85d44bc1ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
