Hi guys,
I'm using elasticsearch 2.2.0 version currently. now i want to upgrade it to 5.0
I tried some basic concepts, it is not working.
can you guys help me about that
thanks in advance
Hi guys,
I'm using elasticsearch 2.2.0 version currently. now i want to upgrade it to 5.0
I tried some basic concepts, it is not working.
can you guys help me about that
thanks in advance
Yes.
i will plan in near time update ELK.
I have 2 node in my cluster and have the follow plan, there 2 apache tomcat server which accept any post queries and then my app wrote to ELK:
after my future test, i will write result to this Issue.
I have done my migrate:
there is a plan of my action:
prerequisites
[event_manager@event-handler-t ~]$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
cat /etc/sysctl.conf
vm.swappiness = 0
vm.max_map_count=262144
after configure it, run (for commit)
sysctl -p
check file /etc/security/limits.conf
cat /etc/security/limits.conf
your_user_name soft nofile 65536
your_user_name hard nofile 131072
node.name: node-2
node.master: true
node.data: false
path.logs: /data/logs/elasticsearch5/node1
network.publish_host: server1
network.bind_host: 0.0.0.0
http.port: 9212
discovery.zen.ping.unicast.hosts: ["127.0.0.1", "localhost","server1","server2"]
node.name: node-2
node.master: true
node.data: false
path.logs: /data/logs/elasticsearch5/node2
network.publish_host: server1
network.bind_host: 0.0.0.0
http.port: 9213
discovery.zen.ping.unicast.hosts: ["127.0.0.1", "localhost","server1","server2"]
and analog config for second server2.
cp -r /data/db/elasticsearch-2.3.4-node1/data/eventhandler-main-db/nodes /data/db/elasticsearch-5.0.2-node1/data
cp -r /data/db/elasticsearch-2.3.4-node2/data/eventhandler-main-db/nodes /data/db/elasticsearch-5.0.2-node2/data
curl localhost:9212/_template/
curl localhost:9212/_cat/nodes?v
curl localhost:9212/_cat/indices?v
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.