# Run multiple nodes on one machine

**URL:** <https://discuss.elastic.co/t/run-multiple-nodes-on-one-machine/27462>\
**Category:** Elasticsearch\
**Created:** [August 16, 2015, 11:26pm UTC](https://discuss.elastic.co/t/run-multiple-nodes-on-one-machine/27462 "2015-08-16T23:26:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mockiemockiz](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mockiemockiz](https://discuss.elastic.co/u/mockiemockiz)\
**Post date:** [August 16, 2015, 11:26pm UTC](https://discuss.elastic.co/t/run-multiple-nodes-on-one-machine/27462/1 "2015-08-16T23:26:36Z")

</div>

Hi, I'm learning elasticsearch and trying to run multiple nodes or 2 services of elasticsearch. the both work smoothly but the both use the same config file even I already point the another one to use different config file.

this is the output of node info:

> <https://gist.github.com/mockiemockiz/738f7b81ec5099b3d8f6>

as you can see above (the gist link) :

```
"config.ignore_system_properties": "true",
"config": "/etc/elasticsearch/elasticsearch1.yml",

```

but it seems the node ignores /etc/elasticsearch/elasticsearch1.yml file and keep using /etc/elasticsearch/elasticsearch.yml.

/etc/init.d/elasticsearch1

> <https://gist.github.com/anonymous/0b8e21b46909b46f2cab>

and please take a look for these code/output:

> <https://gist.github.com/mockiemockiz/4da8aaf76b4fffc66258#file-elasticsearch>

I'm using ubuntu 14.04 LTS

---

_[View the full topic](https://discuss.elastic.co/t/run-multiple-nodes-on-one-machine/27462)._
