Thread: [OpenSIPStack] OSBC - load balancing
Brought to you by:
joegenbaclor
From: Costin B. <cos...@ya...> - 2007-05-18 09:44:03
|
Hello, I saw in some descriptions for OpenSBC that this can be configured to load balance sessions across other instances. Each instance may be run on separate servers. For example: I have 2 instances of OpenSBC. Every of them runs on a PC. How can I configure this 2 instances to make load balancing? Regards, Costin Bularca ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL |
From: Joegen E. B. <jb...@so...> - 2007-05-18 09:56:11
|
Costin Bularca wrote: > Hello, > I saw in some descriptions for OpenSBC that this can be configured to > load balance sessions across other instances. Each instance may be run > on separate servers. > For example: I have 2 instances of OpenSBC. Every of them runs on a PC. > How can I configure this 2 instances to make load balancing? > > Regards, > Costin Bularca > You can configure OpenSBC as a load balancer. You are going to need to run the load balancer instance in one of your two boxes. The load balancer should be configured to run in ProxyOnlyMode. Then in Relay Routes, you can specify the address of the other two instances of opensbc Example: [*] sip:opensbcipaddress_1:5080 | sip:opensbcipaddress_2:5060 Joegen |
From: OpenSIPStack F. <ope...@op...> - 2008-11-12 16:55:55
|
Hi, How is load balancing accomplished with the newer versions of OpenSBC? I have 2 (OpenSBC)servers which should communicate with with 1(OpenSBC) Load Balancing instance . In the newer versions i dont see the relay routes. In Proxy-Rela-Routes i see seperate fields. The information filled in this menu is not enough to get the load balancer do "load balancing". Regards, Imran |
From: <jo...@op...> - 2008-11-13 01:18:57
|
You can use the OpenSBCGroomer under Tools/OpenSBCGroomer to do the load balancing for you. It goes with a sample XML file to demonstrate routing. OpenSIPStack Forum wrote: > Hi, > > > > > > How is load balancing accomplished with the newer versions of OpenSBC? > > > I have 2 (OpenSBC)servers which should communicate with with 1(OpenSBC) Load Balancing instance . > > > In the newer versions i dont see the relay routes. In Proxy-Rela-Routes i see seperate fields. The information filled in this menu is not enough to get the load balancer do "load balancing". > > > > > > Regards, > > > Imran > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.175 / Virus Database: 270.9.2/1784 - Release Date: 11/12/2008 7:01 PM > > |
From: OpenSIPStack F. <ope...@op...> - 2008-11-13 09:00:19
|
Hi, Thanks for such a fast answer. I'm using the RC1 of OpenSBC. There isnt such file file under Tools. Under Tools there is: SBCLaunchPad SQPlus Tail. Is it a feature coming with the cvs? Regards, Imran |
From: Joegen E. B. <joe...@gm...> - 2008-11-13 09:07:06
|
It is already in CVS OpenSIPStack Forum wrote: > Hi, > > > Thanks for such a fast answer. > I'm using the RC1 of OpenSBC. There isnt such file file under Tools. Under Tools there is: SBCLaunchPad SQPlus Tail. Is it a feature coming with the cvs? > > > Regards, > Imran > > > |
From: OpenSIPStack F. <ope...@op...> - 2008-11-13 12:10:44
|
Hi, I installed the CVS version of OpenSBC. However, I did not manage to get Load balancing work with the osbcgroomer. I used the XML example (which came with the OpenSBCGroomer) and adjusted wioth my own IP's. I put the file in the same directory as the ossgroomer (obj_linnux_d) I start it in the shell with "./osbcgroomer -r route.xml -i sip:ip.x.x.x:5060 " where the IP is the server. I get a notification "Enable to load Route File" (where I believe the developer meant unable?) If my set up is Internet -> OpenSBC_Load_Balancer -> (OpenSBCserver1 | OpenSBCserver2) How will I let the LB communicate in load balancing way with either server1 or 2? I'm new into the OpenSBC project and did not find any trail to do Load balancing with OpenSBC. If there is any document regarding this I'm very interested in it. One other point: [http://www.opensourcesip.org:8080/clearspacex/docs/DOC-1031|d-1031] I came across this document, but its for the older version of OpenSBC. Is there such document for the 1.1.5 version of OpenSBC? Is it possible to do Load balancing within the GUI of OpenSBC? Any help would be apreciated. regards, Imran |
From: OpenSIPStack F. <ope...@op...> - 2008-11-13 16:34:50
|
Hi, I tried much today to get the OpenSBC do load balancing. I did not succeed. I would appreciate help if one knows: * How to make xml such way that the servers1 and 2 will accept calls from LB * Where to put these scripts? (how could they be started?) The startup procedure? TiA. Regards, Imran |
From: <jo...@op...> - 2008-11-14 01:42:39
|
Just set the address of the groomer as the OBProxy in the Outbound-Proxy list in web admin. How To Run: ./osbcgroomer -ttttt -p process-id.txt -r route.xml -i sip:192.168.0.253:5060 usage: -v|-h -t Trace level. Example -ttt means Log Level 3 -h --help output this help message and exit -v --version display version information and exit -p --pid-file name or absolute path for pid file -r --route-xml-file name or absolute path for xml route file -i --interface-address interface address to be used for listener in SIP URI format How To Configure the route.xml Below is a sample rotue.xml file <routes prefix-match-length="3"> <block host="10.0.0.1" filter="1212" catch-all="sip:ha1.gateway.com"> </block> <block host="10.0.0.1" filter="00" catch-all="sip:ha2.gateway.com"> </block> <block host="*" catch-all="sip:everythingelse.gateway.com"> </block> </routes> The above simply means 1. All calls coming from 10.0.0.1 with prefix 1212 goes to ha1.gateway.com 2. All calls coming from 10.0.0.1 with prefix 00 goes to ha2.gateway.com 3. Everything else goes to everythingelse.gateway.com Joegen OpenSIPStack Forum wrote: > Hi, > > I tried much today to get the OpenSBC do load balancing. I did not succeed. > I would appreciate help if one knows: > * How to make xml such way that the servers1 and 2 will accept calls from LB > * Where to put these scripts? (how could they be started?) The startup procedure? > > TiA. > > Regards, > Imran > > |
From: Imran K. <Im...@wi...> - 2008-11-14 16:25:44
|
Hi, I get the following error when I start Groomer and send data from my client to the LB: 'SIP/2.0 405 Not Processing Request' (on the Load balancer - SIP 405 is method not allowed?) This is the whole message: 2008-11-14 18:08:07:871 1226682487.871622: Continuing call on unexpected message for Call-Id '3-3045@192.168.1.115': while expecting '100' (index 1), received 'SIP/2.0 405 Not Processing Request^M From: "client1" <sip:cl...@op...:5060>;tag=3^M To: <sip:cl...@op...>^M Via: SIP/2.0/UDP 192.168.1.136:5060;branch=z9hG4bK-3045-3-0;rport=5060;received=192.168.1 .115^M CSeq: 100 REGISTER^M Call-ID: 3-3045@192.168.1.115^M Server: OpenSBCGroomer 1.0.0-9^M Content-Length: 0^M I still cant send signaling signaling to the server I get stick till the load balancer. Client->load balancer-> server I started the webbrowser of LB on 5060. Then I started the groomer on 5070.. In the OBproxy I set the adres to LB_IP:5070. In theory I should start to receive the signaling trough the LB on my server now right? TiA. Regards, Imran -----Original Message----- From: jo...@op... [mailto:joe...@gm...] Sent: vrijdag 14 november 2008 2:42 To: ope...@op...; ope...@li... Subject: Re: [OpenSIPStack] OSBC - load balancing Just set the address of the groomer as the OBProxy in the Outbound-Proxy list in web admin. How To Run: ./osbcgroomer -ttttt -p process-id.txt -r route.xml -i sip:192.168.0.253:5060 usage: -v|-h -t Trace level. Example -ttt means Log Level 3 -h --help output this help message and exit -v --version display version information and exit -p --pid-file name or absolute path for pid file -r --route-xml-file name or absolute path for xml route file -i --interface-address interface address to be used for listener in SIP URI format How To Configure the route.xml Below is a sample rotue.xml file <routes prefix-match-length="3"> <block host="10.0.0.1" filter="1212" catch-all="sip:ha1.gateway.com"> </block> <block host="10.0.0.1" filter="00" catch-all="sip:ha2.gateway.com"> </block> <block host="*" catch-all="sip:everythingelse.gateway.com"> </block> </routes> The above simply means 1. All calls coming from 10.0.0.1 with prefix 1212 goes to ha1.gateway.com 2. All calls coming from 10.0.0.1 with prefix 00 goes to ha2.gateway.com 3. Everything else goes to everythingelse.gateway.com Joegen OpenSIPStack Forum wrote: > Hi, > > I tried much today to get the OpenSBC do load balancing. I did not succeed. > I would appreciate help if one knows: > * How to make xml such way that the servers1 and 2 will accept calls from LB > * Where to put these scripts? (how could they be started?) The startup procedure? > > TiA. > > Regards, > Imran > > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |