Deepak Bhardwaj
Installation Doc-MYSQL Cluster
Deepak Bhardwaj
Start with MYSQL Cluster Configuration
Prerequisites The following prerequisites must be fulfilled before starting the MYSQL 5.1 Cluster
installation.
A).NET framework 3.5 SP1 must be installed on all the Nodes.
B).Clustered Disks for MYSQL Data files. These disks must not be
compressed (Figure 1). These drives are also visible in the Failover Cluster
Management Console (Figure 2). There should be different drives for each
Clustered Instance.
Note: MYSQL 5.1 Installation support one disk for Data files However, each instance
must have a separate disk Quorum, ROOT & MSDTC Drives.
C).No Antivirus software should be installed on the Nodes.
D).Add exceptions to firewall configuration settings for the MYSQL port,
File and Printer Sharing (TCP 139/445 and UDP 137/138), and
Remote Procedure Call (TCP port 135).
E).Remote Registry Service must be running.
F).The installing account must be a local administrator to the Nodes.
F).The MYSQL account should be from the same domain as the nodes.
G).Identify the network connections for Heartbeat, Backup & Production.
H).Copy the MYSQL media to the local disks of the nodes.
Figure 1
Deepak Bhardwaj
Figure 2
The following information must be in your note book or Notepad before you start Installing
SQL Server failover cluster.
1. MYSQL Service Account(s)/Password(s).
2. MYSQL Cluster Network Name(s) & Instance Name(s).
3. MYSQL Cluster Network IP Address(s) for each Network Name.
4. Subnet Mask.
Note: The MYSQL binaries to make Cluster installations are to be performed on both the
nodes.
Deepak Bhardwaj
Start with MYSQL Cluster Configuration
1. Double Click mysql-5.1.44-win32.msi and you get the installer screen.
The step by step screenshots are as below:
Deepak Bhardwaj
2. Choose Complete in this Screen.
3. Now click Install.
Deepak Bhardwaj
4. In The Following Screen Click Finish.
5. Choose Detailed Configuration in the following Screen and then Click Next.
Deepak Bhardwaj
6. Choose Server machine and then click next.
Deepak Bhardwaj
7. In the following screen choose multifunctional database and then click Next.
8. Click next in the following Screen.
Deepak Bhardwaj
9. Choose OLTP in the following Screen.
10. In this Screen You can set the Port and add exception for the port in windows firewall.
Deepak Bhardwaj
11. Choose Standard Character set in this screen.
12. In the following Screen Click Include Bin Directory in Windows PATH and then click next.
Deepak Bhardwaj
13. Set the root password for mysql here.
14. Now click execute in the following screen.
Deepak Bhardwaj
15. Click finish in the following screen.
16. Now MYSQL service and Database install in D drive.
D:\Program Files\MySQL\MySQL Server 5.1
17. Install the MYSQL DB service on the second node. 18. Now open the my.cnf and set the data directory and Base directory as given below.
D:\Program Files\MySQL\MySQL Server 5.1
Deepak Bhardwaj
19. Now add the MYSQL service in OS cluster, once service adds in cluster group it will show as given below.
Deepak Bhardwaj
20. Now you can use MYSQL in a high availability using below command.
Deepak Bhardwaj
------------END OF THE DOCUMENT--------------