Continuing the discussion from OVA Upgrade V 2.5.1 -> 3.0?:
Hello, I was successful upgrade:
OVA 2.5.1 -> Debian package 3.0.
Follow the instructions to install Graylog 2.5 on the new server.
http://docs.graylog.org/en/2.5/pages/installation/os/debian.html
Stop Graylog and Elasticsearch services on the new server.
Make a /opt/graylog/mongodb/mongodump and a mongorestore in the new server.
Copy-paste all values from /opt/graylog/conf to respective files on the new server. (ex.: graylog node-id, node-name, elasticsearch.yml, …).
rsync -avh --progress --delete root@ova:/var/opt/graylog/data/elasticsearch/* /var/lib/elasticsearch/
chown -R elasticsearch. /var/lib/elasticsearch/
rsync -avh --progress --delete root@ova:/var/opt/graylog/data/journal/* /var/lib/graylog-server/journal/
chown -R graylog. /var/lib/graylog-server/journal/
You can run rsync copies whitout stop graylog on OVA, to reduce downtime, and after rsync “100%”, stop gralog services on OVA “graylog-ctl stop” and repeat the above commands to a full rely sync.
Now adjust de network interfaces, hostname… to same of the OVA.
Disconnect the OVA from network.
Access the Graylog URL (at port 9000, if the Nginx not installed/configured yet.)
For each indices (system/indices menu) do a Maintenance > “Recalculate index ranges”
Check yours inputs, streams, dashboards …
At this point you just migrated to a new server in package mode installation.
Now you can follow steps to upgrade to 3.0 version.
Adjusting de new config file:
http://docs.graylog.org/en/3.0/pages/upgrade/graylog-3.0.html
After the sucessfull upgrade you can install/configure nginx too.
http://docs.graylog.org/en/3.0/pages/configuration/web_interface.html#configuring-webif
I hope I’ve helped.