[z/OS]

Starting CTRACE while WebSphere Application Server for z/OS servers are active

Use this page to start CTRACE when a WebSphere® Application Server for z/OS® server already is active.

开始之前

Make sure that you have properly prepared CTRACE controls and resources as described in 准备 CTRACE 控件和资源.

关于此任务

If you start a WebSphere Application Server for z/OS server before starting the CTRACE writer for WebSphere, the server still gathers data in its trace buffers. This trace data is not available for use unless you follow this procedure or until a dump of the server address space is taken.

Perform the following steps to start CTRACE when a WebSphere Application Server for z/OS server already is active:

过程

  1. Perform the following tasks.
    1. Start the CTRACE external writer.
      Use the following operator command:
      TRACE CT,WTRSTART=procname 
      其中 procname 是 CTRACE 写程序的已编目过程的名称。
    2. 如有必要,将 WebSphere Application Server for z/OS 连接至 CTRACE 写程序(不是在 CTIBBO xx parmlib 成员中指定的那一个)。
      1. 使用此操作员命令:
        TRACE CT,ON,COMP=cell_short_name
      2. 会提示您有其他选项。输入以下回答:
        REPLY x,WTR=procname,END 
        其中 procname 是 CTRACE 写程序的已编目过程的名称。
    CTRACE 外部写程序开始将服务器的跟踪数据写到通过 WebSphere 变量 ras_trace_outputLocation 指定的位置。
  2. 在需要收集跟踪数据用于分析时,执行这些步骤。
    1. 从 CTRACE 断开连接 WebSphere Application Server for z/OS。
      1. 使用下列操作员命令:
        TRACE CT,ON,COMP=cell_short_name
      2. 会提示您有其他选项。输入以下回答:
        REPLY x,WTR=DISCONNECT,END
    2. 停止 CTRACE 外部写程序。
      使用下列操作员命令:
      TRACE CT,WTRSTOP=procname 
      其中 procname 是 CTRACE 写程序的已编目过程的名称。

指示主题类型的图标 任务主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ttrb_startCTRACEactive
文件名:ttrb_startCTRACEactive.html