[Serusers] redundant ser

Kostas Marneris K.Marneris at otenet.gr
Thu Apr 13 09:04:47 CEST 2006


You can use the 'replicate REGISTERs' function.
One way to achieve this is :




A_ser_server:
#
if (!src_ip == B_ser_server) {
	t_replicate("B_ser_server", "5060");
};
#


B_ser_server:
#
if (src_ip == A_ser_server) {
	save_memory("location");
};
#


Kostas


Thomas Britis wrote:
> Hi all,
> 
> 	I have two machines running ser. One is just a backup and assumes 
> operation when (and until) the main server is down. Now I'd like to have 
> one more server, but not as backup but as a round robin server.
> 
> 	What's the best way to do that ?
> 
> 	I was thinking of replicate the mysql db but I didn't know what could 
> happen to location the location table (one registered on server1 should 
> be able to invite a user on server2 and vice-versa).
> 
> 	Thank you in advance.




More information about the sr-users mailing list