Rohit Baisakhiya wrote:
Yes we have 6 webservers, 2 mysql db servers, 1 mail server running
qmail & 1 file server. we are using unison for site syncronisation and
real time db replication with mysql 4.1.8. Also the script which i
took for changing the values 0 & 1 is read by a php code in which we
have a condition for connection mysql db server "mysql_connect" , if
it reads value 0 it will connect the master db server and if it gets
value 1 it will connect slave server.