<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Sasmita,</p>
<p>By default, there is no clusterer replication if
"replicate_contacts_to" parameter is not set in usrloc. Also, even
if another node is sending replication packets, they will no get
processed on the receiving node unless
"accept_replicated_contacts" is set. On a typical setup, both
these parameter should be set on all nodes.</p>
<p>Are you getting any other errors in the logs besides that
"parameter not found" ?</p>
<p>Btw, I strongly suggest updating to 2.4 as it has received major
upgrades in terms of clustering.<br>
</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01/02/2019 12:10 PM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q47-b_RwPw=ZV9onz+o3FKorrTUCFMw_2J6KKywPrCnkig@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">Hi,
<div>I have another doubt . Please do help me . </div>
<div><br>
</div>
<div>When I am reading usrloc module document , its saying in
a cluster if we want to replicate the contacts across the
cluster then we have to set a parameter as below .</div>
<div>
<pre class="gmail-programlisting">modparam("usrloc", "replicate_contacts_to", 1)</pre>
<pre class="gmail-programlisting">The default value is 0 , where no cluster id is mentioned . </pre>
<pre class="gmail-programlisting">I have not set this , I have a cluster having 2 node . While I am registering a user , the contact is getting replicated between 2 nodes . </pre>
<pre class="gmail-programlisting">If I am trying to mention this parameter , then opensips is not getting started . Its saying </pre>
<pre class="gmail-programlisting"><b>Parameter <accept_replicated_contacts> not found in module <usrloc></b>
</pre>
<pre class="gmail-programlisting"><b>So , my question is , if this parameter is not set , still how contact replication is happening ? Is this the default behavior of cluster module ? </b></pre>
<pre class="gmail-programlisting"><b>May be my question is foolish ,it will be great if anybody will explain this . </b></pre>
<pre class="gmail-programlisting"><b>
</b></pre>
<pre class="gmail-programlisting"><b>
</b></pre>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Jan 2, 2019 at 12:22 PM Sasmita Panda
<<a href="mailto:spanda@3clogic.com" moz-do-not-send="true">spanda@3clogic.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Sammy,
<div><br>
</div>
<div>Yes , you are right . I need to reload the cluster data
through MI command . After reloading its seems fine . </div>
<div><br>
</div>
<div>I was not aware about the fact that the cluster data
also get shared with all nodes when I am adding that in 1
node only . </div>
<div><br>
</div>
<div>Thank you for your explanation . Its really helpful . </div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr"
class="gmail-m_1535075502659895812gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Dec 31, 2018 at 10:25 PM SamyGo <<a
href="mailto:govoiper@gmail.com" target="_blank"
moz-do-not-send="true">govoiper@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,
<div>Did you restart OpenSIPS process on both node1, and
2 simultaneously ? The way I look at this is one of
the two nodes kept the 3rd one in the memory and
restarting both nodes one at a time resulted in both
sharing their node structure and hence node3 stayed
visible. </div>
<div>I think possible way to remove a node gracefully
would be to disable the node via the MI command and
then remove from DB. I will try doing this on my test
setup as well.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Sammy </div>
<div> </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Dec 28, 2018 at 6:40 AM Sasmita
Panda <<a href="mailto:spanda@3clogic.com"
target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I have a cluster of 2 nodes . Both in working
condition . Then I added another node in the
same cluster which is down . </div>
<div><br>
</div>
<div>I restarted the opensips process , so it starts
pinging the new node to check its status . As the
new node is down , other nodes in the cluster
wont get any reply for the ping . Then I remove
the 3rd node from the cluster table and restart
the opensips process . </div>
<div><br>
</div>
<div>Now what I am getting in logs is , still the 2
working node in the cluster try to ping the 3rd
node which is not in the DB . </div>
<div><br>
</div>
<div>Is this an issue on the cluster module or I am
doing something wrong ?? Please help me . </div>
<div>
<div>
<div dir="ltr"
class="gmail-m_1535075502659895812gmail-m_-1586958614603638227gmail-m_-3764870107149487194gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and
Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>