Data migration

Hi all!

I'm just wondering if it is possible to migrate alla the data indexed in a
node to another one, in order to close it for maintainance for example,
without altering the initial index configuration??

thanks

Decreasing the number of replica might help.
If its 0 and the master is set the other box , you can shutdown one of the
box without any issues.
Or you can use shutdown API to shut a node down but here data wont be
rebalance.

Corrent me if i am wrong.

Thanks
Vineeth

On Wed, Nov 30, 2011 at 12:46 PM, Lyes zaiko lyesjob@gmail.com wrote:

Hi all!

I'm just wondering if it is possible to migrate alla the data indexed in a
node to another one, in order to close it for maintainance for example,
without altering the initial index configuration??

thanks

Thanks for the quick reply Vineeth.

But is there another solution without decreasing the number of replica?
I'd like to keep the same config.
Any advice from ES team?

Thanks

On Wed, Nov 30, 2011 at 10:36 AM, Vineeth Mohan
vineethmohan@algotree.comwrote:

Decreasing the number of replica might help.
If its 0 and the master is set the other box , you can shutdown one of the
box without any issues.
Or you can use shutdown API to shut a node down but here data wont be
rebalance.

Corrent me if i am wrong.

Thanks
Vineeth

On Wed, Nov 30, 2011 at 12:46 PM, Lyes zaiko lyesjob@gmail.com wrote:

Hi all!

I'm just wondering if it is possible to migrate alla the data indexed in
a node to another one, in order to close it for maintainance for example,
without altering the initial index configuration??

thanks

You don't need to decrease the number of replicas. I assume you have a
single node? If so, start another node and let it join the cluster.

If you have an index with >0 number of replicas, then replicas will be
allocated on that node. Then, you can bring back the other node.

If you have 0 replicas (which make sense, since you have just a single
node), then you can either increase the number of replicas to 1, wait for
them to be allocated on the other node, and then shutdown the other node.
Another option is to filter out allocation on the first node (see here:
Elasticsearch Platform — Find real-time answers at scale | Elastic at the
bottom).

On Wed, Nov 30, 2011 at 12:43 PM, Lyes zaiko lyesjob@gmail.com wrote:

Thanks for the quick reply Vineeth.

But is there another solution without decreasing the number of replica?
I'd like to keep the same config.
Any advice from ES team?

Thanks

On Wed, Nov 30, 2011 at 10:36 AM, Vineeth Mohan <vineethmohan@algotree.com

wrote:

Decreasing the number of replica might help.
If its 0 and the master is set the other box , you can shutdown one of
the box without any issues.
Or you can use shutdown API to shut a node down but here data wont be
rebalance.

Corrent me if i am wrong.

Thanks
Vineeth

On Wed, Nov 30, 2011 at 12:46 PM, Lyes zaiko lyesjob@gmail.com wrote:

Hi all!

I'm just wondering if it is possible to migrate alla the data indexed in
a node to another one, in order to close it for maintainance for example,
without altering the initial index configuration??

thanks