On 04/10/2011 08:59 PM, roman(a)dmytriv.com wrote:
Alex, thank you for you hints.
Load distribution is more of priority to me. I think low TTL might be a
solution. But what can be done to keep Kamailio in sync on geographically
dispersed servers?
Are you talking about database data, or configurations?
The answers vary depending on whether there are two geographically
dispersed servers, or more. But short answer:
1) Circular (master-master) database replication;
2) Disk-level replication over network (i.e. DRBD) -- less suitable for
the public Internet, but may be workable depending on overall
reachability and site-to-site bandwidth quality, in combination with
something like GFS.
3) Manual synchronisation of config files and such with rsync, etc.
In general, I would say #1 is simplest. But there aren't many
relational databases out there whose replication schemes easily support
more than two masters right now.
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/