Page 1 of 1

VICIDIAL SERVER setup

PostPosted: Thu Oct 15, 2009 12:56 pm
by ruben23
hi, i would like to ask help regarding setting up a simple multi server vicidial on a two server hardware platform, how do i setup it. i already read the load balance docs but not getting the idea clearly.

Ive always heard and read your post on it:

Server 1 ---> Asterisk/vicidial

= This means that ill completely install asterisk, vicidial ( agc 2.05.5), crontabs, Perl cpan, software utilities (lame, sox, ttyload, etc.)
= configure astguiclient.conf
= Where should i put my FTP server...? on server1 or server2..
( problem also is when i install perl cpan- > install DBI
> force install DBD::mysql ----> this will not installed properly coz it need mysql devels..( what should i do with this.?)


Server 2 -----> Mysql/Apache

= ill install mysql server and client including devels on mysql
= Ill install apache web server ( any configuration for this..? i have to set..?)
= install vicidial ( agc 2.0.5) also here? how about the Perl cpan installation do i have to repeat install it again?

one more thing which should i run this on server1 or server 2

$ /usr/share/astguiclient/ADMIN_update_server_ip.pl –old-server_ip=10.10.10.15
$ /usr/share/astguiclient/ADMIN_area_code_populate.pl
$ cp /usr/src/astguiclient/trunk/extras/performance_test_leads.txt /usr/share/astguiclient/LEADS_IN/
$ /usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl --forcelistid=107 –forcephonecode=1

And what am i missing in here also..? on my setup
Thanks in Advance... :)

PostPosted: Sat Oct 17, 2009 11:20 pm
by mflorell
Easiest thing is just to install everything on all servers, then you can split the duties however you want, just make sure you point the dbserver_ip at the one you want to be the database server.

PostPosted: Sun Oct 18, 2009 9:59 am
by codehaxor
DB / Apache

- apache2
- mysql
- modify my.cnf and add skip-name-resolve and the other modifications, just look at download.vicidial.com/ubuntu there are example cnf files there
- eaccelerator
- www folder of astguiclient package
- edit dbconnect.php to change the settings to point to your db IP address
- phpmyadmin
- create the asterisk db here
- add the cron user to the asterisk db
- run the table creation scripts
- run the first server sql scripts



Asterisk / Vicidial
- Perl Modules
- Asterisk-Perl
- asterisk / libpri / zaptel of course
- astguiclient install, make sure you set your db ip to the db server, you can edit /etc/astguiclient.conf
- crontab entries
- vicidial init.d service
- run the update ip script
- run the add zip codes script
- run testing of lead insertion

PostPosted: Sun Oct 18, 2009 1:39 pm
by Trying
What will really be cool is if somebody could write a "how to" for a multi server installation with Vicibox. So the users can just load Vicibox on all servers and the "how to" needs to explain how to disable components on the different servers. :)

PostPosted: Sun Oct 18, 2009 2:10 pm
by codehaxor
PDF Quick Guide now downloadable here for Multi Server setup:


http://www.mediafire.com/?uy1jum1nz0b

PostPosted: Mon Oct 19, 2009 12:49 am
by dlasry
Thanks codehaxor! This is a huge help.