Automation Engine Rolling Trace v12 syntax

book

Article ID: 84639

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Automation Engine v12 introduced memory tracing, therefore there is an additional keyword to set rolling traces.

Cause

Rolling trace syntax from v11 and older should not be used in v12 because it will repeatedly switch the Trace type between "FILE" and "MEMORY" whenever the trace turns on and off.

Environment

Component: Automation Engine

Resolution

TIME EVENT: EVNT.ROLLING_TRACE_START

********************************
EVNT.ROLLING_TRACE_START - Event tab
********************************
Check Intervals of:  X minutes
Check: Repeated


********************************
EVNT.ROLLING_TRACE_START - Process tab
********************************

!
! Turn On
!
!Set a TCP/IP=2 and DB=4 trace on the WPs
!Get System Name

:SET &TRC# = GET_UC_SYSTEM_NAME()


!Turn on tracing for WPs

:SET_UC_SETTING SET_TRACE, &TRC#, "2400000000000000", "FILE"


!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number

!Example:

:SET_UC_SETTING SET_TRACE, "UC4#CP001", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "9000000000000000", "FILE"


!Set a TCP/IP=9 trace on the Agent - <Agent Name> needs to change to reflect actual agent
!Turn on tracing

:SET_UC_SETTING SET_TRACE, "<Agent Name>", "9000000000000000", "FILE"


********************************
EVNT.ROLLING_TRACE_START - !Process tab

Note: The !Process in v12.0 can be seen in the Java UI, but in AWI this is the "Event Process."
********************************

!
! Turn off
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name

:SET &TRC# = GET_UC_SYSTEM_NAME()


!Turn off tracing for WPs

:SET_UC_SETTING SET_TRACE, &TRC#, "0000000000000000", "FILE"


!Turn off tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number

:SET_UC_SETTING SET_TRACE, "UC4#CP001", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "0000000000000000", "FILE"


!Turn off agent tracing

:SET_UC_SETTING SET_TRACE, "<Agent Name>", "0000000000000000", "FILE"


!
! Turn Back On
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name

:SET &TRC# = GET_UC_SYSTEM_NAME()


!Turn on tracing for WPs

:SET_UC_SETTING SET_TRACE, &TRC#, "2400000000000000", "FILE"


!Turn on tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number

:SET_UC_SETTING SET_TRACE, "UC4#CP001", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "9000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "9000000000000000", "FILE"


!Turn on agent tracing

:SET_UC_SETTING SET_TRACE, "<Agent Name>", "9000000000000000", "FILE"

 

SCRIPT: SCRI.STOP_ROLLING_TRACE

********************************
SCRI.STOP_ROLLING_TRACE - Process tab
********************************

!
! Turn off
!

!Set a DB=4 and TCP/IP=2 trace on the WPs
!Get System Name

:SET &TRC# = GET_UC_SYSTEM_NAME()


!Turn off tracing for WPs

:SET_UC_SETTING SET_TRACE, &TRC#, "0000000000000000", "FILE"


!Turn off tracing for single CP - Before # sign is the System name, after # sign is CPxxx where xxx is the CP number

:SET_UC_SETTING SET_TRACE, "UC4#CP001", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP002", "0000000000000000", "FILE"
:SET_UC_SETTING SET_TRACE, "UC4#CP003", "0000000000000000", "FILE"


!Turn off agent tracing

:SET_UC_SETTING SET_TRACE, "<Agent Name>", "0000000000000000", "FILE"