| List: | Replication | « Previous MessageNext Message » | |
| From: | a.smith | Date: | April 1 2012 5:06pm |
| Subject: | Re: adding another slave | ||
| View as plain text | |||
Quoting nhadie ramos <nhadie@stripped>: > Hi, > > I currently have a replication setup with master and 1 slave. i would > like to add one more slave into the setup. > is it possible if i lock the slave tables, show slave status and get > Relay_Log_Pos and Relay_Master_Log_File. and create > a snapshot. once done, use the created snapshot to the new slave and > start replication with the values i got from the slave? > > Reason i would like to do this is because i don't want to lock tables > on the master. > Hi, Do "stop slave" on the slave, "show slave status" mark down the log file and pos, backup the databases, start slave on old slave. You will then have a copy of the databases and the correct log file and pos to setup as many new slaves as you want. Should do the trick with minimum of effort, cheers Andy.
| Thread | ||
|---|---|---|
| • adding another slave | nhadie ramos | 1 Apr |
| • Re: adding another slave | a.smith | 1 Apr |
| • Re: adding another slave | Neil Armitage | 1 Apr |
| • Re: adding another slave | nhadie ramos | 1 Apr |
| • Seconds Behind Master increasing in slave | Revathi Rangachari | 2 Apr |
| • RE: Seconds Behind Master increasing in slave | David Lerer | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | Arthur Fuller | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | Rick James | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | Revathi Rangachari | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | Pankaj Joshi | 3 Apr |
| • Re: Seconds Behind Master increasing in slave | Revathi Rangachari | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | nehal dattani | 2 Apr |
| • Re: Seconds Behind Master increasing in slave | Revathi Rangachari | 2 Apr |
| • RE: Seconds Behind Master increasing in slave | Revathi Rangachari | 2 Apr |
