ecaqrtab

The ecaqrtab utility performs operations in the Resource Pools table. These operations include:

Running the ecaqrtab UtilityLink copied to clipboard

This procedure describes how to run the ecaqrtab utility, which performs operations on the Resource Pools table.

Begin

  • From an Agent host, to invoke the LIST option, type one of the following commands:

    • ecaqrtab LIST "*"

    • ecaqrtab -input_file <fullPathFileName>

If a resource name is longer than 20 characters, the resource is not added.

ecaqrtab Utility ParametersLink copied to clipboard

The following table describes the ecaqrtab utility parameters:

Parameter

Description

LIST

Displays the status of the specified resource pools.

ADD

Defines a new resource pool and sets the maximum availability for the resource.

DELETE

Deletes an existing resource pool.

UPDATE

Changes the maximum availability of an existing resource pool.

<QR_Name>

Defines the name of the resource pool. For the LIST option, QR_Name can include wildcard character * to indicate any number of characters (including none).

If * is specified, enclose the name in quotation marks, for example, "LVL*".

When invoked by the Agent, specify "*" (including the quotation marks) to include all existing resource pools.

<Max>

Determines the maximum availability for the specified resource.

Can only be specified with the ADD and UPDATE options.

<fullPathFileName>

Defines the name and full path of a file containing parameters for the utility.

In this file, each parameter and its values (if any) are on a separate line with the same syntax they would have on the command line.

Uses:

  • Prepare and save files of utility parameters that can be reused.

  • Specify utility input longer than the number of characters allowed in the command line.

    -input_file ~ <controlmOwner>/ctm/data/ecaqrtab_parms.txt

Listing Resource PoolsLink copied to clipboard

This procedure describes how to list the resource pools.

Begin

  • From an Agent host, type the following command:

    ecaqrtab LIST "*"

Resource Pool ParametersLink copied to clipboard

The following table describes the fields that are displayed for each resource pool that matches the specified resource name or mask.

Parameter

Description

QR name

Defines the resource pool name (with @<Host ID> where applicable).

Type

For future use.

Max Avail

Defines the maximum number of units of this resource in the host.

Reserved

Defines the number of units of the resource reserved for critical‑path jobs.

Used

Defines the number of units of the resource currently in use or reserved. If the ctmloadset utility is used in the data center, this number can include usage of the resource by non‑Control‑M jobs.

Free

Defines the number of units of the resource currently available for use. This represents the difference between Max Avail and Used.

Resource Pool ExampleLink copied to clipboard

The following command can be invoked by the server or the Agent to list the current status of all resource pools in the Resource Pool table:

ecaqrtab LIST "*"

A report similar to the following is displayed:

CopyCopied to clipboard
+-----------------------------------------------------+
Resource Name Type Max-Avail Reserved Used Free
+-----------------------------------------------------+
CPU@linda L 10 0 10 0
CPU@linda L 20 0 15 5
MEM@Diana L 10 0 0 10
Tape2 L 12 2 2 10

Adding a Resource PoolLink copied to clipboard

This procedure describes how to add a resource pool.

Begin

  1. From an Agent, enter the following command:

    ecaqrtab ADD <QR name> <Max>

    The following command specifies that the new resource pool tape2 is to be added to the Resource Pool table, with a maximum availability of 12 units:

    ecaqrtab ADD tape2 12

Deleting a Resource PoolLink copied to clipboard

This procedure describes how to delete a resource pool.

Begin

  1. From an Agent, enter the following command:

    ecaqrtab DELETE <QR name>

    The following command specifies that the resource pool tape3 is to be deleted from the table:

    ecaqrtab DELETE tape3

Altering the Availability of a Resource Pool Link copied to clipboard

This procedure describes how to alter the availability of a resource pool.

Begin

  1. From an Agent, type the following command:

    ecaqrtab UPDATE <QR name> <Max>

    The following command specifies that the new maximum availability for the existing resource pool linerje2 on host Diana is 12 units:

    ecaqrtab UPDATE linerje2@Diana 12

    You can get the same result using the -input_file parameter as follows:

    ecaqrtab -input_file ~<controlm_owner>/ctm/data/ecaqrtab_lines.txt

    The referenced file contains the following lines:

    UPDATE

    linerje2@Diana

    12

    e.