Cluster installation

All installation and configuration problems and questions

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

Cluster installation

Postby pikalla » Tue Sep 22, 2020 4:54 pm

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?
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby williamconley » Tue Sep 22, 2020 5:02 pm

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!).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Cluster installation

Postby pikalla » Thu Sep 24, 2020 4:34 am

All was about the VLAN, Ihave fixed it and all is working well
Thanks
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby pikalla » Tue Sep 29, 2020 12:18 pm

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
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby williamconley » Tue Sep 29, 2020 12:31 pm

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?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Cluster installation

Postby pikalla » Wed Sep 30, 2020 7:19 am

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
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby carpenox » Wed Sep 30, 2020 9:08 am

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
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Cluster installation

Postby pikalla » Thu Oct 01, 2020 3:39 am

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
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby carpenox » Thu Oct 01, 2020 8:02 am

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
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Cluster installation

Postby pikalla » Thu Oct 01, 2020 11:45 am

good evening carpenox no when I start it it sends me this error message: failed to restart dahdi.service: unit dahdi.service not found
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby pikalla » Fri Oct 02, 2020 11:27 am

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 |"
Last edited by pikalla on Fri Oct 02, 2020 11:40 am, edited 1 time in total.
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby pikalla » Fri Oct 02, 2020 11:28 am

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 |"
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby carpenox » Fri Oct 02, 2020 2:02 pm

it could be a few different things, but you need dahdi working right. Perhaps try reinstalling
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Cluster installation

Postby pikalla » Fri Oct 09, 2020 9:04 am

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 ?
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby williamconley » Fri Oct 09, 2020 9:10 am

Do you have "Vicidial Conferences" listed for both servers under "Admin->Conferences->Show VICIDIAL Conferences"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Cluster installation

Postby ed123 » Fri Oct 09, 2020 10:37 am

try execute this command and give us the result.

screen -ls
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm

Re: Cluster installation

Postby pikalla » Thu Oct 15, 2020 5:42 am

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
pikalla
 
Posts: 21
Joined: Thu Sep 03, 2020 12:59 pm

Re: Cluster installation

Postby carpenox » Thu Mar 24, 2022 6:54 am

Check out one of my latest articles for help setting up a vicidial cluster:


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


Chris
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 97 guests