Vicidial operation on Slave Server

All installation and configuration problems and questions

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

Vicidial operation on Slave Server

Postby muyousif » Tue Apr 02, 2019 1:43 am

Hi,

We are going to implement slave DB server with our active DB server, I just wanna know will it be be possible to use Slave DB server as Primary, if our primary server goes down due to some hardware issue?
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Vicidial operation on Slave Server

Postby williamconley » Tue Apr 02, 2019 10:18 am

1) Good job posting your specs.

2) This is not a general discussion. You are asking a support question, not whether The Vicidial Group is going to be open on Christmas or whether we think the Dialer Industry is in decline.

3) Changing the /etc/astguiclient.conf file on all servers to the new servers IP address (for the database variable) and then restarting all the servers is how you switch over.

4) Beware: Once you've "switched over", you'll need to mysqldump and restore the db to get the primary DB role back to the original server.

5) Remember that you can install a later version of mysql on the slave server and syncing will work just fine. But you can NOT have a more recent version of mysql on the master than the slave, that will fail because the master will then have features the slave doesn't understand (because it's newer, of course). So a newer slave is cool, but a newer master is not.
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!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 108 guests