[OpenSIPS-Users] Opensips Statefull Cluster
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Thu Sep 24 10:18:12 CEST 2009
Hi Noel,
Noel R. Morais wrote:
> My main problem is regarding the stateful solution. I didn't realize a
> way to make sure that the server (opensips) that generated the
> Requests (Proxy -> UA) will receive the UA's Response.
>
> In my tests, using LVS with 3 nodes (opensips servers), the Opensips
> sends the request, the response usually goes to a node different from
> that witch generated the request. If I use a stateless configuration,
> it works fine, but in a stateful config, no way.
>
But how comes the difference ? is the LVS looking for something special
in the replies so that for stateless it manage to send back to the same
node as the request?
Regards,
Bogdan
> Thanks
>
> On Wed, Sep 2, 2009 at 3:46 PM, Brett Nemeroff<brett at nemeroff.com> wrote:
>
>> UCARP is pretty simple as well:
>> http://www.ucarp.org/project/ucarp
>> Similar to the heartbeat (linuxHA) stuff, but a lot more lightweight from my
>> experience.
>>
>> On Wed, Sep 2, 2009 at 1:13 PM, Noel R. Morais <noelrocha at gmail.com> wrote:
>>
>>> Hi Sergio,
>>>
>>> Thats is a good solution. but what happen if my loadbalancer goes down? :(
>>>
>>> Regards,
>>>
>>> Noel
>>>
>>> On Wed, Sep 2, 2009 at 2:46 PM, Sergio Gutierrez<saguti at gmail.com> wrote:
>>>
>>>> Hello Noel.
>>>>
>>>> Maybe, you could find useful to have your loadbalancing at application
>>>> layer
>>>> by using the loadbalancer module in OpenSIPS instead of performing it at
>>>> transport/network layer, or might be combining them both.
>>>>
>>>> http://www.opensips.org/html/docs/modules/1.5.x/load_balancer.html
>>>>
>>>> Regards.
>>>>
>>>> Sergio
>>>>
>>>> On Wed, Sep 2, 2009 at 12:44 PM, Noel R. Morais <noelrocha at gmail.com>
>>>> wrote:
>>>>
>>>>> I've also tried heartbeat. But I'm having problems with requests
>>>>> generated by opensips to the UA. Its is stateful and using
>>>>> heartbeat/LVS I don't know what is the node that will receive the UA's
>>>>> response.
>>>>>
>>>>>
>>>>> On Wed, Sep 2, 2009 at 2:37 PM, Darren Sessions<darren.sessions at me.com>
>>>>> wrote:
>>>>>
>>>>>> I've used heartbeat extensively in the past with great success
>>>>>> running
>>>>>> ~7-8 second failover.
>>>>>>
>>>>>> - Darren
>>>>>>
>>>>>>
>>>>>> On Sep 2, 2009, at 11:30 AM, Noel R. Morais wrote:
>>>>>>
>>>>>>
>>>>>>> Hi Guys,
>>>>>>>
>>>>>>>
>>>>>>> What are my options to build a cluster of OpenSipS?
>>>>>>>
>>>>>>> I'm using LVS (http://www.linuxvirtualserver.org/) but I'm having
>>>>>>> some
>>>>>>> problems when using it with a stateful opensips configuration.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Noel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
More information about the Users
mailing list