1. Installing and Configuring HA for MySQL
Installing and Configuring HA for MySQL
Planning the HA for MySQL Installation and Configuration
Restriction for the HA for MySQL Data Service Configuration
Restrictions on the MySQL Configuration File
Restrictions for the MySQL Configurations
Restrictions on the MySQL Database Directory
Restriction for the MySQL smf Service Name in an HA Container
Examples for the File Systems Layout
Components and Their Dependencies for HA for MySQL
Registration and Configuration File for HA for MySQL
Explanation of the my.cnf File
Installing and Configuring MySQL
Enabling MySQL to Run in a Global Zone Configuration
How to Enable MySQL for a Failover Resource
How to Enable MySQL to Run in a Scalable Configuration
How to Enable MySQL to Run in a Multiple-Master Configuration
How to Install and Configure MySQL in a Global Zone
Enabling MySQL to Run in a Zone Configuration
How to Enable MySQL for a Failover Resource
How to Enable MySQL to Run in a Scalable Configuration
How to Enable MySQL to Run in a Multiple-Master Configuration
How to Install and Configure MySQL in a Zone
How to Enable MySQL to run in an HA Container Configuration
How to Install and Configure MySQL in an HA Container
Verifying the Installation and Configuration of MySQL
How to Verify the Installation and Configuration of MySQL
Registering and Configuring HA for MySQL
How to Register and Configure HA for MySQL as a Failover Service in a Global Zone Configuration
How to Register and Configure HA for MySQL as a Failover Service in a Zone Configuration
How to Register and Configure HA for MySQL as a Failover Service in an HA Container Configuration
How to Modify Parameters in the HA for MySQL Manifest
How to Remove an HA for MySQL Resource From an HA Container
How to Add an HA for MySQL Resource in a Scalable or Multiple-Master Configuration
Verifying the HA for MySQL Installation and Configuration
How to Verify the HA for MySQL Installation and Configuration
Understanding the HA for MySQL Fault Monitor
Probing Algorithm and Functionality
How to Activate Debugging for HA for MySQL
Upgrade to Oracle Solaris Cluster 3.3 When Using HA for MySQL
Upgrade From Sun Cluster 3.1 8/05 to Oracle Solaris Cluster 3.3 When Using HA for MySQL
Upgrade to MySQL 4.x.x From 3.23.54 When Using HA for MySQL
Upgrade to MySQL Version 4.x.x From Version 3.23.54
A. Deployment Example: Installing MySQL in the Global Zone
B. Deployment Example: Installing MySQL in the Non-Global HA Container
C. Deployment Example: Installing MySQL in a Non-Global Zone
D. Deployment Example: Installing MySQL in a Scalable or Multiple-Master Configuration
If you did not install the HA for MySQL packages during your initial Oracle Solaris Cluster installation, perform this procedure to install the packages. To install the packages, use the installer program.
Note - You need to install the HA for MySQL packages in the global cluster and not in the zone cluster.
Perform this procedure on each cluster node where you are installing the HA for MySQL packages.
You can run the installer program with a command-line interface (CLI) or with a graphical user interface (GUI). The content and sequence of instructions in the CLI and the GUI are similar.
Note - Even if you plan to configure this data service to run in non-global zones, install the packages for this data service in the global zone. The packages are propagated to any existing non-global zones and to any non-global zones that are created after you install the packages.
Before You Begin
Ensure that you have the Oracle Solaris Cluster installation media.
If you intend to run the installer program with a GUI, ensure that your DISPLAY environment variable is set.
If the Volume Management daemon vold(1M) is running and configured to manage DVD-ROM devices, the daemon automatically mounts the DVD-ROM on the /cdrom directory.
# cd /cdrom/cdrom0/Solaris_sparc
# cd /cdrom/cdrom0/Solaris_x86
# ./installer
English language support is always installed.
Choose Configure Later to perform the configuration after the installation.
The installation wizard displays the status of the installation. When the installation is complete, the wizard displays an installation summary and the installation logs.
The Product Registration option is not available with the CLI. If you are running the installation wizard with the CLI, omit this step.
# eject cdrom
Next Steps
See Registering and Configuring HA for MySQLto register HA for MySQL and to configure the cluster for the data service.