Project

General

Profile

Cluster Setup

Added by Steve Turner over 5 years ago

Have just started to review ver4, and curious how to cluster the servers? Is the same as Vicidial or what is the process?


Replies (16)

RE: Cluster Setup - Added by Demian Biscocho over 5 years ago

It's similar to the cluster process of Vicidial. With the exception of having a centralized Kamailio SIP server that handles all SIP registrations. So there are no SIP extensions configured in the Asterisk servers.

RE: Cluster Setup - Added by Steve Turner over 5 years ago

ok, so pretty much go into the astguiclient.conf and make all the changes as normal. I will give it a try and see if run into issues.
Thanks

RE: Cluster Setup - Added by Steve Turner about 5 years ago

Ok, finally got some time to work on this. Installed from ISO into local VM with "problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 266"
.
As for the clustering:

The CLUSTER STATUS shows an IP of 127.0.0.1, not the actual 192.168.100.60. Tried to change in the Server setting GUI and the CLUSTER STATUS went empty. Ran the install.pl and deleted the kamailio settings so copied them over to updated astguiclient.conf. On reboot Asterisk does not start automatically and Kamailio still says 127.0.0.1 as host.

RE: Cluster Setup - Added by Steve Turner about 5 years ago

anyone know the settings to change for the cluster? what is the best recommendation for a setup?

RE: Cluster Setup - Added by Levy Ryan Nolasco about 5 years ago

Hi,

What is the output of your /etc/hosts?

RE: Cluster Setup - Added by Demian Biscocho about 5 years ago

Here's the initial cluster HOWTO:

HOWTO Cluster

RE: Cluster Setup - Added by Steve Turner almost 5 years ago

When we add phones to the cluster, how are the PHONE ALIASES created or the load balancing handled?

Or do we only create one phone and point it toward the KAMAILIO server?

RE: Cluster Setup - Added by Demian Biscocho over 4 years ago

Hey Steve,

Kamailio handles all SIP phone registrations. They are created as EXTERNAL phones (even though they're SIP phones) on the database.

You can choose which server IP or Asterisk server to associate the phones. You can do this on the admin GUI or via the MariaDB CLI.

RE: Cluster Setup - Added by Steve Turner over 4 years ago

ok, but if an asterisk server goes down will Kamailio reregister the phone to a different server for the agent to continue. As you know, in Vici if a server crashed, the agent only need to log out and back in to connect to another server. Also as the load balancing between asterisk boxes, as not to have 30 agents dialing from one and having 2 others sit idle. I do see in the Server admin LOADBALANCING yes or no.

Phone 10001
alias 10001a
alias 10001b
alias 10001c
etc

RE: Cluster Setup - Added by Demian Biscocho over 4 years ago

If an Asterisk server goes down, you can run an SQL command to shift all the phones from the down server to the working ones. Nothing needs to be done from the agent side unless the server goes down while they're logged-in. Then they just need to refresh or re-login to the campaign.

Just set the LOADBALANCING on the admin GUI to yes.

RE: Cluster Setup - Added by Steve Turner over 4 years ago

is there any way to use the alias phones same as Vicidial so we do not have to worry about SQL? This can be a huge disruption if no one is available to repair asterisk or run the SQL commands. Or is this not an option?

RE: Cluster Setup - Added by Demian Biscocho over 4 years ago

Can you try it and let us know how it goes?

RE: Cluster Setup - Added by David Reedy over 3 years ago

Demian Lizandro Biscocho wrote in RE: Cluster Setup:

Here's the initial cluster HOWTO:

HOWTO Cluster

These instructions are short of what it takes to make them work.

RE: Cluster Setup - Added by Demian Biscocho over 3 years ago

Can you complete them or make a better HOWTO for the cluster setup? We'll replace the current one.

RE: Cluster Setup - Added by Steve Turner over 3 years ago

I am building a cluster now, and hopefully make it work correctly. If I do, I will add a guide

So far, I have a web/db server and 1 asterisk server connected. All of the cronjobs, IAX, reloads, etc. are working........Now need to actually need to test the dialing and load balance.

Basically, need to follow the process to cluster a Vicidial system, and then add the extra configs for GoAutoDial.

Will update soon.

RE: Cluster Setup - Added by fonzo de laia about 3 years ago

Basically, need to follow the process to cluster a Vicidial system, and then add the extra configs for GoAutoDial.

he managed to make a detailed guide, I also need to create a cluster for 100 users

thanks in advance

    (1-16/16)
    Go to top