I want to configure elasticsearch to a new IP address. Currently, it is on a dev machine. But I want to configure to a new IP address.
currently, in my elasticsearch.yml the current settings are
path.data : /var/lib/elasticsearch
inside /var/lib/ elasticsearch is link file to links to /mnt/elasticsearch
I want to install elasticsearch to new machine. machine ipaddress is eg., 5*.25*.22*.1*,
My questions are,
Do I have to install elastic search on this new IP address,
or can I set this new IP address as network.host path in the existing dev machine?
or do I have backup and restore to the new ipaddress?
Please suggest how to configure?
I had tried changing the network host to the new IP address, and copied elasticsearch folder to the new machine and set the path to path.data and I had set path.logs to new machine folder paths and restarted elastic search from the existing dev machine.
elastic search failed to start.
Please suggest how to configure the elastic search on this new machine.
With many thanks,