These are chat archives for phlipper/chef-percona

16th
Mar 2015
acqant
@acqant
Mar 16 2015 18:41
how is initial replication setup handled? What if I install the master and make db's first? How does the slave know what the master position is?
Phil Cohen
@phlipper
Mar 16 2015 21:08
@acqant you’ll want to make sure to look at the node["percona"]["server"]["replication”] settings, and possibly node["percona"]["server"]["role”]. The master can exist first, as mysql replication is asynchronous. Take a look at the mysql replication docs for more info on that. I hope that helps. feel free to ask more questions if needed
acqant
@acqant
Mar 16 2015 21:15
I have it working but I didn't know what logic the slave used for putting master position and master logfile in.