Go to main content

Oracle® Solaris Cluster Data Service for MySQL Cluster Guide

Exit Print View

Updated: September 2015
 
 

How to Create and Enable Resources for MySQL Cluster Management Server

Before You Begin

Ensure that you have edited the mysql_ndb_mgmd_config file to specify configuration parameters for the HA for MySQL Cluster management server service. For more information, see Specifying Configuration Parameters for the MySQL Cluster Management Server Resource.

  1. Create the parameter file directory on all nodes to run the MySQL Cluster management server.
    # mkdir /pfile
  2. Create the parameter file on all nodes to run the MySQL Cluster management server.
    # ksh /opt/SUNWscmys/ndb_mgmd/util/mysql_ndb_mgmd_register \
    -f /myplace/mysql_ndb_mgmd_config -p
  3. Register the resource for the MySQL Cluster management server on one node.
    # ksh /opt/SUNWscmys/ndb_mgmd/util/mysql_ndb_mgmd_register \
    -f /myplace/mysql_ndb_mgmd_config
  4. Enable the MySQL Cluster management server resource group.
    # clresourcegroup online -eM mgm-rg