Skip to content

discovery.zen.ping.unicast.hosts can't deal with an url? #13175

@yuz11

Description

@yuz11

here's the deal:
I try to use the unicast function to organize a cluster.As I get 6 servers,so I try to write those ips to the /etc/hosts of all the servers by script(etc. 1.1.1.1 es.com),then config elasticsearch.yml " discovery.zen.ping.unicast.hosts: ["es.com"]".hoping es will find out the ips by this url.
of course,this action bring out no result.Then I have to config like "discovery.zen.ping.unicast.hosts: ["1.1.1.1","2.2.2.2"...etc]"
I really think if es unicast support url config will be better when dealing with a number of servers.
Will es unicast support config like " discovery.zen.ping.unicast.hosts: ["es.com"]" in the future?
Or any suggestion to deal with a number of servers supporting add/remove nodes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions