정책 규칙을 사용하여 여러 다른 유형의 임계값을 정의할 수 있습니다. 임계값이 같은 여러 정책 규칙이 배치될 때 규칙이 트리거되는 순서는 먼저 메시지 조치 규칙, 이벤트 조치 규칙 그리고 마지막으로 이상 종료 조치 규칙입니다.
규칙 유형 1 | 규칙 항목 2 | 연산자 3 | 단위 4 | 값 5 |
---|---|---|---|---|
데이터베이스 요청 |
SQL 명령 |
초과 |
|
|
파일 요청 |
삭제 명령 |
초과 |
|
요청 또는 1000개의 요청에 대한 이러한 값 범위는 모든 파일 요청 정책 규칙 항목에 적용됩니다. |
프로그램 요청 |
LINK 명령 참고: INVOKE
APPLICATION 명령은 개수에도 포함되지만
별도 정책 항목이 아닙니다.
|
초과 |
|
|
시작 요청 |
START 명령 |
초과 |
|
|
스토리지 |
24비트 태스크 스토리지 |
초과 |
|
24비트 규칙 항목:
31비트 규칙 항목:
64비트 규칙 항목:
|
스토리지 요청 |
24비트 태스크 스토리지 요청 |
초과 |
|
요청 또는 1000개의 요청에 대한 이러한 값 범위는 모든 스토리지 요청 정책 규칙 항목에 적용됩니다. |
동기점 요청 |
SYNCPOINT 명령 |
초과 |
|
|
TD 큐 요청 |
READQ TD 명령 |
초과 |
|
요청 또는 1000개의 요청에 대한 이러한 값 범위는 모든 TD 큐 요청 정책 규칙 항목에 적용됩니다. |
시간 |
CPU 시간 |
초과 |
|
|
TS 큐 바이트 |
WRITEQ TS 명령 참고:
|
초과 |
|
모든 TS 큐 바이트 정책 규칙 항목의 값 범위는 동일합니다. |
TS 큐 요청 |
READQ TS 명령 참고: READQ 및
WRITEQ 정책 항목은 보조 및 기본 TSQ 결합에 대한 READ 또는 WRITE 요청 총계의
임계값을 설정할 때 사용됩니다. 기타 WRITEQ 정책 항목은
TSQ의 특정 유형에 대한 WRITE 요청 수의 임계값을 설정할 때 사용됩니다.
|
초과 |
|
요청 또는 1000개의 요청에 대한 이러한 값 범위는 모든 TS 큐 요청 정책 규칙 항목에 적용됩니다. |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Example platform policy to monitor task storage and file read counts</description>
<userTag>exmp_1</userTag> thru <userTag>exmp_3</userTag>
<rule type="storage" 1 >
<name>TooMuch24BitStorage</name>
<description>Issue DFHMP3001 msg when a task allocate more than 1024 bytes of 24 bit task storage</description>
<storageUsedCondition item="task24" 2 operator="GT" 3 value="1" 5 unit="K" 4 />
<action>
<message/>
</action>
</rule>
<rule type="filerequest" 1 >
<name>TooManyReads</name>
<description>Issue DFHMP3001 msg when a task does more than 50 reads</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="50" 5 unit="" 4 />
<action>
<message/>
</action>
</rule>
</policy:policy>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Policy to monitor the number of file reads</description>
<userTag>fcpol_1</userTag>
<rule type="filerequest" 1 >
<name>File_Reads</name>
<description>Abend the task if the file read limit exceeded</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="10" 5 unit="K" 4 />
<action>
<abend/>
</action>
</rule>
<rule type="filerequest" 1 >
<name>File Write</name>
<description>Abend the task with specified abend code CFI1 if the file write limit exceeded</description>
<fileRequestCondition item="write" 2 operator="GT" 3 value="5" 5 unit="K" 4 />
<action>
<abend abendCode="CFI1"/>
</action>
</rule>
</policy:policy>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Policy to monitor the number of file reads</description>
<userTag>fcpol_1</userTag>
<rule type="filerequest" 1 >
<name>File Write</name>
<description>The file write limitation policy</description>
<fileRequestCondition item="write" 2 operator="GT" 3 value="500" 5 unit="" 4 />
<action>
<event>
<eventAdapterName>adapterB</eventAdapterName>
</event>
</action>
</rule>
<rule type="filerequest" 1 >
<name>File_Reads</name>
<description>File read limitation policy</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="100" 5 unit="" 4 />
<action>
<event>
<eventAdapterSetName>adaSetA</eventAdapterSetName>
</event>
</action>
</rule>
</policy:policy>