Page 1 of 1

Dual ViciBox: Tuning(?)

PostPosted: Mon Jun 14, 2010 9:46 am
by bmorrison
Greetings,

After reading LOAD_BALANCE and searching these forums, I was able to successfully (and easily) split my existing all-in-one ViciBox into a Web/DB server (the original box) and an Asterisk server (our new baby).

My question: Which keepalives are the minimum needed for the Asterisk server? Or does "turning stuff off" really affect the performance of an Asterisk box that doesn't have to handle Web/DB anymore? Should I comment out any of the crontab entried that ViciBox redux installs?

PostPosted: Mon Jun 14, 2010 12:53 pm
by mflorell
These are required to be run on the Asterisk server:

# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
* 4 - AST_VDremote_agents
# 6 - FastAGI_log
# 8 - ip_relay (used for blind agent monitoring)

Number 4 is not required if you are not using Remote Agents.

PostPosted: Mon Jun 14, 2010 3:17 pm
by bmorrison
Thanks!

Is there anything else that can be turned off on the Asterisk server that's created from a vicibox redux install?

PostPosted: Mon Jun 14, 2010 3:38 pm
by mflorell
mysql server
apache server

PostPosted: Mon Jun 14, 2010 4:11 pm
by bmorrison
Thanks!

I'll use yast to disable mysql and apache.

ViciBox installs a large set of crontabs. Am I okay if I comment out these:

Code: Select all
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

### 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

PostPosted: Mon Jun 14, 2010 4:19 pm
by mflorell
You can put all of these only on your web/db server:

### 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

PostPosted: Mon Jun 14, 2010 5:00 pm
by bmorrison
Thanks!