Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for MySQL Cluster Guide Oracle Solaris Cluster 4.1 |
1. Installing and Configuring HA for MySQL Cluster
A. Files for Configuring HA for MySQL Cluster
B. Deployment Example: Installing MySQL Cluster in the Global Zone
# # Copyright 2009, 2012 Oracle and/or its affiliates. All rights reserved. # Use is subject to license terms. # #ident "@(#)mysql_ndbd_config.ksh 1.3 12/08/20" # This file will be sourced in by mysql_ndbd_register and the parameters # listed below will be used. # # These parameters can be customized in (key=value) form # # RS - Name of the resource for the application # RG - Name of the resource group containing RS # # MySQL cluster ndb_nmbd specific variables # # HAS_RS - Name of the MySQL HAStoragePlus SC resource # RS_PROP - Additional resource properties in the format for clresource create, # example "-p start_timeout=600" # PARFILE - Absolute path to the data node resource parameter file # # The following examples illustrate sample parameters # for the MySQL Cluster data node resource. # # RS=ndbd-rs # RG=ndbd-rg # HAS_RS= # PARFILE=/ndb-mgmd-data/pfile # RS= RG= HAS_RS= RS_PROP= PARFILE= # This is the template for a MySQL cluster's management server resource. # The variables must be specified in the key value form. # BASEDIR Directory where MySQL cluster is installed, to find the binaries. # USER User under which the management server will be run. An empty value # stands for the root user. # TRY_RECONNECT Value for the try-reconnect parameter in the mgm command. # CONNECT_STRING A connect string which is valid for any connection to the management # server. # ID Unique Id for this management server. This value must match the entry # in the config.ini file. # MULTI_THREAD Any entry here will trigger the start of the multithreaded version ndbmtd # of the ndbd instead of the single-threaded version ndbd. # DATA_DIR Data directory of the ndb process. # ERROR_ON_SHOW Return code if the probe is unable to connect to the management server. # # Examples: # BASEDIR=/usr/local/mysql/bin # USER= # TRY_RECONNECT=1 # CONNECT_STRING=phys-node-1-priv,phys-node-2-priv # ID=1 # DATAG_DIR=/ndb-data # MULTI_THREAD=yes # ERROR_ON_SHOW=25 # BASEDIR= USER= TRY_RECONNECT=1 CONNECT_STRING= ID= MULTI_THREAD= DATA_DIR= ERROR_ON_SHOW=