I have an ELK cluster with 6 nodes (5linux and 1windows). I am using the basic license.
I tried to add one more linux node on my ELK cluster (Centos 7). I used exactly the same instructions to add the new node on the Cluster but i am getting this error.
elasticsearch: http://itkvmxh01.emea.nsn-net.net:9200...
parse url... OK
connection...
parse host... OK
dns lookup... OK
addresses: 151.98.17.61
dial up... OK
TLS... WARN secure connection disabled
talk to server... ERROR Connection marked as failed because the onConnect callback failed: invalid license found, requires a basic or a valid trial
license and received Open source
[root@itkvmxh01 ~]# cat /etc/elasticsearch/elasticsearch.yml
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
# Before you set out to tweak and tune the configuration, make sure you
# understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
cluster.name: xh-elastic-cluster-1
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
# node.name: xh-ita-elastic-1
node.name: xh-it-elastic-2
cluster.initial_master_nodes:
- xh-gr-elastic-1
- xh-fr-elastic-1
- xh-it-elastic-1
discovery.seed_hosts:
- 10.158.67.175
- 10.159.166.9
- 10.158.67.107
- 151.98.17.60
- 151.98.17.61
- 135.238.239.48
- 135.238.239.132
node.data: true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 1
xpack.license.self_generated.type: basic
xpack.security.enabled: false
#node.master: true
#node.data: false
#node.ingest: false
#cluster.remote.connect: false
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /data/elasticsearch
#
# Path to log files:
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
network.host: 0.0.0.0
#network.bind_host: 0.0.0.0
#network.publish_host: 0.0.0.0
http.port: 9200
# transport.host: localhost
transport.host: 0.0.0.0
transport.tcp.port: 9300
#network.host: localhost
#
# Set a custom port for HTTP:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when new node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.zen.ping.unicast.hosts: ["10.158.67.175", "10.159.166.9", "10.158.67.107", "151.98.17.60", "151.98.17.61", "135.238.239.48", "135.238.239.1
32"]
#
# Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
#
#discovery.zen.minimum_master_nodes:
#
# For more information, consult the zen discovery module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.