mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_dev2009-04-29 01:45 am
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.
alierak: (Default)

[personal profile] alierak 2009-04-29 04:00 pm (UTC)(link)
So this MySQL replication thing seems to be sort of medium-okay-availability, not what I would call high availability. Why shouldn't there be a way for clients to fail over automatically? Stick it behind a failover-capable frontend maybe? I need to find out what the state of the art is on this, I guess. For work I'm thinking of enforcing use of a DNS cname to connect to databases, so I could do failover with a DNS change (and closing all connections so clients have to retry). But it should be possible to do better than that with something like a load balancer.
morgandawn: (Default)

Reading Filters

[personal profile] morgandawn 2009-05-04 05:43 pm (UTC)(link)
Hi mark

is there any ETA on when we can set up reading filters on Dreamwidth?