Go to main content

Oracle® Solaris Cluster Data Replication Guide for MySQL

Exit Print View

Updated: August 2018
 
 

Configuring the MySQL Application Resource Group

At a minimum, you must create a resource group that contains a logical host resource. You must leave the resource group in an unmanaged state.

For example, on the cluster-paris cluster, you would issue the following commands:

phys-paris-1# clresourcegroup create usa-rg
phys-paris-1# clresourcegroup set -p Auto_start_on_new_cluster=false usa-rg
phys-paris-1# clresourcegroup set -p RG_Affinities=+++paris-rg usa-rg
phys-paris-1# clreslogicalhostname create -g usa-rg cluster-usa
phys-paris-1# clresource enable cluster-usa

On the cluster-newyork cluster, you would issue the following commands:

phys-newyork-1# clresourcegroup create usa-rg
phys-newyork-1# clresourcegroup set -p Auto_start_on_new_cluster=false usa-rg
phys-newyork-1# clresourcegroup set -p RG_Affinities=+++newyork-rg usa-rg
phys-newyork-1# clreslogicalhostname create -g usa-rg cluster-usa
phys-newyork-1# clresource enable cluster-usa