JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for MySQL Guide     Oracle Solaris Cluster 4.1
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for MySQL

A.  Deployment Example: Installing MySQL in the Global Zone

B.  Deployment Example: Installing MySQL in the Non-Global HA Zone

C.  Deployment Example: Installing MySQL in a Scalable or Multiple-Master Configuration

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring MySQL on Local Storage in the Global Zone

Example: How to Prepare the Cluster for MySQL

Example: How to Configure MySQL in a Scalable Resource Group

Example: How to Configure MySQL in a Multiple-Master Resource Group

Example: How to Install and Bootstrap the MySQL Software on Local Storage

Example: How to Modify the MySQL Configuration Files

Example: How to Enable the MySQL Software to Run in the Cluster

Index

Example: How to Prepare the Cluster for MySQL

Before You Begin

Install and configure the cluster as instructed in the Oracle Solaris Cluster Software Installation Guide.

  1. Install the following cluster software components on both nodes.
    • Oracle Solaris Cluster core software

    • Oracle Solaris Cluster data service for MySQL

  2. Add the mysql group and user.
    phys-schost-1# groupadd -g 1000 mysql 
    phys-schost-1# useradd -g 1000 -d /local/mysql -m -s /bin/ksh mysql 
    phys-schost-2# groupadd -g 1000 mysql
    phys-schost-2# useradd -g 1000 -d /local/mysql -m -s /bin/ksh mysql