[OpenSIPS-Users] Need some suggestion in full-sharing-cachedb-cluster .

Sasmita Panda spanda at 3clogic.com
Tue Apr 26 13:55:20 UTC 2022


Hi All ,

I am using opensips 3.2 .
I Want to build a cluster with redis as cachedb . I am
using  full-sharing-cachedb-cluster mode . I have tested with MongoDB .
It's working perfectly fine .

I am curious to know if this works with Redis or not . In the document it
mentions about  *Cassandra* . But I am not getting how to configure it with
Redis .

loadmodule "db_cachedb.so"
loadmodule "cachedb_redis.so"
modparam("cachedb_redis", "cachedb_url","redis:group1://10.4.128.144:6379/")
modparam("db_cachedb","cachedb_url", "redis:group1://10.4.128.144:6379/")

modparam("usrloc", "cluster_mode", "full-sharing-cachedb")
modparam("usrloc", "cachedb_url", "redis:group1://
10.4.128.144:6379/opensipsDB.userlocation")


opensips gives some error while starting .

 ERROR:usrloc:ul_check_db: not enough capabilities for cachedb_url
redis:group1://10.4.128.144:6379/opensipsDB.userlocation
 ERROR:usrloc:mod_init: DB support check failed
ERROR:core:init_mod: failed to initialize module usrloc
ERROR:core:main: error while initializing modules


Can anyone please help ?

*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220426/be30fa5a/attachment.html>


More information about the Users mailing list