Any and all non-support discussions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by carpenox » Sun Apr 24, 2022 12:13 pm
Good afternoon all and happy Sunday,
I have written an article on how to setup a slave DB for ViciDial when you have scratch installed your servers. This particular example should work on CEntOS 7 and 8, Alma and Rocky Linux as well
https://dialer.one/index.php/how-to-set ... -vicidial/This was actually a little bit of a nightmare and I had to try it many times before I got it working, so going back through my steps I may have missed something, so if anyone tries it out please report back here or on my blog your success or non success, thanks guys.
Chris aka carpenox
Last edited by
carpenox on Sun Dec 15, 2024 11:23 am, edited 2 times in total.
Alma Linux 9.5 | SVN Version: 3920 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
-
carpenox
-
- Posts: 2595
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by williamconley » Tue May 03, 2022 2:36 pm
Do you have a "resync the slave" script built yet? We've found that building that while building the initial replication script is quite useful. Once you have all that in your upper memory, the resync process is pretty straightforward. But waiting six months for that "out of sync, binaries too old" moment that can come after a long weekend power outage or some such can be a pain in the @ss.

Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
-
williamconley
-
- Posts: 20444
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Bartow, FL (In the boondocks)
-
by carpenox » Tue May 03, 2022 2:56 pm
hmmm good to know, ill have to look into that because as of now I do not, any advice you can give towards doing that properly?
Alma Linux 9.5 | SVN Version: 3920 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
-
carpenox
-
- Posts: 2595
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by williamconley » Tue May 03, 2022 2:59 pm
There is a method during "dump" that will store the bookmark of "where do I start syncing" directly in the dump file. Thus making it easy to load the db and start sync without guesswork. We generate resync databases nightly "just in case" so we can resync from that file at any time without interrupting operations on the main db server even in the middle of the workday.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
-
williamconley
-
- Posts: 20444
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Bartow, FL (In the boondocks)
-
by carpenox » Tue May 03, 2022 6:26 pm
ah ok so basically a backup of the slave
Alma Linux 9.5 | SVN Version: 3920 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
-
carpenox
-
- Posts: 2595
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by williamconley » Wed May 04, 2022 9:10 am
close:
it's a backup FOR the slave to load from. ie: snapshot
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
-
williamconley
-
- Posts: 20444
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Bartow, FL (In the boondocks)
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 16 guests