Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
MySQL active/passive cluster installer (with pacemaker, corosync, drbd, MySQL)
branch: master

This branch is 1 commit ahead of h1nch:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
extras
.gitignore
README.md
config.yml
mysql-autoinstall.rb

README.md

Dirty MySQL Active/Passive Auto-installer

Major Hayden

What is required?

  • two Debian Squeeze VM's or physical boxes
  • network connectivity between both nodes
  • a virtual IP address and hostname for both nodes to share
  • ruby needs to be installed but no gems are required

How do I use it?

  • clone this repository onto both nodes
  • adjust the config.yml so that it matches your cluster's configuration
  • run the script on both nodes

There are certain sections of the script where it will be waiting on the other node to do something, so don't worry if one node seems to be completing tasks within the script faster than the other node.

The code is ugly. What gives?

I know. This is a first run and it still needs come cleanup.

Something went wrong with that request. Please try again.