HowTo: Coming Soon with Installation of MySQL Master / Master Replication Server and Heartbeat configuration for failover.

INSTALLATION PROCEDURE:

REQUIREMENTS:

This was created on a Centos 4.4 Linux box but should work with any Linux or other *nix that has the
following installed:
- Bash shell
- MySQL Server
- Heartbeat


INSTALLATION:

Installation should be relatively painless. Once you untar the mymon file for this script, move it to the directory that you want it to stay in. On my system I choose /mysql-mon/ so that I have /mysql-mon/mymon.sh

Make sure that the script has the execute permission set by doing a chmod 700 (or similar) on it.

Next, open mymon.sh in your favorite text editor. Make sure that the very first line points to where ever your bash shell is installed. On my system (and most others) it would be:

#!/bin/bash

All of the configuration for this script that you need to change is located in the section marked "User Variables". Do not edit anything below this unless you know what you are doing. Each user variable is marked with a comment explaining how what it does. Go through this list and edit each one accordingly.