Sync 2 Vici VULTR and DIGITAL OCEAN

All installation and configuration problems and questions

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

Sync 2 Vici VULTR and DIGITAL OCEAN

Postby xodiacx » Tue Aug 06, 2019 11:35 pm

Hi Guys

How can I sync two vicidial servers from two different cloud provider, VULTR and DIGITAL OCEAN.

Thanks
xodiacx
 
Posts: 24
Joined: Thu Sep 05, 2013 3:38 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby ed123 » Wed Aug 07, 2019 12:26 am

what you mean by sync the two servers? more details pls?
ed123
 
Posts: 250
Joined: Mon Mar 15, 2010 9:19 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby xodiacx » Wed Aug 07, 2019 12:51 am

Hi ed123

Let's say that Vici is hosted in VULTR and will be the primary server, now if VULTR cloud provider is down due to unforeseen situation we want to be able still make outgoing and receive incoming calls from DIGITAL OCEAN backup server. Maybe like a FAIL OVER setup at the same time the data is sync between the two servers.

THanks
xodiacx
 
Posts: 24
Joined: Thu Sep 05, 2013 3:38 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby xodiacx » Wed Aug 07, 2019 6:16 am

up up up up up
xodiacx
 
Posts: 24
Joined: Thu Sep 05, 2013 3:38 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby ambiorixg12 » Wed Aug 07, 2019 11:12 pm

I dont think there is an existing tool on vicidial to sync servers, but you should take a look to the script /usr/share/astguiclient/ADMIN_backup.pl and use it to back the production server a backup server and using DNS as floating IP
ambiorixg12
 
Posts: 221
Joined: Tue Sep 17, 2013 10:35 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby xodiacx » Thu Aug 08, 2019 10:39 pm

Hi @ambiorixg12

can you please explain it further?

THanks
xodiacx
 
Posts: 24
Joined: Thu Sep 05, 2013 3:38 pm

Re: Sync 2 Vici VULTR and DIGITAL OCEAN

Postby williamconley » Wed Aug 14, 2019 12:08 am

xodiacx wrote:up up up up up


Don't try to "up" in phpBB. Your post shows activity (your "up" attempt) and gets ignored. It looks like you're getting answered but actually you're just talking to yourself. Kinda the opposite of what you want. Can cause your post to be ignored for a while since someone is obviously helping you. Case in point: Sorry I'm late. lol.

Vicidial has a method to sync the db by setting up a "reporting" server. But that server is a Slave server and not capable of operating automatically as the new DB without some changes. However, it would keep the database synced. Alternately, you CAN perform the same basic DB sync by using the generic mysql slave server tools that Kumba uses to set up the reporting server during installation of the reporting servers. Just a question of how you prefer to do it.

Note that there are some errors distinct to the Vicidial system you'll need to have mysql ignore. For instance, after a reboot, the memory tables will be empty. If you ever reboot the slave server (which is a good idea, daily), those memory tables will be empty. If the DB server didn't reboot during that same period, it will have entries in the memory tables. If the primary DB attempts to modify (instead of delete or insert) one of those entries ... the missing entry will cause a sync error and sync will stop until you resolve the issue. Kumba's method if installation seems to be quite good at handling this sort of thing.

Oh: An added benefit is that you CAN use the server in question for reporting, which removes load from the running server for those reports. Handy.

During this entire process remember one very important fact: Vicidial's DB, Web and Dialer servers must ALL be in the same physical location to work as a cluster. Once you have switched to the DB at a different location, you must also switch to a dialer/web at that location. Or expect serious disruption and instability.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 18830
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 22 guests