How create some nodes and install as service in the same machine ES 6.3

Hi to everybody,

ELK is installed as debian pkg: " sudo apt-get update && sudo apt-get install elasticsearch"

Im trying to set up a ELK cluster in the same machine (ubuntu 16.04)

my intention is run 2 elasticsearch instances as service but the ways that I followed doesnt works.

when I run the first node all it is OK!

But when I try runs the second node (./bin/elasticsearch) with another yml config I get this error:
"./elasticsearch-env: línea 70: /etc/default/elasticsearch: Permiso denegado"

then i tried to set up a second service "elasticsearch2.service" but it doesn't work.

What is the best way to run multiples instances of Elastic Search in the same machine?

Best regards,

Adrián Calvo

I think the most commonly recommended option these days is docker.

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