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/
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?
Are you trying to start two nodes on the same physical machine? This is not recommended.
You see all your nodes in head? That's fine. What's wrong here? I don't understand what your issue actually is.
About sizing. I'd say it depends here mainly if you want to have failover or not.
I mean that for a small amount of documents if your documents come from a database (let's say SQL database), I guess that it takes only some seconds to reindex in case of crash, right?
So in that case, one node is enough. No replica. Only one shard.
If you want failover, you should have 3 nodes (trying to avoid split brain here) and 1 shard with 2 replica.
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/ 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?
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/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 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
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?
Op donderdag 6 februari 2014 14:42:34 UTC+1 schreef Costin Leau:
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
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/ <
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.