VICIDIAL SERVER setup

All installation and configuration problems and questions

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

VICIDIAL SERVER setup

Postby ruben23 » Thu Oct 15, 2009 12:56 pm

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... :)
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Sat Oct 17, 2009 11:20 pm

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.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby codehaxor » Sun Oct 18, 2009 9:59 am

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
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Postby Trying » Sun Oct 18, 2009 1:39 pm

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. :)
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby codehaxor » Sun Oct 18, 2009 2:10 pm

PDF Quick Guide now downloadable here for Multi Server setup:


http://www.mediafire.com/?uy1jum1nz0b
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Postby dlasry » Mon Oct 19, 2009 12:49 am

Thanks codehaxor! This is a huge help.
dlasry
 
Posts: 52
Joined: Thu Aug 13, 2009 2:56 am


Return to Support

Who is online

Users browsing this forum: No registered users and 84 guests