This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster. I do things a little different when it comes to this to prepare for worst case scenario that a server may have problems and have to be taken offline, I install all services to each server, such as apache, mysql and asterisk this way if need be, they each can take on additional roles to cover for a server having to be taken out of production. Obviously this is going to assume you have ViciDial already installed on each server with all roles ready to go. To do so you can follow any one of my articles for scratch installs or you can just use an ISO to install of which I suggest using Vicibox v9.0.3 over V10 because of the issues with the V10 firewall and dynamic portal not working correctly, even if you do apply my fix, I find V9 to be more stable.
As I said above, I suggest installing all services on each server and just leaving the ones not needed for each box, disabled until needed. So if you are using an ISO install instead of one of my scratch instructions, for the purpose on this article, lets say ViciBox v9.0.3. The first thing you need to do after loading v9 is to upgrade the operating system from Leap 15.1 to Leap 15.2 using these instructions, because Leap 15.1 is end of life(no more updates). After that use the command, vicibox-install and choose Y(yes) for the options shown in the picture below:
Repeat this process on each server and then move on to step 2.
Now we need to disable services not needed on each server to save on resources, but this way they are there if they are needed in the future.
We want to leave apache running on the asterisk servers so we can install webrtc for webphones
Now we want to link them all together by running the install.pl script located in the source directory for vicidial, follow the following commands to get to and run it:
cd /usr/src/astguiclient/trunk
perl install.pl
Now follow the prompt and answer them accordingly. The pictures below will show the choices needed for each server role except make sure you set the IP for the DB server on all the rest instead of localhost.
For the web server make sure you put the DB server IP instead of localhost
Make sure you only put 5 and 7 keepalives on one asterisk server, the rest you should only choose 123468.
Now we need to add them into the GUI for Vicidial by going to Admin then servers
Once you are here, click “Add a new server”
Fill out the fields accordingly and click submit
Now for the DB and web server turn the options to N(no) where you see highlighted below:
Now reboot all servers and then check your reports page to make sure all servers are set to green like shown below
That’s all there is to it, not as hard as you thought it would be, right? If you have any questions feel free to join our live support on Skype:
I hope this helps!
Chris aka carpenox
How to - Fix Apache not starting on ViciBox There is a new issue with…
How to - Use the full functionality of the ViciDial installer by carpenox Vicidial administrators, take note: the Carpenox Auto Installer is about to change the game. This tool transforms the usually complex setup of Vicidial into a smooth, hassle-free experience. Let…
How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…
August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…
50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…
Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…
This website uses cookies.
View Comments
Hello
I think for all dialers you should not put localhost for DB server; instead you should put IP address of the DB server of the cluster.
that is correct sir, thank you for catching that I didnt tell people that, i kind of figured it was self explanatory, ill add it