[OpenSIPS-Users] rtpengine sets - load balancing proxy weighting
jeff at ugnd.org
Fri Aug 20 17:13:43 EST 2021
This may be a good place to ask this, or perhaps not.
Is it possible to define the DB rows in such a way that causes a
priority-based behavior? Prefer this one, move to the next if the first
isn't available, etc. As I think through it, it may be possible to do that
manually in the script by calling different groups, but it would be more
convenient if it just worked as a function of the schema.
For example, the way one defines gateways for use in the dr_carriers table
as part of the drouting module. Something like that if that makes sense.
On Fri, Aug 20, 2021 at 9:38 AM John Burke via Users <
users at lists.opensips.org> wrote:
> Hey Mark,
> The load balancing weights are set on a per node basis via their socket
> URL. If no weight is explicitly set, then the default is 1.
> There currently is no way to dynamically change the weight of a node,
> although there's an open PR  which would allow for weights to be changed
> via the "rtpengine_enable" MI command.
>  https://github.com/OpenSIPS/opensips/pull/2600
> John Burke
> On 8/20/21 5:00 AM, Mark Allen wrote:
> I've not been able to find the answer to this. Can anyone help?
> On Thu, 22 Jul 2021 at 11:02, Mark Allen <mark at allenclan.co.uk> wrote:
>> In the rtpengine documentation  in the section "1.2 - Multiple RTP
>> proxy usage" it says...
>> "The balancing inside a set is done automatically by the module based
>> on the weight of each RTP proxy from the set."
>> ...how is the weighting determined? Is there a parameter to allocate a
>> weighting value, is weighting allocated by the software dynamically (and if
>> so, based on what criteria?), or are all proxies weighted the same?
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users