Entry tags:
Some operational notes
When doing a global master change...
* don't forget MogileFS
* stop all jobs, if anybody is still up with the old config (TheSchwartz workers!) they will continue writing to the old master
* take the old master hard-offline and leave it that way to flush out any bad behavers? at least monitor show processlist
* don't forget all slaves (mailserver slave)
Todo: figure out if there's a way to put a MySQL server fully read-only (except for replication?), I know there's a read-only config file option but I don't think it works as expected.
* don't forget MogileFS
* stop all jobs, if anybody is still up with the old config (TheSchwartz workers!) they will continue writing to the old master
* take the old master hard-offline and leave it that way to flush out any bad behavers? at least monitor show processlist
* don't forget all slaves (mailserver slave)
Todo: figure out if there's a way to put a MySQL server fully read-only (except for replication?), I know there's a read-only config file option but I don't think it works as expected.
no subject
no subject
It can do the sort of fallback you're talking about. It can also force stupid applications that don't know how to split up reads and writes to different databases to actually take advantage of a slave. And some other neat things.
But anyway.
Yeah, MySQL replication doesn't give HA. If you want true HA, you can look at MySQL Cluster, which is a certain technology and supposedly works pretty well. I haven't played with that since 2004 or so, when it didn't work very well at all.
Reading Filters
is there any ETA on when we can set up reading filters on Dreamwidth?