Sun Cluster HA for Oracle Application Server can be used by multiple Oracle Application Server instances. However, it is possible to turn on debug for all Oracle Application Server instances or a particular Oracle Application Server instance.
Each Oracle Application Server component has a DEBUG file in /opt/SUNWsc9ias/etc.
This files allows you to turn on debug for all Oracle Application Server resources or for a specific Oracle Application Server resource on a particular node with Sun Cluster. If you require debug to be turned on for Sun Cluster HA for Oracle Application Server across the whole Sun Cluster, repeat this step on all nodes within Sun Cluster.
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. The output below, from the command grep daemon /etc/syslog.conf, shows that daemon.debug has now been set.
# grep daemon /etc/syslog.conf *.err;kern.debug;daemon.debug;mail.crit /var/adm/messages *.alert;kern.err;daemon.err operator # # pkill -1 syslogd # |
Edit /opt/SUNWsc9ias/etc/config
Edit /opt/SUNWsc9ias/etc/config and change DEBUG= to DEBUG=ALL or DEBUG=resource
# cat /opt/SUNWsc9ias/etc/config # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Usage: # DEBUG=<RESOURCE_NAME> or ALL # DEBUG=ALL # |
To turn off debug, reverse the steps above.