• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Asynchronous Replication MySQL Clustering
 Asynchronous Replication
Objective
Setup a master-slave relationship between four MySQL servers.
Pre-requisites
1.
 
Install the necessary Operating Systems and install MySQL server on all of them.2.
 
All the Operating Systems should be in a network with every Operating System having its own IPaddress.
 Assumptions
1.
 
The master is on Windows Vista and the slaves are on – Windows Server 2003, Fedora 10 andOpenSolaris 2008.11.2.
 
The replication process is done only for the new data so existing data will not be synchronized.
Procedure
1.
 
The primary pre-requisite for asynchronous replication to be established, is that all theOperating Systems should be connected in a network and every slave should be able to ping themaster. If there is a problem in pinging, the fire-walls at the master and slave’s end should beeither disabled or properly configured to allow the slaves to communicate with master and vice-versa.
 
Asynchronous Replication MySQL Clustering2.
 
Open C:\Program Files\MySQL\MySQL Server 5.1\my.ini using a text editor in Windows Vista(the master). In the [mysqld] section, add the following two lines –
log-bin=mysql-binserver-id=1
 In certain situations, Vista may not allow us to change the file. So copy the file somewhere,make the change sand replace the original one.
 
Asynchronous Replication MySQL Clustering3.
 
Right Click Computer, select Manage and the “Services and Applications” tab, move to Servicesand restart the MySQL service in Vista.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...