Hello. I have a simple problem. My elasticsearch nodes don't communicate each other. Could you help me?
Elasticsearch 6.7.0(installed from rpm)
CentOS Linux 7.6.1810
Linux 3.10.0-957.5.1.el7.x86_64 on x86_64
I did these:
- configured servers to use LAN IP pool(10.0.0.X/24) and stopped firewalls on all nodes
- configured .yml file on all nodes
- cross-checked with "curl 10.0.0.x:9200" and got successful results
- cross-checked nslookup with "nslookup esX" and got successful results
Here is the log of elasticsearch:
[2019-03-29T12:31:01,652][INFO ][o.e.e.NodeEnvironment ] [es1] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [671.1gb], net total_space [899.5gb], types [rootfs]
[2019-03-29T12:31:01,655][INFO ][o.e.e.NodeEnvironment ] [es1] heap size [989.8mb], compressed ordinary object pointers [true]
[2019-03-29T12:31:01,683][INFO ][o.e.n.Node ] [es1] node name [es1], node ID [-JW1C2VySX6IQGQcBWQTXg]
[2019-03-29T12:31:01,684][INFO ][o.e.n.Node ] [es1] version[6.7.0], pid[18024], build[default/rpm/8453f77/2019-03-21T15:32:29.844721Z], OS[Linux/3.10.0-957.5.1.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_201/25.201-b09]
[2019-03-29T12:31:01,684][INFO ][o.e.n.Node ] [es1] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-5039937088361580624, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:/var/log/elasticsearch/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [aggs-matrix-stats]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [analysis-common]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [ingest-common]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [ingest-geoip]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [ingest-user-agent]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [lang-expression]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [lang-mustache]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [lang-painless]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [mapper-extras]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [parent-join]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [percolator]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [rank-eval]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [reindex]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [repository-url]
[2019-03-29T12:31:03,194][INFO ][o.e.p.PluginsService ] [es1] loaded module [transport-netty4]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [tribe]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-ccr]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-core]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-deprecation]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-graph]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-ilm]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-logstash]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-ml]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-monitoring]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-rollup]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-security]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-sql]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-upgrade]
[2019-03-29T12:31:03,195][INFO ][o.e.p.PluginsService ] [es1] loaded module [x-pack-watcher]
[2019-03-29T12:31:03,196][INFO ][o.e.p.PluginsService ] [es1] no plugins loaded
[2019-03-29T12:31:06,447][INFO ][o.e.x.s.a.s.FileRolesStore] [es1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2019-03-29T12:31:06,995][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es1] [controller/18145] [Main.cc@109] controller (64 bit): Version 6.7.0 (Build d74ae2ac01b10d) Copyright (c) 2019 Elasticsearch BV
[2019-03-29T12:31:07,355][DEBUG][o.e.a.ActionModule ] [es1] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-03-29T12:31:07,598][INFO ][o.e.d.DiscoveryModule ] [es1] using discovery type [zen] and host providers [settings]
[2019-03-29T12:31:08,255][INFO ][o.e.n.Node ] [es1] initialized
[2019-03-29T12:31:08,255][INFO ][o.e.n.Node ] [es1] starting ...
[2019-03-29T12:31:08,362][INFO ][o.e.t.TransportService ] [es1] publish_address {10.0.0.1:9300}, bound_addresses {10.0.0.1:9300}
[2019-03-29T12:31:08,385][INFO ][o.e.b.BootstrapChecks ] [es1] bound or publishing to a non-loopback address, enforcing bootstrap checks