[SR-Users] Cluster: check/mark servers in cluster

Victor V. Kustov coyote at bks.tv
Tue Feb 4 14:41:38 CET 2014


Hi, all!

I had in config:

#!define KAMDB "cluster://postcash"
loadmodule "db_cluster.so"
modparam("db_cluster", "connection","con1=>postgres://user1:password1@host1/kamailio") 
modparam("db_cluster", "connection","con2=>postgres://user2:password2@host2/kamailio") 
modparam("db_cluster", "cluster", "postcash=>con1=9s8p;con2=9s8p")
modparam("usrloc", "db_url", KAMDB)

and save registered user's locations in cluster
after some server's restarts second base has empty set. 

How can I see server's list with status?
How can I set second server worked? (I check - all OK with it)

--
 WBR, Victor
  JID: coyote at bks.tv
  JID: coyote at bryansktel.ru
  I use FREE operation system: 3.12.9-calculate GNU/Linux



More information about the sr-users mailing list