Go to main content

Oracle® Solaris Cluster Data Service for MySQL Guide

Exit Print View

Updated: October 2019
 
 

Example: How to Prepare the Cluster for MySQL

Before You Begin

Install and configure the cluster as instructed in the Installing and Configuring an Oracle Solaris Cluster 4.4 Environment.

  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