Though it is not my field of speciality, you most probably wanna synch directly the Mysql database ... maybe mysql provides such "sync" function, otherwise you may have to write some script or such ... This way on boot the db is already sinch'd
Cesc
On 4/22/07, Alan Crosswell alan@columbia.edu wrote:
Bogdan,
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.
/a
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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users