server secour
Posted:
Fri Nov 23, 2012 8:34 am
by gattaba
hello,
I would like to configure a secour, if a server fails the second takes over.
could someone tell me the steps.
thank you
server1 principal
Goautodial 2.0
Vicidial
VERSION: 2.2.1-237
BUILD: 100510-2015
Asterisk-1.4.27.1-1
Vtiger version 5.1.0
Centos 6.3
digium card : TE122
server2
Goautodial 2.0
Vicidial
VERSION: 2.2.1-237
BUILD: 100510-2015
Asterisk-1.4.27.1-1
Vtiger version 5.1.0
Centos 6.3
digium card : TE122
Re: server secour
Posted:
Fri Nov 23, 2012 1:24 pm
by williamconley
If you want a system that will allow a Dialer to die and then begin using the "other" dialer, you'll need to build a clustered system instead of standalone.
If you want a "spare system" ready to go at a moment's notice ... Vicidial is not quite able to do this because the data that exists in your live server cannot be mirrored to another server fast enough for a pure failover in such a fashion.
All your recordings, database, configuration files (which are generally created from the database) will present a challenge. However: If you use a separate database server and push all your recordings to an "archive" server, then the responsibility of "web server" and "dialer" will be on a machine that CAN be duplicated. This is generally handled through clustering, but could be handled in a failover situation if you preferred, but the failover scenario is not related to Vicidial in any way. You'd need an automated method that would "down" the dead server and "up" the spare with the same IP address. None of these mechanisms are in any way related to the Vicidial project.
Vicidial's method of doing this is "Clustering" where there can be several Web Servers and several Dialers all feeding off the same MySQL engine. Any agent can use any web server or dialer. So if one of them dies, you just start using another one.
However: GoAutoDial does not do clustering during installation whereas Vicibox does. So the ability to move the "dialer/web" off the mysql server into a sep server exists only if you are prepared to do this work manually (goautodial) or with Vicibox. And then versions become an issue. You may need to read up a bit on this topic in the forums.