"Add a New Server" for MySQL Server
Posted: Tue Apr 11, 2017 12:22 pm
I'm running Vicidial VERSION: 2.14-589a BUILD: 170217-1350. Installation method: scratch install, all in one server
Recently I set up a separate mysql server by exporting mysqldump and import it into new server. Then I configure /etc/astguiclient.conf to point VARDB_server to the ip of the new mysql server. Webserver was also separated out to another machine. Hence, now I'm running 3 separate servers - dialer, mysql and apache.
I just notice that we are supposed to "Add a new server" at Vicidial admin (Admin > Servers > Add a New Server) for mysql database. But the system seems to be running quite well without that. My question is, what's the reason to "add a new server"? And what would be the possible problem if I did not do it?
On a separate question, do I need to enable VARactive_keepalives at webserver for the the cron jobs below to work from webserver? Currently the VARactive_keepalives is X for my webserver.
### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
### fix the vicidial_agent_log once every hour and the full day run at night
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### adjust the GMT offset for the leads in the vicidial_list table
1 1,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt
Recently I set up a separate mysql server by exporting mysqldump and import it into new server. Then I configure /etc/astguiclient.conf to point VARDB_server to the ip of the new mysql server. Webserver was also separated out to another machine. Hence, now I'm running 3 separate servers - dialer, mysql and apache.
I just notice that we are supposed to "Add a new server" at Vicidial admin (Admin > Servers > Add a New Server) for mysql database. But the system seems to be running quite well without that. My question is, what's the reason to "add a new server"? And what would be the possible problem if I did not do it?
On a separate question, do I need to enable VARactive_keepalives at webserver for the the cron jobs below to work from webserver? Currently the VARactive_keepalives is X for my webserver.
### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
### fix the vicidial_agent_log once every hour and the full day run at night
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### adjust the GMT offset for the leads in the vicidial_list table
1 1,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt