A Python script for setting up MySQL clusters with replication
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
cluster_utils.conf
db_cluster_utils.py
insert_data.py
status_log_records.dat

README.md

DB Cluster Utils is a tool for managing a cluster of MySQL database servers. It works with MySQL 5.5. Support for MySQL 5.6 is planned eventually.

Read more at http://banoffeepiserver.com/mysql/python-database-cluster-management-utility/.


Usage:
db_cluster_utils.py -option [argument]
 -a	--add slave ip			add a new slave to the cluster
 -c	--config				view cluster configuration information
 -d	--demote				demote a master to a slave
 -h	--help					display this help message
 -i	--init					initialize the cluster based on settings 
						    in /etc/db_cluster_utils/cluster_utils.conf
 -m	--move destination ip	Move the database to another server	
 -p	--promote slave ip		promote a slave to master
 -r	--remove slave ip		remove this node from the cluster
 -s	--start				    start replication
 -t	--stop				    stop replication
 -w	--wipe [IP address]	    wipe a database from the entire cluster, or
						    from a single server if an IP address 
						    is specified

This program is released under the GNU public license.