ElasticSearch之IPV6集群

准备三台机器,三个ipv6的地址信息

首先看下3台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

启动es集群。查看es相关信息

猜你喜欢

转载自blog.csdn.net/red_sky_blue/article/details/129548514