Try circular replication....
A--------------B
|................|
|................|
D--------------C
A slave of D
B slave of A
C slave of B
D slave of C
In /etc/mysql/my.cnf (mysql config file)
[...]
auto-increment-offset = 1
[...]
Has to be changed. A=1, B=2, C=3, D=4
The rest should be pretty much the same as :
http://howtoforge.com/mysql5_master_...on_debian_etch
Marc