Go to main content

Oracle® Solaris Cluster Data Service for MySQL Guide

Exit Print View

Updated: October 2019
 
 

Example: How to Configure MySQL in a Scalable Resource Group

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

  1. Register the necessary data types on one of the nodes.
    phys-schost-1# clresourcetype register ORCL.mysql
  2. Create the failover resource group for the shared address resource.
    phys-schost-1# clresourcegroup create RG-ACCESS
  3. Create the shared address resource.
    phys-schost-1# clressharedaddress create ha-host-1
  4. Create the MySQL resource group.
    phys-schost-1# clresourcegroup create RG-MYSQL
  5. Enable the resource groups.
    phys-schost-1# clresourcegroup online -M RG-MYSQL
    phys-schost-1# clresourcegroup online -M RG-ACCESS