Posted in development, geek, linux, php on Jan 13th, 2010
I’m a bit proud of myself on this one… I setup a simple, but clean and configurable, MySQL Master/Slave Replication Monitoring PHP Script:
http://code.google.com/p/php-mysql-master-slave-replication-monitor/ (docs)
It’s Open Source and free, I welcome comments, suggestions, and questions.
I think this will be quite useful for anyone who is setting up a pair of MySQL servers as master/slave and want [...]
Read Full Post »
Posted in geek, linux on Dec 24th, 2009
I love this fanout script for running the same command on multiple servers, just in case you’re interested:
http://www.stearns.org/fanout/fanout
[root@199564-6 scripts# fanout "$SERVERS" "cp /root/.ssh/authorized_keys /home/user/.ssh/"
Starting root@db1
Starting root@db2
Starting root@nas
Starting root@www1
Starting root@www2
Starting root@www3
Fanout executing "cp /root/.ssh/authorized_keys /home/user/.ssh/"
Start time Wed Dec 23 23:45:35 EST 2009 , End time Wed Dec 23 23:45:47 EST 2009
==== As root on db1 ====
==== [...]
Read Full Post »