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

Document Information

Preface

1.  Installing and Configuring HA for DHCP

HA for DHCP Overview

Overview of Installing and Configuring HA for DHCP

Planning the HA for DHCP Installation and Configuration

Configuration Restrictions

Restriction for the supported configurations of HA for DHCP

Restriction for the location of DHCP files

Configuration Requirements

Required /etc/inet/dhcpsvc.conf parameters.

Installing and Configuring DHCP

How to Install and Configure DHCP

Verifying the Installation and Configuration of DHCP

How to Verify the Installation and Configuration of DHCP

Installing the HA for DHCP Package

How to Install the HA for DHCP Package

Registering and Configuring HA for DHCP

How to Register and Configure HA for DHCP

Verifying the HA for DHCP Installation and Configuration

How to Verify the HA for DHCP Installation and Configuration

Upgrading HA for DHCP

How to Upgrade to the New Version of HA for DHCP

Understanding the HA for DHCP Fault Monitor

Resource Properties

Probing Algorithm and Functionality

DHCP Probe

Debug HA for DHCP

How to turn on debug for HA for DHCP

Index

Debug HA for DHCP

How to turn on debug for HA for DHCP

The /opt/SUNWscdhc/etc/config file allows you to turn on debug for a DHCP instance on a particular node within the cluster. If you require debug to be turned on for HA for DHCP across the whole cluster, repeat this step on all nodes within the cluster.

  1. Edit /etc/syslog.conf and change daemon.notice to daemon.debug.
    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #

    Change the daemon.notice to daemon.debug and restart syslogd. Note that the output below, from grep daemon /etc/syslog.conf, shows that daemon.debug has been set.

    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator

    Restart the syslog daemon.

    # svcadm disable system-log
    # svcadm enable system-log
  2. Edit /opt/SUNWscdhc/etc/config.

    Perform this step on each node of cluster as required.

    Edit /opt/SUNWscdhc/etc/config and change DEBUG= to DEBUG=ALL or DEBUG=sun-cluster-resource.

    # cat /opt/SUNWscdhc/etc/config
    #
    # Copyright 2012 Oracle and/or its affiliates.  All rights reserved.
    #
    # ident "@(#)config     1.1     01/03/12 Oracle"
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL

    Note - To turn off debug, reverse the steps above.