Go to main content

Oracle® Solaris Cluster Data Service for MySQL Guide

Exit Print View

Updated: June 2017
 
 

Example: Configuring Cluster Resources for MySQL

  1. Register the necessary data types on one of the nodes.
    phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the MySQL resource group.
    phys-schost-1# clresourcegroup create RG-MYS
  3. Create the HAStoragePlus resource in the RG-MYS resource group.
    phys-schost-1# clresource create -g RG-MYS -t SUNW.HAStoragePlus -p AffinityOn=TRUE \
    -p FilesystemMountPoints=/global/mnt3,/global/mnt4 RS-MYS-HAS
  4. Enable the resource group.
    phys-schost-1# clresourcegroup online -M RG-MYS