<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
thanks all for your kind reply, </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear <span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">Mojtaba, </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">i'm
 confusing a little bit about the following part: </span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">>In
 Registration message in ICSCF nodes, you could use HA to load</span><br style=" font-size: 14.6667px; background-color: rgb(255, 255, 255)">
<span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">>balance traffics between SCSCF in LIR Diameter message. For example in</span><br style=" font-size: 14.6667px; background-color: rgb(255, 255, 255)">
<span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">>LIA Diameter, you could sent a name of SCSCF thet has lower traffics.</span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">i
 know that the LIA will handle the S-cscf name and capability to the i-cscf based on what pre-defined on the HSS (user profile part) , so how could i know the S-cscf which has the lower traffic and send it on the LIA message ?? </span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">if
 you have a tutorial or any guide i will be thankful.  </span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">thanks
 in advance & </span></span><span style="font-size: 14.6667px;">regards.</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(51, 51, 51); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><span style=" font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">Eyas</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Mojtaba <mespio@gmail.com><br>
<b>Sent:</b> Friday, November 9, 2018 9:05 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] high availability and load balancing</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi,<br>
The concept of HA in IMS is a little different in non-IMS network.<br>
In each node of CSCF in IMS, you could do HA separately.<br>
For example in PCSCF, you could use DNS load balancer to select one of<br>
your PCSCF.  Actually the UE just see one domain as PCSCF, while you<br>
may have more than one PCSCF in your network.<br>
In each PCSCF, you could use dispatcher module to load balance all<br>
Registration traffics between ICSCF nodes.  All initiate traffices<br>
(like Invite message and etc) route to specific SCSCF via<br>
service-route header.<br>
In Registration message in ICSCF nodes, you could use HA to load<br>
balance traffics between SCSCF in LIR Diameter message. For example in<br>
LIA Diameter, you could sent a name of SCSCF thet has lower traffics.<br>
finally the HA in IMS is doning some procedure, not only one or two task.<br>
With Regards. Mojtaba Esfandiari.S<br>
On Fri, Nov 9, 2018 at 11:23 PM Kjeld Flarup<br>
<kjeld.flarup@liberalismen.dk> wrote:<br>
><br>
> Hi Eyas<br>
><br>
><br>
> A typical HA setup has two kamailio proxies with identical setup.<br>
><br>
> Use keepalived or similar to give the proxies a shared IP.<br>
><br>
> Because of the shared IP, all traffic will go to one proxy only.<br>
><br>
> Thus each of the proxies must be able to handle all traffic, mening the functionality must be very simple - no media handling.<br>
><br>
> Then use the dispatcher module to do load balancing.<br>
><br>
><br>
><br>
><br>
> -------------------- Med Liberalistiske Hilsner ----------------------<br>
>    Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog<br>
>    Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49<br>
>    Den ikke akademiske hjemmeside for liberalismen - <a href="http://www.liberalismen.dk">
www.liberalismen.dk</a><br>
><br>
> On 11/9/18 5:09 PM, eyas barhouk wrote:<br>
><br>
> hello dears,<br>
><br>
> i'm using kamailio 5.1 as IMS , and i have the following servers:<br>
><br>
> p-cscf<br>
> i-cscf-1 ,icscf-2<br>
> s-cscf-1,scscf-2<br>
><br>
> i need to do high availability and load balancing between my servers , but i have some questions like do i have to use keepalived or dispatcher module and what the benefits of each one of them ,and on load balancing method should i do it for the register
 requests or only for invite requests or just for every thing ??<br>
> if any one has an idea or any thing to guide me i will be thankful<br>
><br>
> thanks in advance and regards<br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> sr-users@lists.kamailio.org<br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> sr-users@lists.kamailio.org<br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
<br>
-- <br>
--Mojtaba Esfandiari.S<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</span></font></div>
</body>
</html>