<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Sasmita,</p>
<p>The functions that allow you the send custom messages in the
cluster at script level are still there in opensips 3.0, so yes,
you can implement something similar to that blog post.</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 09/06/2019 11:25 AM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q46Ef0wKWP5pAN7LtcyazdQq6cpy-kn-oTr+MOwkz_AfgA@mail.gmail.com">
<div dir="ltr">Ok . Thank you .
<div><br>
</div>
<div>I got a document for geo distributed clustering which uses
redis as cache . This uses opensips 2.4 . I had tested this
architecture also . This is working fine . </div>
<div><a
href="https://saevolgo.blogspot.com/2018/01/opensips-geo-distributed-clustering.html"
moz-do-not-send="true">https://saevolgo.blogspot.com/2018/01/opensips-geo-distributed-clustering.html</a> </div>
<div><br>
</div>
<div>Can I use this kind of scripting with opensips 3.0 to use
redis cache ? <br>
</div>
<div><br>
</div>
<div>If not , then to use redis I have to use opensips2.4 with
clustering . Am I right ?</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="m_7852582535895804985gmail_signature"
data-smartmail="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>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 6, 2019 at 1:31 PM
Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com"
target="_blank" moz-do-not-send="true">gmaruzz@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">
<div>it cannot work</div>
<div>documentation say that explicitly<br>
</div>
<div><br>
</div>
<div>"Currently, the metadata information may be published
to NoSQL databases which support key/multi-value
column-like associations. Example known backends to
support these abstractions at the time of writing are
MongoDB and Cassandra."<br>
<br>
<a
href="https://opensips.org/html/docs/modules/3.0.x/usrloc.html"
target="_blank" moz-do-not-send="true">https://opensips.org/html/docs/modules/3.0.x/usrloc.html</a><br>
<br>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Sep 6, 2019 at
9:53 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 tested opensips 3.0 federated cachedb
cluster with mongo db as cache db . </div>
<div><br>
</div>
<div>But in my company we are using redis as cache db. </div>
<div><br>
</div>
<div>loadmodule "cachedb_redis.so"<br>
loadmodule "db_cachedb.so"<br>
modparam("cachedb_redis",
"cachedb_url","redis:group1://<a
href="http://192.168.0.213:6379/" target="_blank"
moz-do-not-send="true">192.168.0.213:6379/</a>")<br>
modparam("db_cachedb","cachedb_url","redis:group1://<a
href="http://192.168.0.213:6379/" target="_blank"
moz-do-not-send="true">192.168.0.213:6379/</a>")</div>
<div>modparam("usrloc", "cachedb_url", "redis:group1://<a
href="http://192.168.0.213:6379/" target="_blank"
moz-do-not-send="true">192.168.0.213:6379/</a>")<br>
</div>
<div><br>
</div>
<div>In place of mongodb I have replace redis . But its
not working . I am not getting any data the redis
cache . Please help me .</div>
<div><br>
<div>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail-m_-3981957853994090034gmail_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" class="gmail_attr">On Mon, Sep 2, 2019 at
1:07 PM 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"><br clear="all">
<div>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail-m_-3981957853994090034gmail-m_7006084925014723346gmail_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>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">----------
Forwarded message ---------<br>
From: <strong class="gmail_sendername"
dir="auto">Giovanni Maruzzelli</strong> <span
dir="auto"><<a
href="mailto:gmaruzz@gmail.com"
target="_blank" moz-do-not-send="true">gmaruzz@gmail.com</a>></span><br>
Date: Mon, Sep 2, 2019 at 12:40 PM<br>
Subject: Re: [OpenSIPS-Users] need some help
using opensips 3.0 cluster module .<br>
To: OpenSIPS users mailling list <<a
href="mailto:users@lists.opensips.org"
target="_blank" moz-do-not-send="true">users@lists.opensips.org</a>><br>
</div>
<br>
<br>
<div dir="ltr">
<div>Sasmita, how possibly you can do that?<br>
</div>
<div>How you then associate a machine with an
id?<br>
</div>
<div>Would you create a new database field for
the MAC of the machine?</div>
<div><br>
</div>
<div>-giovanni</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Sep 2,
2019 at 8:54 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>In clustering , every opensips node has
its own node id . </div>
<div><br>
</div>
<div>modparam("clusterer", "my_node_id", 2)<br>
</div>
<div><br>
</div>
<div>I want to read this value from from the
DB . Is this possible or not ? If yes ,
how will I do this ? </div>
<div><br>
</div>
<div>Please do help me . </div>
<div><br>
</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail-m_-3981957853994090034gmail-m_7006084925014723346m_9205744509209100781gmail-m_-6583554587407990059gmail_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" class="gmail_attr">On Thu,
Aug 8, 2019 at 12:44 PM 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">Thank you so much for the
explanation .
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail-m_-3981957853994090034gmail-m_7006084925014723346m_9205744509209100781gmail-m_-6583554587407990059gmail-m_1815478459546341624gmail_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" class="gmail_attr">On
Wed, Aug 7, 2019 at 6:46 PM Liviu
Chircu <<a
href="mailto:liviu@opensips.org"
target="_blank"
moz-do-not-send="true">liviu@opensips.org</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">Sasmita,<br>
<br>
Dialog replication is not meant to
work on such a cluster. Since dialogs
<br>
retain more<br>
state than registration, they are more
sensitive to the IP of the <br>
current node.<br>
<br>
If you want high-availability for
dialogs, the basic unit of deployment
<br>
shifts from<br>
1 server to 2 servers (an
active/backup pair). And in order to
have the <br>
same IP on<br>
both servers, you must use
VRRP-capable software, such as
keepalived.<br>
<br>
Deploy as many pairs as needed in each
location according to your <br>
traffic volume, and<br>
make sure to give each pair its own
Virtual (highly available) IP that <br>
can automatically<br>
move from the active node to the
backup in case the former one catches
fire.<br>
<br>
PS: this information should be
included in the dialog replication
blog <br>
post, so make<br>
sure to read it closely.<br>
<br>
Liviu<br>
<br>
On 8/6/19 1:25 AM, Sasmita Panda
wrote:<br>
> | id | cluster_id | node_id | url
| state | <br>
> no_ping_retries | priority |
sip_addr | flags | description |<br>
> | 1 | 1 | 1 |
bin:192.168.0.x:5555 | 1 |
<br>
> 3 | 50 | 192.168.0.x | seed
| Node A |<br>
> | 2 | 1 | 2 |
bin:192.168.0.y:5555 | 1 |
<br>
> 3 | 50 | 192.168.0.y | seed
| Node B |<br>
> | 3 | 1 | 3 |
bin:192.168.0.z:5555 | 1 |
<br>
> 3 | 50 | 192.168.0.z | seed
| Node C<br>
<br>
_______________________________________________<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>
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 clear="all">
<br>
-- <br>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail-m_-3981957853994090034gmail-m_7006084925014723346m_9205744509209100781gmail_signature">Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
OpenTelecom.IT<br>
cell: +39 347 266 56 18<br>
<br>
</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>
</div>
</div>
</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>
<br clear="all">
<br>
-- <br>
<div dir="ltr"
class="gmail-m_7852582535895804985gmail-m_5542377730665427261gmail-m_2333068183442497321gmail_signature">Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
OpenTelecom.IT<br>
cell: +39 347 266 56 18<br>
<br>
</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>
<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>