Categories: CyburDialVicidial

How to – Setup a ViciDial Cluster with scratch installs

How to – Setup a ViciDial Cluster with scratch installs

This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster when using scratch install methods. 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. I suggest using my auto installer for Alma Linux 9.

ViciDial Cluster

Step 1 – Install Vicidial on each server

Install ViciDial with the auto installer on each server.

Repeat this process on each server and then move on to step 2.

Step 2 – Turn off services not needed on each server role

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.

  • DB Server: systemctl disable httpd
  • Web Server: systemctl disable mysql
  • Asterisk Servers: systemctl disable mysql

We want to leave apache running on the asterisk servers so we can install webrtc for webphones

Step 3 – Run the install.pl script on each server

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.

DB Server and Web Server

DB Server

For the web server make sure you put the DB server IP instead of localhost

Asterisk Servers

Only use 5 and 7 on ONE asterisk server, not all, the rest put 123468

Make sure you only put 5 and 7 keepalives on one asterisk server, the rest you should only choose 123468.

Step 4 – Add them to the GUI for ViciDial

Now we need to add them into the GUI for Vicidial by going to Admin then servers

Go to Servers in the Admin area

Once you are here, click “Add a new server”

Once you are here, click “Add a new server”

Fill out the fields accordingly and click submit

Add a new server

Now for the DB and web server turn the options to N(no) where you see highlighted below:

Active server, Active Asterisk server and Active agent server set to N

Step 5 – Add conferences

Add conferences for each asterisk server by following these instructions

Now reboot all servers and then check your reports page to make sure all servers are set to green like shown below

ViciDial Cluster

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

Carpenox

Recent Posts

Empower Your Business with a White Labeled Dialer Solution from CyburDial

Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…

3 months ago

Unveiling CyburNumbers: Revolutionizing Your Communication Strategy

Unveiling CyburNumbers: Revolutionizing Your Communication Strategy We're thrilled to announce the upcoming release of CyburNumbers,…

5 months ago

Unraveling MySQLcheck: A Comprehensive Guide to Database Maintenance

Unraveling MySQLcheck: A Comprehensive Guide to Database Maintenance MySQLcheck stands as a formidable tool in…

5 months ago

Introducing CyburNumbers

🎉 Exciting News from CyburDial! 🌟 Introducing CyburNumbers - Your Ultimate Solution for AI-Driven Numbers…

5 months ago

How to – Fix the “You don’t have permission to access /RECORDINGS/MP3/” error within ViciDial

How to - Fix the "You don't have permission to access /RECORDINGS/MP3/" error within ViciDial…

5 months ago

Navigating the Future: Artificial Intelligence in the Call Center Industry

Navigating the Future: Artificial Intelligence in the Call Center Industry In the ever-evolving landscape of…

5 months ago

This website uses cookies.