Page 1 of 1
Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Tue Nov 06, 2012 9:40 pm
by benghoi
Hi Guys,
How to upgrade vicibox 3.1.13 to 3.1.15?
Im adding 1 server but the version is 3.1.13 and my existing servers are in 3.1.15
Thanks!
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 6:59 am
by boybawang
you just need to copy the vicidial scripts from 3.1.15 to your 3.1.13, its under /usr/src/astguiclient/trunk then run the install.pl so your newly added server will have the same version of vicidial
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 1:28 pm
by benghoi
Hi boybawang,
I just want to clarify, because i am newbie in this =)
There are folders(agi,bin,docs,experimental,extras,LANG_www,libs,sounds,SuSE,translation,www,.svn) and files(INSTALL,UPGRADE,version,install.pl) under Trunk folder, should i copy and replace the trunk folder from 3.1.15 to 3.1.13 or only a certain folder/file?
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 5:02 pm
by williamconley
http://wiki.vicidial.org/index.php/SVN:howtohas a lot of info including a link at the end to another forum topic with a description.
When we do this, we use "svn info" on the "target machine" (the machine with the version we want to "match"), and then "svn up -r 1559" (with the appropriate matching revision number) in the trunk folder on the machine to be upgraded.
After this, you execute "perl install.pl" in the trunk folder and answer the questions, and then learn how to "cluster" this box into the other one (google poundteam multi-server manual for this part). To be clear, this install package will copy all the necessary files to their locations, that's it's job. DO say "Yes" to the sample .conf files question.
A MUCH better solution would be to upgrade your existing system to the latest SVN and then install a brand new server with Vicibox 4.0 which will do all the clustering for you (and add itself to the cluster!). Then you get the best of both worlds: Clustered and all the new toys ... and the PoundTeam Multi-Server Manual is merely a reference for stuff Vicibox already did for you (ie: redundant).
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 5:44 pm
by benghoi
Hi Williamconley,
i have this cluster setup right now: 1-DB/Web, and 3-Asterisk, but the 2 asterisk was newly setup with lower version of vicibox. DB and 1-asterisk are in Vicibox 3.1.15 and the new asterisk servers are in 3.1.13. You said that Vicibox 4.0 is now available. So, it is possible to update the svn of all my server to Vicibox 4.0 or i need to install brand new Vicibox with 4.0 version in all my servers?
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 6:10 pm
by williamconley
Updating all servers to the latest version of Vicidial is entirely possible. That is what the SVN upgrade system is for.
Be sure you have a GOOD backup before you begin, of course.
The stages are this:
1) Get the new Code! (SVN ... there are instructions in the UPGRADE document after you have used svn to acquire the new code, nothing on your system will be changed except the source code in the trunk folder, which will have the Upgrade document that you may read after svn'ing to get it). So this stage is both useful and harmless (if you never execute install.pl ... you will not have altered your system!)
2) install.pl on each machine to install that new code you downloaded with SVN. After reading the upgrade document, of course.
3) upgrade your DB (instructions in the upgrade document ... but it's basically a matter of executing all the sql code that has occurred since Your Old Version of Vicidial).
4) At this point, you should reboot and test your newly upgraded cluster to be sure everything works again, and back it up again.
5) Then you can use Vicibox 4.0's .iso to add new servers much more easily. Do note: The SVN version will change Daily, so be sure you match at the moment you actually install the new machine! Another "minor" update may be necessary if you let the new system "work" for a couple days to be sure you didn't break anything by the upgrade.
Re: Upgrade Vicibox from 3.1.13 to 3.1.15
Posted:
Wed Nov 07, 2012 6:41 pm
by benghoi
Hi Wil,
Thanks for the info, i appreciate it.