Sun Cluster Data Service for Informix Guide for Solaris OS

ProcedureHow to Turn on Debugging for Sun Cluster HA for Informix

Sun Cluster HA for Informix can be used by multiple Informix instances. Debugging can be turned on for all Informix instances or a particular Informix instance.

The /opt/SUNWscids/etc/config file enables you to turn on debugging for all Informix instances or for a specific Informix instance on a particular node or zone within the cluster. If you require debugging to be turned on for Sun Cluster HA for Informix across the whole cluster, repeat this step on all nodes within the cluster.

  1. Edit the /etc/syslog.conf file 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 file to daemon.debug and restart the syslogd command. Note that the following output, 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.

    • If you are running Solaris 10, type:


      # svcadm disable system-log
      # svcadm enable system-log
      
  2. Edit the /opt/SUNWscids/etc/config file.

    Perform this step for each component that requires debugging output, on each node of Sun Cluster as required.

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


    # cat /opt/SUNWscids/etc/config
    #
    # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    # ident "@(#)config     1.1     06/03/06 SMI"
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL

    Note –

    To turn off debug, reverse the previous steps.