<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/">192.168.0.213:6379/</a>")<br>modparam("db_cachedb","cachedb_url","redis:group1://<a href="http://192.168.0.213:6379/">192.168.0.213:6379/</a>")</div><div>modparam("usrloc", "cachedb_url", "redis:group1://<a href="http://192.168.0.213:6379/">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_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 Mon, Sep 2, 2019 at 1:07 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com">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_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">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">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">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_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">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_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">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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail-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">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div>
</blockquote></div>