Using these ACSAPI Requests & ACSLS Commands
This section describes how to use the ACSAPI requests and commands for improving tape library performance.
In the following discussion, the term “request" is used for both ACSAPI requests and cmd_proc commands.
When mounting a specific cartridge (where the vol_id is known):
-
Precede the
mountrequest with aquery mountrequest. -
Pick the first “
available" drive, and specify this drive in themountrequest.
When mounting a scratch cartridge on a specific drive, there are two options:
-
To select the closest scratch cartridge to a specific drive:
Use a
mount scratchrequest specifying a drive and, optionally, a scratch pool.For
ACSAPIrequests, specify one of the following:-
ALL_MEDIA_TYPE(compatible media is selected) -
ANY_MEDIA_TYPE(uses the scratch preference list).
For
cmd_proccommands, select one of the following:-
Do not specify a media type (compatible media is selected)
-
Specify
media *(uses thescratch preference list).
-
-
To select a specific drive from a list of drives, and then select the closest scratch cartridge:
Pick the drive, then pick the
scratch tape:This ensures the drive is close to the scratch cartridge.-
Enter a
query mount scratchrequest to identify the closest available drive to the most scratch media in the desired scratch pool. -
Enter a
mount scratchrequest to mount a scratch cartridge on the selected drive. Optionally, specify the scratch pool.
For
ACSAPIrequests, either specify:-
ALL_MEDIA_TYPE(and compatible media will be selected), or -
ANY_MEDIA_TYPE(to use the scratch preference list).
For
cmd_proccommands, either:-
Do not specify a media type (and compatible media will be selected), or
-
Specify
media *(to use the scratch preference list).
-