7 Replies Last post: Nov 13, 2008 11:34 AM by Imran  
Guest

May 18, 2007 5:43 AM

[OpenSIPStack] OSBC - load balancing

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
http://att1.html


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
1. May 18, 2007 5:56 AM in response to: Guest
Re: [OpenSIPStack] OSBC - load balancing
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


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Click to view Imran's profile   14 posts since
Sep 8, 2008
2. Nov 12, 2008 11:55 AM in response to: Guest
Re: [OpenSIPStack] OSBC - load balancing

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

Guest
3. Nov 12, 2008 8:18 PM in response to: Imran
Re: [OpenSIPStack] OSBC - load balancing
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
opensipstack-devel@lists.sourceforge.net
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

Click to view Imran's profile   14 posts since
Sep 8, 2008
4. Nov 13, 2008 3:59 AM in response to: Guest
Re: [OpenSIPStack] OSBC - load balancing
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

Guest
5. Nov 13, 2008 4:06 AM in response to: Imran
Re: [OpenSIPStack] OSBC - load balancing
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

Click to view Imran's profile   14 posts since
Sep 8, 2008
6. Nov 13, 2008 7:10 AM in response to: Guest
Re: [OpenSIPStack] OSBC - load balancing
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 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
Click to view Imran's profile   14 posts since
Sep 8, 2008
7. Nov 13, 2008 11:34 AM in response to: Imran
Re: [OpenSIPStack] OSBC - load balancing
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