Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate cluster and node level configurations #8336

Closed
sunzhu opened this issue Nov 4, 2014 · 4 comments
Closed

Separate cluster and node level configurations #8336

sunzhu opened this issue Nov 4, 2014 · 4 comments
Labels

Comments

@sunzhu
Copy link

sunzhu commented Nov 4, 2014

Currently the configurations for the cluster and node are mixed together in the same elasticsearch.yml file. This make it hard to sync cluster level configurations as I have to edit elasticsearch.yml on all nodes one by one manually because they have different node level configurations such as paths and publish host etc.

@clintongormley
Copy link

Hi @sunzhu

What we recommend doing is to put the cluster-wide settings into elasticsearch.yml and to set the node specific settings on the command line or in the $ES_JAVA_OPTS environment variable.

@sunzhu
Copy link
Author

sunzhu commented Nov 4, 2014

thanks. It sounds reasonable. I still have 2 questions:

  1. Will the configurations in elasticsearch.yml overwrite command line or vice versa?
  2. Can all the node level configurations be set on the command line?

@clintongormley
Copy link

  1. Will the configurations in elasticsearch.yml overwrite command line or vice versa?

Generally yes, but see #6887

  1. Can all the node level configurations be set on the command line?

Yes, you can set any setting on the command line

@sunzhu
Copy link
Author

sunzhu commented Nov 5, 2014

OK, I will try the solution.

@sunzhu sunzhu closed this as completed Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants