Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Asynchronous Replication

Asynchronous Replication

Ratings: (0)|Views: 1,410|Likes:

More info:

Published by: mysql_clustering3251 on Jul 18, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/15/2010

pdf

text

original

 
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.

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
caquimon liked this
abensur liked this
praveen_ap liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->