<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 24.07.2019 15:33, Sasmita Panda wrote:<br>
<blockquote type="cite"
cite="mid:CALf-Q45=0on0GCyx6V6rFCEEg0Fw01R2jcp1AM7SwKbN6VO7=A@mail.gmail.com">
<div>Questions :</div>
<div>1. In user location of mongo db , it saves the data of the
user with the node IP . Its not the actual AOR of the user .
Where does the actual AOR get saved ? Is that saved in the
memory of opensips node only?<br>
</div>
</blockquote>
<tt>Correct: the MongoDB only holds metadata, showing where the user
is reachable from to all nodes. The actual AoR is saved<br>
in OpenSIPS memory, which is then sync'ed to the local MySQL
"location" table, for restart persistency purposes. See<br>
the restart_persistency [1] modparam for more details.<br>
</tt><br>
<blockquote type="cite"
cite="mid:CALf-Q45=0on0GCyx6V6rFCEEg0Fw01R2jcp1AM7SwKbN6VO7=A@mail.gmail.com">
<div> 2. As the cluster info is in the mysql DB , If 1 node will
get down , then I have to update the DB immediately and restart
the service ? OR that node will be disabled automatically no
need of service restart ? <br>
</div>
</blockquote>
<tt>No need to edit anything. The cluster detects when a node is
down and acts accordingly.</tt><tt> <br>
The cluster nodes will keep sending "probing" pings, to detect
when it comes back online.</tt><tt><br>
</tt>
<p><tt>Regards,</tt><br>
</p>
<tt></tt><tt>[1]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.0.x/usrloc.html#param_restart_persistency">https://opensips.org/html/docs/modules/3.0.x/usrloc.html#param_restart_persistency<br>
<br>
</a></tt>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<a
href="https://opensips.org/html/docs/modules/3.0.x/usrloc.html#param_restart_persistency"><br>
</a>
</body>
</html>