[OpenSIPS-Users] 2.4 full-sharing-cachedb-cluster

Alexey Kazantsev kurgan-rus at inbox.ru
Thu Dec 12 00:09:44 EST 2019


Hi list.
 
I have a 2.4 full-sharing-cluster and trying to
make it as redundant as possible.
 
So I configured 
 
   modparam("usrloc", "working_mode_preset", "full-sharing-cachedb-cluster")
 
and separate MongoDB to each OpenSIPS node:
 
  # node 1
  modparam("usrloc", "cachedb_url", "mongodb://1.1.1.1:27017/opensipsDB.userlocation")
 
  # node 2
  modparam("usrloc", "cachedb_url", "mongodb://2.2.2.2:27017/opensipsDB.userlocation")
 
 
And as I see, this is not the right way, because ‘opensipsctl fifo ul_dump’ shows nothing
in such architecture, though the REGISTER messages are handled correctly.
 
Everything is OK with ‘opensipsctl fifo ul_dump’ when I use the same MongoDB
for both OpenSIPS nodes.
 
So the question is: should we use the same MongoDB in "full-sharing-cachedb-cluster" ?
Or it’s possible to use geographically distributed ones?
 
-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191212/79c7b8b2/attachment.html>


More information about the Users mailing list