# Elastic search multiple instances or multiple nodes on the same machine

**URL:** <https://discuss.elastic.co/t/elastic-search-multiple-instances-or-multiple-nodes-on-the-same-machine/96254>\
**Category:** Elasticsearch\
**Created:** [August 8, 2017, 11:28am UTC](https://discuss.elastic.co/t/elastic-search-multiple-instances-or-multiple-nodes-on-the-same-machine/96254 "2017-08-08T11:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunvijayam](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@arunvijayam](https://discuss.elastic.co/u/arunvijayam)\
**Post date:** [August 8, 2017, 11:28am UTC](https://discuss.elastic.co/t/elastic-search-multiple-instances-or-multiple-nodes-on-the-same-machine/96254/1 "2017-08-08T11:28:57Z")

</div>

Hi All,

Is there any opportunity to run multiple instances or multiple nodes of elasticsearch in the same machine. I am getting below on running below command.

start "ElasticSearch1" /I "cmd" "D:\SWTOOLS\Apache\Servers\elasticsearch-5.4.0\bin\elasticsearch.bat -Des.config=%ES\_HOME%/config/elasticsearch1.yml"

Error ::  
[2017-08-08T16:21:34,753][INFO][o.e.n.Node] [01hw791865-node-1] initializing ...  
[2017-08-08T16:21:36,972][INFO][o.e.e.NodeEnvironment] [01hw791865-node-1] using [1] data paths, mounts [[NewDisk (D:)]], net usable\_space [305.8gb], net total\_space [318.7gb], spins? [unknown], types [NTFS]  
[2017-08-08T16:21:36,972][INFO][o.e.e.NodeEnvironment] [01hw791865-node-1] heap size [494.9mb], compressed ordinary object pointers [true]  
[2017-08-08T16:21:37,053][INFO][o.e.n.Node] [01hw791865-node-1] node name [01hw791865-node-1], node ID [Qcg\_1YGcQlGCTaeRnV1sKQ]  
[2017-08-08T16:21:37,054][INFO][o.e.n.Node] [01hw791865-node-1] version[5.4.0], pid[12972], build[780f8c4/2017-04-28T17:43:27.229Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0\_131/25.131-b11]  
[2017-08-08T16:21:53,952][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [aggs-matrix-stats]  
[2017-08-08T16:21:53,952][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [ingest-common]  
[2017-08-08T16:21:53,953][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [lang-expression]  
[2017-08-08T16:21:53,953][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [lang-groovy]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [lang-mustache]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [lang-painless]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [percolator]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [reindex]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [transport-netty3]  
[2017-08-08T16:21:53,954][INFO][o.e.p.PluginsService] [01hw791865-node-1] loaded module [transport-netty4]  
[2017-08-08T16:21:53,955][INFO][o.e.p.PluginsService] [01hw791865-node-1] no plugins loaded  
[2017-08-08T16:22:33,878][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [01hw791865-node-1] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [es.config] please check that any required plugins are installed, or check the breaking changes documentation for removed settings  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.4.0.jar:5.4.0]  
Caused by: java.lang.IllegalArgumentException: unknown setting [es.config] please check that any required plugins are installed, or check the breaking changes documentation for removed settings  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:293) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:256) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:139) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.node.Node.(Node.java:342) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.node.Node.(Node.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Bootstrap$6.(Bootstrap.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:242) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:360) ~[elasticsearch-5.4.0.jar:5.4.0]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.4.0.jar:5.4.0]  
... 6 more

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 8, 2017, 12:44pm UTC](https://discuss.elastic.co/t/elastic-search-multiple-instances-or-multiple-nodes-on-the-same-machine/96254/2 "2017-08-08T12:44:45Z")

</div>

For testing?

Just run:

```auto
bin/elasticsearch

```

and then

```auto
bin/elasticsearch

```

in another terminal. Should work OOTB.

If you really need to change some settings, you can pass them using the command line like `-Enode.name=node1` or creating a dir `config1` and `config2` and use `-Epath.conf=config1` and `-Epath.conf=config2`. Don't forget to copy all the config files in each config dir.

---

<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:** [September 5, 2017, 12:44pm UTC](https://discuss.elastic.co/t/elastic-search-multiple-instances-or-multiple-nodes-on-the-same-machine/96254/3 "2017-09-05T12:44:45Z")

</div>

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