Page 1 of 1

Setup...SErvs

PostPosted: Sat Jan 30, 2010 2:19 pm
by ruben23
Hi,

I have current setup on my production running in VERSION: 2.2.0-228, Asterisk 1.4.21.2.

1 X Vicidial/Asterisk Server(Xeon Dual Core-4GB Ram-250 SATA)

- add up another 1 X Vici/asterisk (minimal Hardware just for testing load balance) -Pentium Dual Core, 2GB ram, 250 GB SATA.

1 X Apache Mysql Server(Xeon Dual Core-4GB Ram-250 SATA)

@ 30 seats

Now im expanding around to 100 seats.

Planning to setup:

2 X Vicidial/Asterisk ( Quad Core-6GB RAM-146GB SAS 15K rpm)

And i plan to setup mysql on a single server only. Having (quad core-8GB Ram-146GB SAS 15K rpm)

- If i setup mysql server on a single server does it mean ill be having a single server for my webServer also, coz thats what im planning too.

but some suggested to let my apache server be part of my Vicidial/asterisk Server. which would be like 3 apps Vici/Apache/Asterisk.

Any suggestion..? :(

PostPosted: Sat Jan 30, 2010 3:37 pm
by mflorell
apache and mysql can be on same server or different servers, you can even have apache on the DB server for admin and on another separate server for agents if you want.

PostPosted: Sat Jan 30, 2010 4:46 pm
by ruben23
@ but matt,

Can 60 to 70 or even 100 still support single webserver even its with Database or setup stand alone, coz i here also load balance web server for vicidial,

Can you suggest some best practice you have..? that is scalable anytime there is an increase in numbers. These would really help. Thanks

PostPosted: Sat Jan 30, 2010 11:06 pm
by mflorell
We have upto 200 agents on a single dedicated webserver.

if it's shared with DB you shouldn't go over 100

PostPosted: Sun Jan 31, 2010 10:35 pm
by ruben23
hi anyone tried and setup a load balance web server for vicidial, like using HAproxy method to load balance. :)

PostPosted: Mon Feb 01, 2010 1:59 am
by mflorell
You can use the built-in Apache web server load balancing, it works great for us.

PostPosted: Mon Feb 01, 2010 2:17 am
by ruben23
@ matt

How do i used that..? any brief idea..you mean built in..

any docs for using it..is it part of the SVN..

PostPosted: Mon Feb 01, 2010 7:35 am
by mflorell
It is part of the latest Apache release, here's a sample from a vhost conf file:

...
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /balancer-manager !
ProxyPass / balancer://AGENT/
ProxyPassReverse / http://agent1.vicidialclient.net/agc
ProxyPassReverse / http://agent2.vicidialclient.net/agc
<Proxy balancer://AGENT>
BalancerMember http://agent1.vicidialclient.net/agc route=agent1
BalancerMember http://agent2.vicidialclient.net/agc route=agent2
ProxySet lbmethod=byrequests
</Proxy>
...

PostPosted: Mon Feb 01, 2010 8:00 am
by ruben23
@ Thanks

I will look on this..

server

PostPosted: Wed Feb 03, 2010 1:55 am
by slider
do you recommend separating apache from mysql? Does this help at all with security concerns having apache on the same box as mysql?

I would like to start with a group of 50 agents and then use ViciDial Server #2 for a second group of 100 agents and ViciDial Server #3 for a third group of another 100 agents. So total 250-300 agents. All groups only see their own data / campaigns. You think this would work:

Vicidial #1
Vicidial #2
Vicidial #3
mySql / Apache
mySql / Apache

ViciDial Servers would be DELL 1850's with:
CPU: 2x Xeon 3.4GHz / 1MB Cache / 800FSB
RAM: 4GB of PC-3200 ECC
HDD: 2x 73GB 10K U320 Hot Swap SCSI

mysql / Apache would be DELL 6850 with:
CPU: 4x Dual Core Xeon 7110M 2.6GHz / 4MB Cache / 800FSB
RAM: 16GB of PC-3200 ECC
HDD: 3x 146GB 10K U320 Hot Swap SCSI

What type of RAID should I run on the mysql?

I would be running all SIP to the carrier and agents would use a blend of IAX2 and PSTN External.

Thoughts, comments?

I'm also a little confused about timers and if I should install them on each box. I've never used an external USB device on our rack mount computers. I could only imagine one of them coming loose. I guess I could get the internal versions but not sure if these mother boards support that. Any advice here is appreciated.

Thanks in advance.

PostPosted: Wed Feb 03, 2010 7:31 am
by mflorell
You will need AT LEAST twice as many servers for 200-300 agents.

PostPosted: Wed Feb 03, 2010 11:01 pm
by slider
mflorell wrote:You will need AT LEAST twice as many servers for 200-300 agents.


what was I thinking, yes.. Yes I will..

PostPosted: Sat Feb 06, 2010 6:24 pm
by Op3r
This is my dirty way to answer the httpd/apache VICIDIAL web server question "How many agents can I put on a single web server?"

What's the answer?

If you are using vicidialNOW for your asterisk server, use the installed httpd server. If not, install apache on the asterisk servers.

So for example your agent station#1 is cc100 and it is connected to Asterisk server#1. Set the browser to login to Asterisk server#1.

But if you are of thise people who actually loads 50 agents on just 1 asterisk server, then I guess this route is not a good idea.

This is just my lazy way to not add a web server to maintain.