Hi guys,
first of all thanks to exist and for this beautiful forum!
I have a question for you.
I have a cluster with two back-end where I have installed an old ejabberd 2.1.8 version(formally 2.1.7 with Fix Pub) on ubuntu 10.04 LTS.
Since above mentioned distro is close to its end of life, which is the best way to upgrade my two back-end?
Could be this:
- Preparing two new nodes with ubuntu 14.04 LTS, ejabberd 2.1.13;
- insert the previous nodes in the actual cluster,
- remove the old back-end. (It would be appreciate if someone could direct me a correct procedure if there was one and what I above mentioned is correct.)
Thanks in advance to someone who will answer me.
Regards.
Top
Best way to upgrade ejabberd
"inster old nodes in the cluster of new nodes": this seems a bad idea, because ejabberd updates the tables content when it starts. So, you'd end up mixing content of tables with different formats.
Better idea:
1. Setup a new ejabberd node using 2.1.13
2. Copy mnesia spool dir of one old 2.1.8 node to the machine where 2.1.13 is installed.
3. When you start ejabberd 2.1.13 in the new node, it will update the tables content.
4. Check it works correctly
5. Setup a second 2.1.13 node
6. Insert the second node in the cluster
Best way to upgrade ejabberd
Hello Badlop,
thanks for your fast suggestion and excuse me for my delayed response!
I take this opportunity to also do another question:
how can I migrate to the new/last stable version from my 2.1.13 (that is defined as "obsolete")?
Or in this moment can I upgrade to the 2.1.13 (even if it's defined obsolete) and waiting for new version (maybe 3.0)?
Thanks in advance.
Top
Best way to upgrade ejabberd
The method I described allows to update from any version to any newer version, anytime, and continually.
So, if you are happy right now with the features, performance and security of 2.1.13, you can upgrade to that one and continue using it until your circumstances change. And then you can upgrade to a newer one.
Best way to upgrade ejabberd
Hello Badlop,
thanks again for your answer.
Best Regards.
Top