You can have as many services as you want - just make sure you specify a 
different service_id for each of them.
By default service.bat uses a predefined name is no service_id is specified; 
all actions will use this.

In your case you would do something like:
service install node1
service install node2
service install node3

followed by;
service start node1
service start node2
service start node3

If you want further customize them you can try
service manager <service_id> : service manager node1

Cheers,

On 06/02/2014 3:27 PM, Wesley Creteur wrote:
Thx David for the fast response.

I'm using one physical machine because i have limited resources at my disposal. 
Windows Server 2012, 4 CPU Cores and 8
GB of RAM. I do want a failover, so thanks on that advice. I've followed the 
instructions of this website
: 
http://blogs.xtivia.com/home/-/blogs/creating-a-simple-elastic-search-cluster;jsessionid=514BB0062C612449FDC52A307ABDE7A8?p_p_auth=38j27oQ0

So i have multiple nodes setup and started the elasticsearch service  - 
bin>service install - on the master node. But
here is my issue. When i browse to the head plugin, i see only one node. When i 
remove the service and start all nodes
seperate "path/to/node1/bin>elasticsearch" and  
"path/to/node1/bin>elasticsearch" and ... the command prompts are kept
open and all nodes are then visible at head. Would it be possible to run all 
nodes with the windows service automatically?

Op donderdag 6 februari 2014 14:04:02 UTC+1 schreef Wesley Creteur:

    Hi,

    I'm using elasticsearch on my windows 2012 server and want to use the 
included service that starts automatically.
    I'm having 2 nodes (just leaning about that) but i can't get this to work. 
When i start each node individually i see
    all of my nodes on http://localhost:9200/_plugin/head/ 
<http://localhost:9200/_plugin/head/> but all my command
    prompts are still visible. Is there a solution for this?

    I'm using elasticsearch for my webshop (5000 products), facets and search. 
How many nodes, shards and replicas
    should i use?

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c05794d9-c4ac-4e01-b0cb-a34ad766cbe0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Costin

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/52F3914A.1030208%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to