Elasticsearch ノード設定

Elasticsearch ノード設定

Elasticsearchノード設定

Elasticsearchのノードを有効化するには、elasticsearch.ymlの設定を変更する。

/etc/elasticsearch/elasticsearch.yml

# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です