JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for MySQL Cluster Guide
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for MySQL Cluster

HA for MySQL Cluster Overview

Overview of Installing and Configuring HA for MySQL Cluster

Planning the HA for MySQL Cluster Installation and Configuration

MySQL Cluster and Oracle Solaris Containers

Oracle Solaris Cluster HA for MySQL Cluster Components

Configuration Restrictions

Configuration Requirements

Dependencies Between HA for MySQL Cluster Components

Configuration Recommendations

Installing and Configuring MySQL Cluster

How to Enable a MySQL Cluster Database to Run in a Global Zone Configuration

How to Install and Configure MySQL Cluster in a Global Zone

How to Enable a Zone to Run MySQL Cluster in a Zone Configuration

How to Install and Configure MySQL Cluster in a Non Global Zone

Verifying the Installation and Configuration of MySQL Cluster

How to Verify the Installation and Configuration of MySQL Cluster

Installing the HA for MySQL Cluster Packages

How to Install the HA for MySQL Cluster Packages

Registering and Configuring HA for MySQL Cluster

Specifying Configuration Parameters for the MySQL Cluster Management Server Resource

How to Create and Enable Resources for MySQL Cluster Management Server

Specifying Configuration Parameters for the MySQL Cluster ndb Daemon Resource

How to Create and Enable Resources for the MySQL Cluster ndb Daemon

Specifying Configuration Parameters for the MySQL Cluster ndb Shutdown Controller Resource

How to Create and Enable Resources for MySQL Cluster ndb Shutdown Controller

How to Suspend the ndb Shutdown Controller's Stop Action

How to Create and Enable Resources for the MySQL Server

Verifying the HA for MySQL Cluster Installation and Configuration

How to Verify the HA for MySQL Cluster Installation and Configuration

Tuning the HA for MySQL Cluster Fault Monitor

Operation of the HA for MySQL Cluster Management Server Parameter File

Operation of the HA for MySQL Cluster ndb Daemon Parameter File

Operation of the Fault Monitor for HA for MySQL Cluster Management Server

Operation of the Fault Monitor for HA for MySQL Cluster ndb Daemon

Debugging HA for MySQL Cluster

How to Activate Debugging for HA for MySQL Cluster

A.  Files for Configuring HA for MySQL Cluster

B.  Deployment Example: Installing MySQL Cluster in the Global Zone

C.  Deployment Example: Installing MySQL Cluster in a Non-Global Zone

Index

Debugging HA for MySQL Cluster

Each HA for MySQL Cluster component has a file named config that enables you to activate debugging for MySQL Cluster resources. This file is in the /opt/SUNWscmys/component/etc directory.

How to Activate Debugging for HA for MySQL Cluster

  1. Determine whether debugging for HA for MySQL Cluster is active.
    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit    /var/adm/messages
    *.alert;kern.err;daemon.err           operator
    #
  2. Determine whether debugging is active..
    • If daemon.debug appears in the /etc/syslog.conf file of the appropriate zone, debugging is active.

      You do not need to continue with this procedure.

    • If daemon.notice appears in the /etc/syslog.conf file of the appropriate zone, debugging is inactive.

      Continue with the rest of this procedure.

  3. In the /etc/syslog.conf file in the appropriate zone, change daemon.notice to daemon.debug.
  4. Restart the syslogd daemon in the appropriate zone.
     # svcadm refresh svc:/system/system-log:default
  5. Edit the appropriate /opt/SUNWscmys/component-name/etc/config file to add a value to the DEBUG= parameter:

    The value of the component-name can be ndb_mgmd, ndbd, or ndbd_shutdown.

    • To debug all resources, use DEBUG=ALL

    • To debug specific resources, use DEBUG=resource-name, resource-name

Example 1-1 Editing the Debug Config File

# cat /opt/SUNWscmys/ndb_mgmd/etc/config
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Usage:
#    DEBUG=RESOURCE-NAME or ALL
#
DEBUG=ALL
#