Setup...SErvs

Any and all non-support discussions

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

Setup...SErvs

Postby ruben23 » Sat Jan 30, 2010 2:19 pm

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..? :(
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Sat Jan 30, 2010 3:37 pm

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.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Sat Jan 30, 2010 4:46 pm

@ 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
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Sat Jan 30, 2010 11:06 pm

We have upto 200 agents on a single dedicated webserver.

if it's shared with DB you shouldn't go over 100
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Sun Jan 31, 2010 10:35 pm

hi anyone tried and setup a load balance web server for vicidial, like using HAproxy method to load balance. :)
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Mon Feb 01, 2010 1:59 am

You can use the built-in Apache web server load balancing, it works great for us.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Mon Feb 01, 2010 2:17 am

@ matt

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

any docs for using it..is it part of the SVN..
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby mflorell » Mon Feb 01, 2010 7:35 am

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>
...
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ruben23 » Mon Feb 01, 2010 8:00 am

@ Thanks

I will look on this..
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

server

Postby slider » Wed Feb 03, 2010 1:55 am

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.
slider
 
Posts: 42
Joined: Sun Jan 31, 2010 4:48 pm

Postby mflorell » Wed Feb 03, 2010 7:31 am

You will need AT LEAST twice as many servers for 200-300 agents.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby slider » Wed Feb 03, 2010 11:01 pm

mflorell wrote:You will need AT LEAST twice as many servers for 200-300 agents.


what was I thinking, yes.. Yes I will..
slider
 
Posts: 42
Joined: Sun Jan 31, 2010 4:48 pm

Postby Op3r » Sat Feb 06, 2010 6:24 pm

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.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 199 guests