Create the MySQL Resource Hierarchy
Create a MySQL resource to protect the MySQL database and make it high available between cluster nodes.
- From the LifeKeeper GUI toolbar, click Create Resource Hierarchy.
- Select MySQL Database and click Next.
- Proceed Through the Resource Creation wizard, providing the following values
Switchback Type | Intelligent |
Server | LinuxPrimary (Primary Cluster Node) |
Location of my.cnf | Enter “/datakeeper/lib/mysql”. Note that earlier in the MySQL configuration process we created a my.cnf file in this directory |
Location of MySQL | Leave as default (/usr/bin) since we are using a standard MySQL install/configuration in this example |
Database tag | Leave as default |
- Select Create to define the MySQL resource hierarchy on the Primary Server
Note: LifeKeeper will automatically identify that the MySQL resource has a dependency on the FileSystem (Data Replication) resource (/datakeeper/lib/mysql). The Filesystem Resource will appear underneath the MySQL resource in the GUI - Click Next to Extend the File System Resource to the Secondary Server
- In the Extend Wizard, select “Accept Defaults”
- As a result the MySQL resource is now protected on both cluster nodes. Click Finish to exit the Extend wizard.
- Your resource hierarchy should look as follows:
このトピックへフィードバック