Go to main content

Oracle® Solaris Cluster Data Service for MySQL Guide

Exit Print View

Updated: June 2017
 
 

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

This procedure describes how to configure MySQL in a multiple-master resource group. If you need to configure MySQL in a scalable group, see Example: How to Configure MySQL in a Scalable Resource Group.

  1. Register the necessary data types on one of the nodes.
    phys-schost-1# clresourcetype register SUNW.gds
  2. Create the MySQL resource group.
    phys-schost-1# clresourcegroup create -p Maximum_primaries=2 \
    -p desired_primaries=2 RG-MYS
  3. Enable the resource groups.
    phys-schost-1# clresourcegroup online -M RG-MYS