# Cluster setup with ELK 5.0.1

**URL:** <https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491>\
**Category:** Elasticsearch\
**Created:** [November 18, 2016, 7:23am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491 "2016-11-18T07:23:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayalee](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sayalee](https://discuss.elastic.co/u/sayalee)\
**Post date:** [November 18, 2016, 7:23am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491/1 "2016-11-18T07:23:17Z")

</div>

I was trying to create a cluster with 3 nodes having ELK 5.0 on Redhat server

The following are the steps which I have followed:

• I have used Ansible and Tinc VPN for security purpose.

• Binded to my VPN IP (192.168.0.1, 192.168.0.2 and 192.168.0.3) in /etc/elasticsearch/elasticsearch.yml by editing the network.host to my VPN interface name “tun0”  
as network.host: [_tun0_, _local_].

• Set cluster name and node name for each node, but when I am trying to start the service elasticsearch it is getting locked by showing the error, but when I am editing the network.host with localhost its working fine.

These are the logs for Elasticsearch, please have a look at it.

[2016-11-18T12:03:11,258][INFO][o.e.n.Node] [node03] stopping ...  
[2016-11-18T12:03:13,075][INFO][o.e.n.Node] [node03] stopped  
[2016-11-18T12:03:13,076][INFO][o.e.n.Node] [node03] closing ...  
[2016-11-18T12:03:13,338][INFO][o.e.n.Node] [node03] closed  
[2016-11-18T12:03:24,081][WARN][o.e.b.JNANatives] unable to install syscall filter:  
java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG\_SECCOMP not compiled into kernel, CONFIG\_SECCOMP and CONFIG\_SECCOMP\_FILTER are needed  
at org.elasticsearch.bootstrap.Seccomp.linuxImpl(Seccomp.java:361) ~[elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Seccomp.init(Seccomp.java:630) ~[elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.JNANatives.trySeccomp(JNANatives.java:215) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Natives.trySeccomp(Natives.java:99) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:101) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:155) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.cli.Command.main(Command.java:62) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-5.0.0.jar:5.0.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) [elasticsearch-5.0.0.jar:5.0.0]  
max number of threads [1024] for user [elasticsearch] likely too low, increase to at least [2048]  
[2016-11-18T12:03:33,569][INFO][o.e.n.Node] [node03] stopping ...  
[2016-11-18T12:03:33,624][INFO][o.e.n.Node] [node03] stopped  
[2016-11-18T12:03:33,625][INFO][o.e.n.Node] [node03] closing ...  
[2016-11-18T12:03:33,649][INFO][o.e.n.Node] [node03] closed

But when I tried the same with elasticsearch 2.3.5 it worked,please can anyone let me know what is the problem.  
[This is the link which I followed for clustering]

([https://www.digitalocean.com/community/tutorials/how-to-set-up-a-production-elasticsearch-cluster-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-production-elasticsearch-cluster-on-ubuntu-14-04))

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 18, 2016, 8:11am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491/2 "2016-11-18T08:11:15Z")

</div>

I suppose ES 2.3.5 doesn't require CONFIG\_SECCOMP or care about the max number of threads.

---

<div class="post-metadata">

**Author:** ![sayalee](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sayalee](https://discuss.elastic.co/u/sayalee)\
**Post date:** [November 18, 2016, 9:59am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491/4 "2016-11-18T09:59:25Z")

</div>

Can you please let me know that is there any solution, if we need to do it on ELK 5.0.

---

<div class="post-metadata">

**Author:** ![sayalee](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@sayalee](https://discuss.elastic.co/u/sayalee)\
**Post date:** [December 8, 2016, 12:53am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491/5 "2016-12-08T00:53:44Z")

</div>

I tried the same (clustering) with latest version 5.0.2, thinking that the bug might have been solved but the issue is same, can someone please help me to solve the same.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 5, 2017, 12:54am UTC](https://discuss.elastic.co/t/cluster-setup-with-elk-5-0-1/66491/6 "2017-01-05T00:54:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
