ElasticSearch's IPV6 cluster

Prepare three machines, three ipv6 address information

First look at the configuration files of the three es

# ansible es -m shell -a "less elasticsearch-6.3.1/config/elasticsearch.yml | grep -v '#'"
2409:8010:5af0:1101:10:845:0:4A | CHANGED | rc=0 >>
cluster.name: es
node.name: es-245
node.master: true

node.data: true

path.data: /es/data
path.logs: /es/logs
network.host: 2409:8010:5af0:1101:10:845:0:4A
http.port: 9200

transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["[2409:8010:5af0:1101:10:845:0:49]:9033", "[2409:8010:5af0:1101:10:845:0:4A]:9300", "[2409:8010:5af0:1101:10:845:0:4B]:9300"]
discovery.zen.minimum_master_nodes: 2
2409:8010:5af0:1101:10:845:0:4B | CHANGED | rc=0 >>
cluster.name: es
node.name: es-246
node.master: true

node.data: true

path.data: /es/data
path.logs: /es/logs
network.host: 2409:8010:5af0:1101:10:845:0:4B
http.port: 9200

transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["[2409:8010:5af0:1101:10:845:0:49]:9033", "[2409:8010:5af0:1101:10:845:0:4A]:9300", "[2409:8010:5af0:1101:10:845:0:4B]:9300"]
discovery.zen.minimum_master_nodes: 2
2409:8010:5af0:1101:10:845:0:49 | CHANGED | rc=0 >>
cluster.name: es
node.name: es-244
node.master: true

node.data: true

path.data: /es/data
path.logs: /es/logs
network.host: 2409:8010:5af0:1101:10:845:0:49
http.port: 9200

transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["[2409:8010:5af0:1101:10:845:0:49]:9033", "[2409:8010:5af0:1101:10:845:0:4A]:9300", "[2409:8010:5af0:1101:10:845:0:4B]:9300"]
discovery.zen.minimum_master_nodes: 2

Start the es cluster. View es related information

Guess you like

Origin blog.csdn.net/red_sky_blue/article/details/129548514