# How to start two instances of ES 6.0 as a service?

**URL:** <https://discuss.elastic.co/t/how-to-start-two-instances-of-es-6-0-as-a-service/109328>\
**Category:** Elasticsearch\
**Created:** [November 28, 2017, 7:56am UTC](https://discuss.elastic.co/t/how-to-start-two-instances-of-es-6-0-as-a-service/109328 "2017-11-28T07:56:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![elastic\_paul](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@elastic\_paul](https://discuss.elastic.co/u/elastic_paul)\
**Post date:** [November 29, 2017, 6:13am UTC](https://discuss.elastic.co/t/how-to-start-two-instances-of-es-6-0-as-a-service/109328/4 "2017-11-29T06:13:01Z")

</div>

I have successfully finished this, so I will close this off as "solved".  
Here is a summary of things I did.

- Copied and edited files to:  
/etc/init.d/elasticsearch1  
/etc/init.d/elasticsearch2  
/etc/sysconfig/elasticsearch1  
/etc/sysconfig/elasticsearch2  
/etc/elasticseach1/config1/elasticsearch.yml  
/etc/elasticseach1/config2/elasticsearch.yml

- To start and stop the instances, I use "service elasticsearch1 start" etc

- I split my 12 disks per node between the two instances, 6 disks/pathsfor each instance

- As I have two ethernet adapters I assigned on unique IP to each instance

All working nicely and I am bulk loading in the 12,000 - 15,000/s region, being bound by the I/O on the spinning disks. Its steady and useable so I am happy.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-start-two-instances-of-es-6-0-as-a-service/109328)._
