[SR-Users] usrloc module does not work with db_cluster

Uri Shacked ushacked at gmail.com
Wed Oct 25 12:31:30 CEST 2017


Hi,

I started using db_cluster module.
DB are  master-slave replication both ways.

#!define DBURL "cluster://kamailio"

when i stop the primary  mysql server, all subscribers fails to register
again.
seems like the usrloc module does not work with the cluster.

modparam("usrloc", "db_mode",  1)
modparam("db_cluster", "cluster", "kamailio=>primary=9s9s;secondary=8s8s")


it works OK for modules like dispatcher and htable to reload from DB.
it shows the sql driver errors, but reloads from the secondary server.


I need auto expire, so, p_usrloc is not a good option.
working with version 4.2

any ideas ?

Uri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171025/1edc869f/attachment.html>


More information about the sr-users mailing list