Page 1 of 1

Cluster installation

PostPosted: Tue Sep 22, 2020 4:54 pm
by pikalla
Hi

I am installing Vicibox in cluster mode with 2 servers. 1 DB/WEB and 2 DIALER
I have this error :
Can't connect to MySQL server on IP address(151.232.34.222) at /usr/local/bin/vicibox-install line 1225

Can I find a help please?

Re: Cluster installation

PostPosted: Tue Sep 22, 2020 5:02 pm
by williamconley
Which version of the Vicibox installer are you using? Should be something like "Vicibox X.X.X"

Clustered servers must be in the same physical location. They should also share a local network connection with a gigabit network switch, and a local IP for each server. This allows fast network connection to allow these two servers to "act as one" while sharing the database. Not an absolute requirement ... but never turns out to be a bad idea.

Is the server you are presently installing the "2 dialer" and not the "1 DB/Web"? (I have to ask ...!!)

Is the DB/Web server already installed and tested/working?

If so, then can this server PING the DB server? If it can ping, is port 3306 open?

From the command line on "2 Dialer", try:

Code: Select all
mysql -h 151.232.34.222 -u cron -p1234


Until this works, installation can not complete. But note that this is NOT a "Vicidial" process. This is a simple/basic MySQL client request. The requesting server makes the mysql request, the server running mysql (the DB/Web server) responds to the request. This all happens on port 3306. If your DB server's firewall is locked down ... you'll need to open port 3306 (JUST for the IP of the 2 dialer server! Not the world!).

Re: Cluster installation

PostPosted: Thu Sep 24, 2020 4:34 am
by pikalla
All was about the VLAN, Ihave fixed it and all is working well
Thanks

Re: Cluster installation

PostPosted: Tue Sep 29, 2020 12:18 pm
by pikalla
hello williamconley :o :o :o :o :o :o as I said said the last time I was able to carry out the connectivity tests thanks to your following tip
and I access the myql interface by typing your command mysql -h 151.232.34.222 -u cron -p1234
but I encountered a problem when connecting my agent to its interface, its returned me the following message: Sorry, there are no available sessions: || 151.172.33.153 | 1000 | SIP / 1000 |
at the level of the agent connection interface I am installing on two remote servers I am not locally merxi well helped me

Re: Cluster installation

PostPosted: Tue Sep 29, 2020 12:31 pm
by williamconley
1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) Is the agent's phone registered as SIP/1000? Are there Vicidial Conferences (/vicidial/admin.php?ADD=10000000000000) assigned to this server's IP address? Is this server's IP address in /etc/astguiclient as this server's IP?

Re: Cluster installation

PostPosted: Wed Sep 30, 2020 7:19 am
by pikalla
hello willianconley thank you very much for this assistance
I use ViciBox_v9.x86_64-9.0.3
version 2.14-613c
BUILD: 200922-0948
the installation method is expert mode cluster
I took 2 Dedicated servers online on which I performed the coe installations I told you previously, then I created the asterisk server and the web server can already be seen
I create an agent, a campaign and a group but when I want to connect to the agent interface it sends me this message: Sorry, there are no available sessions: || 151.232.34.222 | 1000 | SIP / 1000 |
However, I did an all in one installation with the same parameters and I connect to the interface.
thank you very much for your help

Re: Cluster installation

PostPosted: Wed Sep 30, 2020 9:08 am
by carpenox
did u set those servers as active? did u add trunks? did u load leads? check is dahdi is running by typing this at the linux CLI: dahdi_cfg -vvv

Re: Cluster installation

PostPosted: Thu Oct 01, 2020 3:39 am
by pikalla
hello carpenox I did some tests on the command line to check if Dahdi is enabled and I noticed that it is not
I tried to start the service but it gives me the following error message:
DAHDI Tools Version - 3.1.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/ dev / dahdi / ctl'
thank you very much for helping me

Re: Cluster installation

PostPosted: Thu Oct 01, 2020 8:02 am
by carpenox
try the following:

modprobe dahdi
dahdi_cfg -vvv

Did it start it up correctly this time?

Also you can try "service dahdi restart" and then change "restart" to "status" and show me the results, hit me up on any of the following, easier to help you live than thru messages:

fb: chris nox | skype: carpenox_3 | whatsapp: +19549477572

Re: Cluster installation

PostPosted: Thu Oct 01, 2020 11:45 am
by pikalla
good evening carpenox no when I start it it sends me this error message: failed to restart dahdi.service: unit dahdi.service not found

Re: Cluster installation

PostPosted: Fri Oct 02, 2020 11:27 am
by pikalla
hello please need help after installing vicibox9 in cluster I have this problem "Sorry, there are no sessions available: ||xxx.xxx.xxx.xxx
| 1000 | SIP / 1000 |"

Re: Cluster installation

PostPosted: Fri Oct 02, 2020 11:28 am
by pikalla
hello please need help after installing vicibox9 in cluster I have this problem "Sorry, there are no sessions available: || xxx.xxx.xxx.xxx | 1000 | SIP / 1000 |"

Re: Cluster installation

PostPosted: Fri Oct 02, 2020 2:02 pm
by carpenox
it could be a few different things, but you need dahdi working right. Perhaps try reinstalling

Re: Cluster installation

PostPosted: Fri Oct 09, 2020 9:04 am
by pikalla
I finally reinstalled my clustered servers
All services work well on database and Asterisk
I connected a softphone to the web server and it's OK
I then created the groups, campaigns and users locally and it works well
I then created the same groups, campaigns and users on the web server and when I connect I receive the message
Sorry, there are no available sessions : ||151.236.36.33|1000|SIP/1000

How can I fix this please ?

Re: Cluster installation

PostPosted: Fri Oct 09, 2020 9:10 am
by williamconley
Do you have "Vicidial Conferences" listed for both servers under "Admin->Conferences->Show VICIDIAL Conferences"?

Re: Cluster installation

PostPosted: Fri Oct 09, 2020 10:37 am
by ed123
try execute this command and give us the result.

screen -ls

Re: Cluster installation

PostPosted: Thu Oct 15, 2020 5:42 am
by pikalla
hello I have a problem with the extraction of the contact file on vicidial. because I would like to introduce a contact extraction API like Iqualif in my vicidial. I saw this in another. thank you

Re: Cluster installation

PostPosted: Thu Mar 24, 2022 6:54 am
by carpenox
Check out one of my latest articles for help setting up a vicidial cluster:


https://dialer.one/how-to-setup-a-vicidial-cluster/


Chris