[Serusers] Scaling SER

Tracy Lofton tracylofton_1 at hotmail.com
Tue Sep 19 00:02:54 CEST 2006


Hi again,

As a second note, implementing something like 
mediaproxy/proxydispatcher.py/mediaproxy.py and of course using the same, 
SER database you currently have, you can distribute load balancing and 
failover, per the INSTALL info found here for implementing mediaproxy:

http://mediaproxy.ag-projects.com/INSTALL

an excerpt states:

"Considering your domain is mydomain.com and you wan to dedicate 3 main
servers and 2 fallbacks. The main servers you want to distribute traffic
among are 2 1Ghz machines (named nat1 and nat2) and a 2Ghz machine (nat3).
You want 25% from the traffic to go to each 1Ghz machine and 50% to the 2Ghz
machine. For the fallbacks (nat4 and nat5) you want to distribute the
traffic equally among the 2 machines....

_mediaproxy._tcp.mydomain.com.  IN SRV   0  25 25060 nat1.mydomain.com.
_mediaproxy._tcp.mydomain.com.  IN SRV   0  25 25060 nat2.mydomain.com.
_mediaproxy._tcp.mydomain.com.  IN SRV   0  50 25060 nat3.mydomain.com.
_mediaproxy._tcp.mydomain.com.  IN SRV  10  50 25060 nat4.mydomain.com.
_mediaproxy._tcp.mydomain.com.  IN SRV  10  50 25060 nat5.mydomain.com.  "

I hope this helps because it seems like it should  work with no problem with 
many SER servers sharing the same db but balancing the load however you 
decide to distribute by manipulating/creating pertinent  DNS SRV records.  
Actually, I do currently utilize mediaproxy and with regard to nat 
traversal/two-way audio capabilities, it serves me well.

Tracy


>From: Jon Farmer <jon at bctech.co.uk>
>To: SER Mailing List <serusers at iptel.org>
>Subject: [Serusers] Scaling SER
>Date: Mon, 18 Sep 2006 20:28:13 +0100
>"
>Hi
>
>I currently have a single SER server using MySQL for data storage. Due
>to the number of users I now have and to help redundancy I want to setup
>another SER server.
>
>I have search the web and have not been able to find a tutorial on this
>so I hope someone on this list can help.
>
>I need the SER servers to at least know about the location of clients
>registered with each server. Therefore can I point both servers at the
>same MySQL and for them to share the data?
>
>Are there any issues around this strategy? Is there another way to
>accomplish what I want?
>
>Regards
>
>Jon
>
>--
>Jon Farmer
>Telford, Shropshire, UK
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

_________________________________________________________________
Find a local pizza place, music store, museum and more…then map the best 
route!  http://local.live.com




More information about the sr-users mailing list