Question & Answer
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
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21664823