Has anyone attempted to load balance SER using Ultramonkey/ldirectord?
I've noticed all it does is pretty much NAT and send requests
accordingly, the trick I guess would be the NAT part. If the SIP headers
= myself, would there really be any issues? One problem I can foresee is
the possibility that loose routing would hit the wrong server. Just
wanted to ask around before I wasted time trying it out for myself :-)
Thanks
Matt
Ok, I've checked over my config and am going bananas. I cannot get a
"failover" scenario working. The first LCR load_gw is fine however
whenever a call fails (in this instance I am generating a 404) it never
sees the second priority. Thoughts?
I Dial 636561XXXX
I checked my logs, everything goes through just fine, get the 404 (per
failover test), it gets caught by the failure if statement and spits out
no more gateways..
lcr table (accounting for e164 and non)
+------------+----------+--------+----------+
| prefix | from_uri | grp_id | priority |
+------------+----------+--------+----------+
| +1636 | % | 2 | 1 |
| +1636 | % | 1 | 2 |
| 636 | % | 2 | 1 |
| 636 | % | 1 | 2 |
+------------+----------+--------+----------+
route[99] {
t_on_failure("2");
if(!load_gws())
{
sl_send_reply("500", "Internal server error, unable to
load gateways");
break;
}
log (1, "Running next_gw\n");
if(!next_gw())
{
sl_send_reply("503", "Service not available, no gateways
found");
xlog("L_INFO", "<%ru> <%br>\n");
break;
}
xlog("L_INFO", "Time %Tf RURI <%ru> \n");
t_relay();
break;
}
failure_route[2]
{
log(1, "Hit failure route 2\n");
if(method == "INVITE" && t_check_status("408|500|503|480|400|404"))
{
xlog("L_INFO", "NOTICE: Hit failure 2 and error status code\n");
if (!next_gw())
{
xlog("L_INFO", "ERROR: No more gateways for LCR failover
dropping call\n");
t_reply("503", "Service not available, no more gateways");
break;
}
t_on_failure("2");
# ...
t_relay();
}
}
-----Original Message-----
From: Andres [mailto:andres@telesip.net]
Sent: Thursday, April 07, 2005 5:11 PM
To: Matt Schulte
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] LCR failure syntax
Matt Schulte wrote:
>Could anyone post a working example of the lcr next_gw syntax for
>failure routes? Thanks.
>
> Matt
>
>
>
something like this....
route[8] {
if (!load_gws()) {
sl_send_reply("500", "Server Internal Error - Cannot load
gateways");
break;
};
if (!next_gw()) {
sl_send_reply("503", "Service not available - No more gateways");
break;
};
t_on_failure("4");
if (!t_relay()) {
sl_reply_error();
};
}
failure_route[4] {
if (!next_gw()) {
t_reply("503", "Service not available - No more
gateways");
break;
};
t_relay();
break;
}
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
--
Andres
Network Admin
http://www.telesip.net
Heheh, we may actually test one of those F5network switches...i f we
don't come up with a fairly painless, bugfree, and most importantly
supportable solution. :-) I cannot code therefore I would be useless,
but I can safely say learning C is on my to-do list. We may however be
willing to contribute to a bounty, at the very least I'd be more than
happy to test :D
Matt
-----Original Message-----
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Tuesday, April 12, 2005 5:29 AM
To: Matt Schulte; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Load Balancing via UltraMonkey/ldirectord
:-) Yes, layer 7 switch is of course nice. But then again, you need to
make
sure that you can price your services where people will buy them...
I wonder whether it is possible to gather some people interested in this
and
get something started on the development side. AFAIK, LVS struggles with
other UDP services too, so a ipvs UDP content analyzer would probably be
of
interest. I looked at the source code and I think the most difficult
thing
would be to extend the ipvs framework to allow a module to peak into the
packet (and not only the header). I don't know what kind of performance
penalties you get either.
I have seen several people being willing to sponsor development. We
could
hire somebody at http://www.rentacoder.com/ ;-)
g-)
Matt Schulte wrote:
> Yah I noticed the other post after I posted mine, I don't see how it
> would easily be possible to address the sticky issue. It would require
> making a SIP aware proxy of sorts, which is a bit out of my abilities.
> Has anyone been able to address this issue? Of course a layer7 switch
> would do wonders and eliminate the need for all this, but who has that
> money laying around :D
>
> I've done a little research (google) and noticed people mentioning it
> when talking about LVS, one guy said he was going to write a module
> but posted nothing more. That would be pretty slick.
>
> Matt
>
> -----Original Message-----
> From: Greger V. Teigre [mailto:greger@teigre.com]
> Sent: Monday, April 11, 2005 3:04 AM
> To: Matt Schulte; serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Load Balancing via UltraMonkey/ldirectord
>
>
> If you see another thread (using the rather intuitive subject: Re:
> [Serusers] more usrloc synchronization), you will see discussions on
> using LVS in general. AFAIK, which high availability solution to use
> for LVS, is
> more based on your personal preferences, UltraMonkey is probably a
> safe choice. Anyway, you will need to address the "stickiness" issue.
> g-)
>
> Matt Schulte wrote:
>> Has anyone attempted to load balance SER using
>> Ultramonkey/ldirectord?
>
>> I've noticed all it does is pretty much NAT and send requests
>> accordingly, the trick I guess would be the NAT part. If the SIP
>> headers = myself, would there really be any issues? One problem I can
>> foresee is the possibility that loose routing would hit the wrong
>> server. Just wanted to ask around before I wasted time trying it out
>> for myself :-) Thanks
>>
>> Matt
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
[root@localhost ser]# /usr/sbin/ser_mysql.sh create
MySql password for root:
Domain (realm) for the default user 'admin':
HA1 calculation failed
[root@localhost ser]#
I have looked al through google and have asked here as well, but still
no luck HELP!!!! Please.
Regards
Paul Dracevich
Wireless Technology Consultant
Wayby Group
Mobile +64 29 638 9675
Phone +64 9 623 2143
Fax +64 9 623 1380
email paul(a)vnet.cc
website www.vnet.cc
<file:///C:\Documents%20and%20Settings\paul\Application%20Data\Microsoft
\Signatures\www.vnet.cc>
"the freedom to communicate is the right of every individual in the 21st
century" "Intellectual Property protection is the key to the Knowledge
Economy" This email was sent to you via YOUtopia ... it's all about YOU.
The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the intended
recipient then you must not use, disseminate, distribute or copy any
information contained in this email or any attachments. If you have
received this email in error, please contact us immediately and delete
this email. Thank you.
Hi all,
Here is my confusion about SER supporting NAT transversal.
1. With only RTPProxy, what kinds of types of NAT can SER with nathelper transverse?
2. What's the difference between MediaProxy and RTPProxy?
3. If UA supports STUN, do SER need to configure nathelper to support NAT transversal? Just because I knew STUN protocol only process a few kinds of types of NAT, I want to know what advantage it will add if I configure SER with nathelper.
Thanks a lot!
ljzhang
xueyou38(a)163.com
2005-04-12
Hi all,
Here is my confusion about SER supporting NAT transversal.
1. With only RTPProxy, what kinds of types of NAT can SER with nathelper transverse?
2. What's the difference between MediaProxy and RTPProxy?
3. If UA supports STUN, do SER need to configure nathelper to support NAT transversal? Just because I knew STUN protocol only process a few kinds of types of NAT, I want to know what advantage it will add if I configure SER with nathelper.
Thanks a lot!
ljzhang
xueyou38(a)163.com
2005-04-12
Can someone please send me a database schema for ser mysql
Regards
Paul Dracevich
Wireless Technology Consultant
Wayby Group
Mobile +64 29 638 9675
Phone +64 9 623 2143
Fax +64 9 623 1380
email paul(a)vnet.cc
website www.vnet.cc
<file:///C:\Documents%20and%20Settings\paul\Application%20Data\Microsoft
\Signatures\www.vnet.cc>
"the freedom to communicate is the right of every individual in the 21st
century" "Intellectual Property protection is the key to the Knowledge
Economy" This email was sent to you via YOUtopia ... it's all about YOU.
The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the intended
recipient then you must not use, disseminate, distribute or copy any
information contained in this email or any attachments. If you have
received this email in error, please contact us immediately and delete
this email. Thank you.