| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Devananda | Date: | September 16 2005 3:55pm |
| Subject: | Re: Circular Replication | ||
| View as plain text | |||
Jeff wrote: > > Am I correct in this setup process: > > Server A exists > Server B to be built > > Stop Server A, take snapshot, record Master info. > Start Server A > > Setup server B, Install snapshot from A > Set B up as a master > Set B up as a slave to A > > Set A up as a slave to B, no need for binlog file or position info as it > will start at the default 001 and pos 4 > > Circular replication is now running... > > Did I mis anything? > > Thanks, > > Jeff > > > If you are using InnoDB, then you do not need to stop server A to take a snapshot. (see http://dev.mysql.com/doc/mysql/en/mysqldump.html) "The simultaneous use of --master-data and --single-transaction works as of MySQL 4.1.8. It provides a convenient way to make an online backup suitable for point-in-time recovery if tables are stored in the InnoDB storage engine." As far as setting up the replication, that looks ok. Each server needs to have binary logging enabled, and needs to have the other server as it's master. Regards, Devananda vdv
| Thread | ||
|---|---|---|
| • Circular Replication | Jeff | 16 Sep |
| • Re: Circular Replication | Dan Nelson | 16 Sep |
| • RE: Circular Replication | Jeff | 16 Sep |
| • Re: Circular Replication | Devananda | 16 Sep |
| • Re: Circular Replication | Stefan Kuhn | 16 Sep |
| • Re: Circular Replication | RaphaĆ«l 'SurcouF' Bordet | 27 Oct |
| • Re: Circular Replication | Stefan Kuhn | 27 Oct |
| • Re: Circular Replication | Jigal van Hemert | 27 Oct |
| • Re: Circular Replication | Devananda | 28 Oct |
| • RE: Circular Replication | Jeff McKeon | 16 Sep |
| • RE: Circular Replication | Jeff | 16 Sep |
| • Re: Circular Replication | Devananda | 16 Sep |
| • Re: Circular Replication | Sid Lane | 19 Sep |
| • Re: Circular Replication | Alec.Cawley | 19 Sep |
| • Re: Circular Replication | Sid Lane | 19 Sep |
| • RE: Circular Replication | Jeff | 20 Sep |
| • Re: Circular Replication | Devananda | 20 Sep |
| • Re: Circular Replication | Bruce Dembecki | 21 Sep |
| • RE: Circular Replication | Jeff | 20 Sep |
| • RE: Circular Replication | Jeff | 21 Sep |
| • Re: Circular Replication | Bruce Dembecki | 22 Sep |
| • Re: Circular Replication | Hank | 26 Sep |
| • Re: Circular Replication | Hank | 26 Sep |
