Vicidial server migration

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicidial server migration

Postby ankit1923 » Fri May 20, 2016 2:23 am

Hello All,

Can any one please help me how to migration vicidial server. We are going to change server. how we get same config in New Server.

Os Base is Cent Os 6.7..

Thanks ..
ankit1923
 
Posts: 1
Joined: Fri May 20, 2016 2:20 am

Re: Vicidial server migration

Postby udy786 » Sat May 21, 2016 9:46 am

Hi,

First install vicidial on new server then after copy below things from old server to new server:-

1. Asterisk DB
2. Web folder (/var/www/html)
3. /etc/asterisk/
4. If you want to copy sound also then /var/lib/asterisk/sounds

I have any changes in web folder then only need to copy else its not required. Once you copied, run server IP update.

Reboot server.

This worked for me. Hope it will work you too.
udy786
 
Posts: 148
Joined: Fri Jul 19, 2013 10:55 am

Re: Vicidial server migration

Postby williamconley » Fri May 27, 2016 10:17 am

udy786 wrote:Hi,

First install vicidial on new server then after copy below things from old server to new server:-

1. Asterisk DB
2. Web folder (/var/www/html)
3. /etc/asterisk/
4. If you want to copy sound also then /var/lib/asterisk/sounds

I have any changes in web folder then only need to copy else its not required. Once you copied, run server IP update.

Reboot server.

This worked for me. Hope it will work you too.

Do not copy the /etc/asterisk folder unless the version of asterisk is identical ... and if it is identical, then the contents of that folder should already be identical (in other words: don't copy that folder).
Note that the new server's IP will likely be different than the previous server, so /etc/asterisk/sip.conf may require editing of externip if you DO copy that folder.

You must also run /usr/share/astguiclient/ADMIN_update_server_ip.pl to change any references to the prior IP in the old server to the new IP in the new server.

You must also copy
/usr/share/astguiclient
/var/lib/asterisk/agi-bin

Voicemail files if you use voicemail
/var/spool/asterisk/voicemail/

Recordings if you want them
/var/spool/asterisk/monitorDONE/

Audio store which is a randomly named folder in the web root (/var/www/html or /srv/www/htdocs). It's name is listed in admin->system settings as well

Depending on usage, you may also want to copy any files missing from the new server's
/var/lib/asterisk/sounds
Once again, be careful if your asterisk version is different than the original.


Of course: You could install a fresh Vicibox server instead and upgrade the database (there's an UPGRADE document in /usr/src/astguiclient/trunk of Vicibox which contains instructions to upgrade the DB to the latest version). Then you'd have a stock server with the latest version and all your data. :) (You still have to run /usr/share/astguiclient/ADMIN_update_server_ip.pl after the upgrade).

When done copying/upgrading: Modify admin->servers for each server to generate new configuration files for all categories, and verify that those files are updated one minute later (especially the ones ending with "-vicidial.conf" in /etc/asterisk).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 147 guests