<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Amel & Wissal,<br>
<br>
The `location` table should not be shared across multiple OpenSIPS
instances, it should be one per OpenSIPS ( similar the `dialog` or
presence related tables)<br>
<br>
For the `dispatcher` table, the `socket` column is optional. But
if you have to use it, use the socket definition via socket tag
(see [1]) - of course, use the same socket tag in all OpenSIPS cfg
instances.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Script-CoreParameters-3-4#socket">https://www.opensips.org/Documentation/Script-CoreParameters-3-4#socket</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 02.08.2024 11:06,
<a class="moz-txt-link-abbreviated" href="mailto:amel.guesmi@sofrecom.com">amel.guesmi@sofrecom.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR02MB54412DA7B9CF1AAD5CD9933C92B32@AM0PR02MB5441.eurprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}@font-face
{font-family:"Nunito Sans";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Nunito Sans";
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
mso-ligatures:none;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060">Hello
Community,<o:p></o:p></span></p>
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060">I
have a question regarding the OpenSIPS database setup. I'm
currently using a Galera cluster with two OpenSIPS
instances, and I'm encountering an issue with maintaining a
unified database view.<o:p></o:p></span></p>
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060">Specifically,
in certain tables such as
<strong><span
style="font-family:"Calibri Light",sans-serif">Dispatcher</span></strong>
and
<strong><span
style="font-family:"Calibri Light",sans-serif">Location,</span></strong>
the
<strong><span
style="font-family:"Calibri Light",sans-serif">Socket
</span></strong>column always contains IP addresses that
are specific to each VM. This VM-specific data prevents a
unified view of the database, causing inconsistencies
between the two OpenSIPS instances.<o:p></o:p></span></p>
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060">How
can I ensure that both VMs share a unified database view
without relying on VM-specific IP addresses in the Socket
column?<o:p></o:p></span></p>
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060"> Thank
you in advance for your assistance.<o:p></o:p></span></p>
<p><span
style="font-family:"Calibri Light",sans-serif;color:#002060">On
belahf of my colleague Wissal
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Calibri Light",sans-serif;color:#002060"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>