Re: upgrade elasticsearch using the service wrapper?

2013-12-31 Thread Ivan Brusic
There is no explicit documentation about where to place the data directory, but I find it best if you should keep as much as possible (configs/data/logs) from outside of the installation directory. I believe installing from a deb/rpm package might enforce a directory structure (never tried). The

upgrade elasticsearch using the service wrapper?

2013-12-30 Thread allen chan
Hi, Does anyone know how to upgrade elasticsearch by using the service wrapper? https://github.com/elasticsearch/elasticsearch-servicewrapper I tried googling around and did not find anything documented. Thanks, Allen Chan -- You received this message because you are subscribed to the Google

Re: upgrade elasticsearch using the service wrapper?

2013-12-30 Thread joergpra...@gmail.com
That is pretty straightforward, copy the service wrapper into the bin folder of the new ES version, adjust paths and symlinks, and there you are. Stopping and starting the cluster and migrating the index data is no difference to not using the service wrapper. Jörg -- You received this message

Re: upgrade elasticsearch using the service wrapper?

2013-12-30 Thread allen chan
i never did an upgrade before. Are there instructions for migrating the index data? On Mon, Dec 30, 2013 at 1:35 PM, joergpra...@gmail.com joergpra...@gmail.com wrote: That is pretty straightforward, copy the service wrapper into the bin folder of the new ES version, adjust paths and

Re: upgrade elasticsearch using the service wrapper?

2013-12-30 Thread allen chan
I missed the part about placing the data directory outside of the elasticsearch installation. To correct it, will it be as simple as doing a mv command to move all the files to new dir and modify the elasticsearch config to use new dir? On Mon, Dec 30, 2013 at 2:48 PM, Ivan Brusic