[Users] how to refresh REGISTER state when restarting redundant proxy

Alan Crosswell alan at columbia.edu
Sun Apr 22 00:02:56 CEST 2007


I already have persistence across restarts wth mysql support.  The issue
is that with replicated servers, using t_replicate(), if one is down for
several hours or days (e.g. due to a hardware failure -- which is why we
are replicating in the first place), then it no longer has current state
and needs to acquire it somehow.


Bogdan-Andrei Iancu wrote:
> Hi Alan,
> if you need persistence over restarts, you need to use mysql support.
> regards,
> bogdan
> Alan Crosswell wrote:
>> We are using t_replicate() to replicate REGISTERs among redundant
>> proxies (and a separate presence server that needs REGISTER for
>> pua_bla).  Before reinventing the wheel here, I thought I'd ask if
>> others already have a method in place to re-sync a restarted proxy's
>> state?  I guess one way is to pull the usrloc data from mysql....
>> Another would be to somehow ask the proxy to walk the usrloc table and
>> do a bunch of t_registers()...
>> Any thoughts appreciated.
>> /a
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list