Previous Topic: KeywordsNext Topic: Capacity Based Licensing Tool


Using Class Definitions

You can use the CA SRM Class Builder Wizard to create classes. After you have created a class using the Class Builder Wizard, you can tailor it using Enterprise Definition Language (EDL). EDL statement classes combine objects and their attributes, relationships between objects, predefined keywords, and operators. A class definition can also reference another class.

The following examples illustrate how you can use class definitions to create queries of increasing complexity and scope:

Class Definitions

Examples

General

A class named TEMP_FILES consists of the following statement, which selects all the files (on all servers) that have a suffix of TMP:

FILE "*.TMP"

You can create EDL statements in text form. After you define the class TEMP_FILES, it can be supplied as the value of the source parameter to any service definition dialog.

CA ARCserve Backup

The following statement defines the class of failed CA ARCserve Backup backup sessions:

ARC_SESSION WHERE ARC_SESSION_STATUS = “FAILED”

Exchange 2000

The following statement defines a class of Exchange 2000 servers that have public stores larger than 20 GB:

EXCH_SERVER where EXCH_SITE_PUB_STORE_SIZE > 20 GB

TSM

The following statement defines a class named QA as all nodes with names starting with QA:

TSM_NODE "QA*"

Another class, named FAILED_SESSIONS is defined as

TSM_SESSION WHERE TSM_SESSION_OBJECTS_FAILED > 10

Use the following statement to define all the sessions that failed in the QA department:

TSM_SESSION WHERE
TSM_SESSION IN FAILED_SESSIONS
AND
TSM_NODE IN QA

Oracle

The following statement defines a class named MANUAL as all the data files that are not auto extendable and are more than 80 percent full:

ORA_DF WHERE ORA_DF_PERCENT_FREE_SPACE < 20 AND ORA_DF_IS_AUTOEXTEND = FALSE

Use the following statement to define all the volumes that need immediate attention to reclaim free space:

VOLUME WHERE VOLUME_PERCENT_FREE_SPACE < 10
AND
VOLUME CONTAINS ORA_DF
WHERE
ORA_DF IN MANUAL

NetApp

The following statement defines a class of NetApp volumes that contain less than 15 percent free space:

NETAPP_VOLUME where NETAPP_VOLUME_PERCENT_FREE_SPACE < 15

Disk Array

The following statement defines a class of disk arrays larger than 100 MB:

DAR_DISK_ARRAY where DAR_DISK_ARRAY_SIZE > 100MB