Page 1 of 1

[SOLVED] Adding an additional dialer server to Vicibox

PostPosted: Fri May 08, 2015 3:02 am
by edooze
Greetings all.

I am attempting to add another dialer server to my current install of vicibox to increase my capacity with Vicidial - I have a few new campaigns due to go live over the next couple weeks.

I have been trying to follow the installationsanweisung document to do so, but I get the error "Database entry does not match settings supplied! Enabling legacy mode!"

Not really sure what that means, but legacy mode sounds bad. It's brand new infrastructure altogether, so not such a major if everything gets deleted, but I want to make sure it works properly. The people I have employed aren't techie, they're callers.

This thread viewtopic.php?f=8&t=30446 suggests that there may be something to do with the output of the SQL query 'select * from asterisk.vicibox;', but doesn't go any further after that.

My server_ip for the Database server is 127.0.0.1 - which I suspect may be the problem, but I'm not sure, and neither am I sure how to change it.

Can someone shed some light, please?

Thanks in advance,
edooze.

Re: Adding an additional dialer server to Vicibox

PostPosted: Fri May 08, 2015 4:02 am
by okli
edooze wrote:My server_ip for the Database server is 127.0.0.1
Where is that? In the database (which table), in the config files (which one) ...?

Re: Adding an additional dialer server to Vicibox

PostPosted: Fri May 08, 2015 5:46 am
by edooze
okli wrote:
edooze wrote:My server_ip for the Database server is 127.0.0.1
Where is that? In the database (which table), in the config files (which one) ...?



sorry, this is in the output of 'select * from asterisk.vicibox;'

web and telephony are the ip of the network interface of the server, whereas database is the ip of localhost.

Re: Adding an additional dialer server to Vicibox

PostPosted: Fri May 08, 2015 8:03 am
by okli
You could run vicibox-install and enable expert installation. Then you will have a question similar to:
Do you want to connect using the default ViciDial DB settings?


Can't recall exactly when, but you should have an option to provide DB server IP along with the other details.
Might also need someone familiar with SQL if you need to edit the database directly.

Re: Adding an additional dialer server to Vicibox

PostPosted: Sun May 10, 2015 2:02 am
by edooze
okli wrote:You could run vicibox-install and enable expert installation. Then you will have a question similar to:
Do you want to connect using the default ViciDial DB settings?


Can't recall exactly when, but you should have an option to provide DB server IP along with the other details.
Might also need someone familiar with SQL if you need to edit the database directly.


That's exactly what I have done. I have provided the server IP, and it proceeds as follows:
edooze wrote: "Database entry does not match settings supplied! Enabling legacy mode!"


What would be causing this? Is it as simple as a username/password issue? Or something that has happened in the setup?

Re: Adding an additional dialer server to Vicibox

PostPosted: Mon May 11, 2015 12:23 am
by chasejordan1
Download Vicibox. Set up one server, (the biggest baddest) server you got. Get it up and running, for a few days, then set up another server. (the second biggest baddest server you got). Then do it again one more time.


Yes you are splitting the data base and the web and the telephone portions. But when all 3 are together you can now separate them.

Server 1 (Mysql)
Server 2 (web)
Server 3 (telephone)

on server 2 and 3 run vicibox-install and answer the questions correctly. check crontab -e and nano /etc/astguiclient.conf to make sure all looks good. Then move what you need to move and so forth.

Or start from scratch and it will still fork fine.

Re: Adding an additional dialer server to Vicibox

PostPosted: Sat May 16, 2015 1:31 am
by edooze
So, I've set up a dialer server at 10.0.0.4 and it works fine.

I am now building a new dialer to connect to this server. It will be located at 10.0.1.4

10.0.0.4 and 10.0.1.4 can ping each other fine.

When trying to run vicibox-install on the second server, I get the following:

Code: Select all
additionaldialer:/home/username # vicibox-install


ViciBox v.6.0 Installer


The installer will ask questions based upon the role that this server is
to provide for the ViciBox Call Center Suite. You should have the database
and optionally archive servers setup prior to installing any other servers.
The installer will not run without there being a configured database! If this
server is to be the database then it must be installed before the archive server
Verify that all servers are connected to the same network and have connectivity
to each other before continuing. This installer will be destructive to the the
server if it is run.


Do you want to continue with the ViciBox install? [y/N] : y

Do you want to enable expert installation? [y/N] : y

The Internal IP address found was 10.0.1.4.
Do you want to use this IP address for ViciDial? [Y/n] : y

Will this server be used as the Database? [y/N] : n

Please input the master database IP address (10.0.1.4) : 10.0.0.4
Do you want to connect using the default ViciDial DB settings? [Y/n] : y

Database entry does not match settings supplied! Enabling legacy mode!
Please verify all data before continuing! Installing on a cluster that
is already set-up can cause irreparable damage! You have been warned.

Will this server be used as a Web server? [y/N] : ^C


Additionally,

Code: Select all
MariaDB [(none)]> select * from asterisk.vicibox;
+-----------+--------+-----------------+-------------+---------------+----------------------------------+--------+--------+--------+--------+------------+--------+-----------+
| server_id | server | server_ip       | server_type | field1        | field2                           | field3 | field4 | field5 | field6 | field7     | field8 | field9    |
+-----------+--------+-----------------+-------------+---------------+----------------------------------+--------+--------+--------+--------+------------+--------+-----------+
|         1 | vicidial | 127.0.0.1       | Database    | 0             | asterisk                         | 2xx5   | cron   | 1234   | custom | custom1234 | slave  | slave1234 |
|         2 | vicidial | 10.0.0.4 | Web         | 1xx.xx.xxx.x9 | axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxA |        |        |        |        |            |        |           |
|         3 | vicidial | 10.0.0.4 | Telephony   | 1xx.xx.xxx.x9 |                                  |        |        |        |        |            |        |           |
+-----------+--------+-----------------+-------------+---------------+----------------------------------+--------+--------+--------+--------+------------+--------+-----------+
3 rows in set (0.00 sec)


Does this look right? Can anyone shed any light here?

Thanks.

Re: Adding an additional dialer server to Vicibox

PostPosted: Sat May 16, 2015 9:35 pm
by edooze
My initial install was vicibox-express, where I was under the impression that I could add additional servers as needed.

I re-built the server with vicibox-install (selecting all the options for what used to be vicibox-express) and it has let me add the new dialer server, which is now connected just A-O-K.

Hope this helps someone who might be struggling.