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
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to