# Sysconfig file of elasticsearch

**URL:** <https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945>\
**Category:** Elasticsearch\
**Tags:** homebrew\
**Created:** [July 4, 2019, 4:02pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945 "2019-07-04T16:02:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gongon](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@gongon](https://discuss.elastic.co/u/gongon)\
**Post date:** [July 4, 2019, 4:02pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945/1 "2019-07-04T16:02:26Z")

</div>

Hi,Elasticsearch has 3 configuration files, OK? elasticsearch.yml, jvm.options,log4J2.properties.  
And what about the sysconfig file of elasticsearch, I don't find it, Elasticsearch is installed with homebrew on my mac

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 5, 2019, 12:47pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945/2 "2019-07-05T12:47:04Z")

</div>

that file is only part of the RPM package. What are you trying to do, that makes you think, you need this file?

---

<div class="post-metadata">

**Author:** ![gongon](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@gongon](https://discuss.elastic.co/u/gongon)\
**Post date:** [July 5, 2019, 1:37pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945/3 "2019-07-05T13:37:23Z")

</div>

Hi! thank for your answer.  
I have to upgrade elastic stack to a major version, and so elasticsearch first.  
I have first to disable the allocation shard.  
Could you answer the few questions?  
Is there somewhere a configuration file to configure system settings for the cluster?  
As I am working in developpement mode is there necessary to disable the allocation shards? (data supply via stdin in mode production it would be more difficult so i try to understand the configuration of a elasticsearch cluster)  
If i must disable the allocation shard befor upgrading, where this setting is written ?

---

<div class="post-metadata">

**Author:** ![abrx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abrx/32/43881_2.png) [@abrx](https://discuss.elastic.co/u/abrx)\
**Post date:** [July 5, 2019, 1:45pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945/4 "2019-07-05T13:45:10Z")

</div>

Hi,  
You can user the [cluster settings API](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html) to put settings persistent (stay after restart) or transcient (lost after restart)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2019, 1:45pm UTC](https://discuss.elastic.co/t/sysconfig-file-of-elasticsearch/188945/5 "2019-08-02T13:45:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
