CF trace in DB2 pureScale environment
How to trace CF server and CF client in pureScale environment?
1. To turn on trace on the CF server, run on one of the members
db2trc cf on
2. To turn on trace on the CF client, run on all members
db2trc cf cli on
( NOTE: You can use options "-m" and/or "-l", depends on the specific case. It could be suggested by IBM DB2 support. The CF client trace buffer cannot exceed 10 MB.
Example: -m "*.CF.svr_list.*.CF_TRACE_ERROR,CF_TRACE_ALL"
Example: -l 10m )
3. Turn off trace
db2trc cf off
db2trc cf cli off
4. Dump trace to file
db2trc cf dump <cf_trc_out>
db2trc cfcli dump <cfcli_trc_out>
a) <cf_trc_out> is the name of output file dumped by trace on CF server. If you have two CFs, this command will generate output file for each CF, named "<cf_trc_out>.128" and "<cf_trc_out>.129"
b) <cfcli_trc_out> is the name of output file dumped by trace on CF client. Please specify separate file names for output on each member
5. Format trace
db2trc cf fmt <cf_trc_out> <cf_trc_out_fmt>
db2trc cfcli fmt <cfcli_trc_out> <cfcli_trc_out_fmt>
a) <cf_trc_out_fmt> is the name of formatted trace file on CF server
b) <cfcli_trc_out_fmt> is the name of formatted trace file on CF client
More support for:
DB2 for Linux, UNIX and Windows
High Availability - PureScale
Software version: 9.8, 10.1, 10.5
Operating system(s): AIX, Linux, Windows
Reference #: 1664823
Modified date: 23 February 2014
Translate this page: