niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » MySQL
Multi master replication question
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Jeff
*nix forums addict


Joined: 26 Jul 2005
Posts: 57

PostPosted: Tue Jul 18, 2006 2:22 pm    Post subject: Multi master replication question Reply with quote

I'm about to re-create a mulit master replication setup that was
dismantled during server hardware/software upgrades.

Replication setup:

A -> B -> A
|
C

One thing I can't remember is do I have to set an option somewhere to
tell the masters to ignore the queries in the binlog that oringated from
them?

I know I have to have log-bin and log-slave-updates set on each but is
there something else or will Server A automatically know to ignore an
update query that originated on it, then replicated to server B which
wrote it into it's binlog due to log-slave-updates setting (there are
downstream servers doing one way replication off of server B) and then
replicated back to A?

Just having a brain fart here...

Thanks,

Jeff



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org
Back to top
Dominik Klein
*nix forums beginner


Joined: 15 Mar 2006
Posts: 35

PostPosted: Tue Jul 18, 2006 3:05 pm    Post subject: Re: Multi master replication question Reply with quote

Quote:
Replication setup:

A -> B -> A
|
C

One thing I can't remember is do I have to set an option somewhere to
tell the masters to ignore the queries in the binlog that oringated from
them?

Make sure you set different Server IDs on each machine and you should be
just fine.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org
Back to top
Jeff
*nix forums addict


Joined: 26 Jul 2005
Posts: 57

PostPosted: Tue Jul 18, 2006 3:21 pm    Post subject: RE: Multi master replication question Reply with quote

Quote:
-----Original Message-----
From: Dominik Klein [mailto:dk@in-telegence.net]
Sent: Tuesday, July 18, 2006 11:06
To: mysql@lists.mysql.com
Subject: Re: Multi master replication question


Replication setup:

A -> B -> A
|
C

One thing I can't remember is do I have to set an option
somewhere to
tell the masters to ignore the queries in the binlog that oringated
from them?

Make sure you set different Server IDs on each machine and
you should be
just fine.

--

Excellent. Many thanks.



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 6:45 am | All times are GMT
navigation Forum index » Databases » MySQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts expansion in master.cf mvmvm Postfix 0 Sat Mar 22, 2008 12:46 pm
No new posts Newbie question: How to forward a domain to a mailbox? leei Postfix 0 Fri Aug 24, 2007 4:55 pm
No new posts configuration question for httpd Karl Wang Apache 1 Fri Jul 21, 2006 2:10 pm
No new posts nim problem/question Ron AIX 0 Fri Jul 21, 2006 1:57 pm
No new posts question for JAVA developer who r using postgres sql as b... deepak pal PostgreSQL 1 Fri Jul 21, 2006 9:00 am

Guitar Lessons | Loans | Remortgages | Libro de autoayuda | Movies download
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4054s ][ Queries: 16 (0.3195s) ][ GZIP on - Debug on ]