How to enable cluster resource tracing.
This document (7022678) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise High Availability Extension 11 Service Pack 4
SUSE Linux Enterprise High Availability Extension 11 Service Pack 3
- If no <operation> is given, it will attempt to trace all operations for the provided resource.
- If tracing the monitor operation, number of trace files can grow quickly and should be monitored and cleaned up appropriately and periodically if tracing for extended periods.
- Adds the attribute "trace_ra=1" to the operation in the
Example: op monitor enabled="true" interval="20" timeout="45" trace_ra="1"
- crm resource tracing does not work for Stonith resources. Stonith resources scripts are located in the following directory "/usr/lib64/stonith/plugins/external/" and various methods can be used to debug these various types of scripts (bash, perl, python). For bash scripts you can modify the script and use "set -x" to enable logging of every command executed and will be logged to SYSLOG and "set +x" to disable logging.
- Enabling resource trace will trigger resource restart. Pacemaker will stop and start the resource in order to activate tracing. Same apply to untrace command.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022678
- Creation Date:22-FEB-18
- Modified Date:01-OCT-19
- SUSESUSE Linux Enterprise High Availability Extension