CF trace in DB2 pureScale environment

Technote (FAQ)


Question

How to trace CF server and CF client in pureScale environment?

Answer

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>

NOTE:

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>

NOTE:

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

Related information

More CF and CF CLI usage examples

Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows
pureScale

Software version:

9.8, 10.1, 10.5

Operating system(s):

AIX, Linux, Windows

Reference #:

1664823

Modified date:

2014-02-23

Translate my page

Machine Translation

Content navigation