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

Document Information

Preface

1.  Installing and Configuring HA for Solaris Containers

HA for Solaris Containers Overview

Overview of Installing and Configuring HA for Solaris Containers

Planning the HA for Solaris Containers Installation and Configuration

Configuration Restrictions

Restrictions for Zone Network Addresses

Restrictions for an HA Container

Restrictions for a Multiple-Masters Zone

Restrictions for the Zone Path of a Zone

Restrictions on Major Device Numbers in /etc/name_to_major

Configuration Requirements

Dependencies Between HA for Solaris Containers Components

Parameter File Directory for HA for Solaris Containers

Installing and Configuring Zones

How to Enable a Zone to Run in Failover Configuration

How to Enable a Zone to Run in a Multiple-Masters Configuration

How to Install a Zone and Perform the Initial Internal Zone Configuration

Verifying the Installation and Configuration of a Zone

How to Verify the Installation and Configuration of a Zone

Installing the HA for Solaris Containers Packages

How to Install the HA for Solaris Containers Packages

Registering and Configuring HA for Solaris Containers

Specifying Configuration Parameters for the Zone Boot Resource

Writing Scripts for the Zone Script Resource

Specifying Configuration Parameters for the Zone Script Resource

Writing a Service Probe for the Zone SMF Resource

Specifying Configuration Parameters for the Zone SMF Resource

How to Create and Enable Resources for the Zone Boot Component

How to Create and Enable Resources for the Zone Script Component

How to Create and Enable Resources for the Zone SMF Component

Verifying the HA for Solaris Containers and Configuration

How to Verify the HA for Solaris Containers Installation and Configuration

Patching the Global Zone and Non-Global Zones

How to Patch to the Global Zone and Non-Global Zones

Tuning the HA for Solaris Containers Fault Monitors

Operation of the HA for Solaris Containers Parameter File

Operation of the Fault Monitor for the Zone Boot Component

Operation of the Fault Monitor for the Zone Script Component

Operation of the Fault Monitor for the Zone SMF Component

Tuning the HA for Solaris Containers Stop_timeout property

Choosing the Stop_timeout value for the Zone Boot Component

Choosing the Stop_timeout value for the Zone Script Component

Choosing the Stop_timeout value for the Zone SMF Component

Denying Cluster Services for a Non-Global Zone

Debugging HA for Solaris Containers

How to Activate Debugging for HA for Solaris Containers

A.  Files for Configuring HA for Solaris Containers Resources

Index

Debugging HA for Solaris Containers

The config file in the /opt/SUNWsczone/zone component/etc directory enables you to activate debugging for Solaris Zone resources. Where zone component represents sczbt for the boot component, sczsh for the script component and sczsmf for the SMF component.

Each component of HA for Solaris Containers has a config that enables you to activate debugging for Solaris Zone resources. The location of this file for each component is as follows:

How to Activate Debugging for HA for Solaris Containers

  1. Determine whether debugging for HA for Solaris Containers is active.

    If debugging is inactive, daemon.notice is set in the file /etc/syslog.conf.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #
  2. If debugging is inactive, edit the /etc/syslog.conf file to change daemon.notice to daemon.debug.
  3. Confirm that debugging for HA for Solaris Containers is active.

    If debugging is active, daemon.debug is set in the file /etc/syslog.conf.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator
    #
  4. Restart the syslogd daemon.
    # svcadm restart system-log
  5. Edit the /opt/SUNWsczone/sczbt/etc/config file to change DEBUG= to DEBUG=ALL or DEBUG=sczbt-rs.
    # cat /opt/SUNWsczone/sczbt/etc/config
    #
    # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    # ident "@(#)config     1.1     06/02/22 SMI"
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL
    #

    Note - To deactivate debugging, reverse the preceding steps.