Tivoli Header
Administrator's Reference
Use this command to specify a prefix to the recovery instructions file
name. If you issue this command, Tivoli Storage Manager uses the
specified prefix if the PREPARE command is issued without the INSTRPREFIX
parameter.
Use the QUERY DRMSTATUS command to display the current value for the
prefix.
If no prefix is set, the prefix is determined as follows:
- If the DSMSERV_DIR environment variable is defined, the prefix is the
directory pointed to by the environment variable.
- If the DSMSERV_DIR environment variable is not defined, the prefix is the
current Tivoli Storage Manager server working directory.
Privilege Class
To issue this command, you must have system privilege.
Syntax
>>-Set DRMINSTRPrefix--prefix----------------------------------><
Parameters
- prefix (Required)
- Specifies a path name prefix for the files that contain the recovery
instructions. When processing the PREPARE command, Tivoli Storage
Manager appends the name of the appropriate recovery plan file stanza to find
the file. The maximum length is 250 characters.
- Note:
- The recovery instructions files must be created on a file system that
supports long file names.
The prefix can be one of the following:
- Directory path: End the prefix with a slash (/).
For example:
/adsmsrv/recinstr/
For the RECOVERY.INSTRUCTIONS.GENERAL file, the resulting
file name would be:
/adsmsrv/recinstr/RECOVERY.INSTRUCTIONS.GENERAL
- Directory path followed by a string: Tivoli Storage
Manager treats the string as part of the file name. For example:
/adsmsrv/recinstr/accounts
For the RECOVERY.INSTRUCTIONS.GENERAL file, the resulting
file name would be:
/adsmsrv/recinstr/accounts.RECOVERY.INSTRUCTIONS.GENERAL
- String only: Tivoli Storage Manager specifies the
directory path and appends the appropriate recovery plan file stanza
name. Tivoli Storage Manager determines the directory path in one of
two ways:
- If the DSMSERV_DIR environment variable is defined, Tivoli Storage Manager
uses the directory pointed to by this environment variable. For
example, the DSMSERV_DIR environment variable points to
/adsmsrv/recinstr and you specify the following:
shipping
For the RECOVERY.INSTRUCTIONS.GENERAL file, the resulting
file name would be:
/adsmsrv/recinstr/shipping.RECOVERY.INSTRUCTIONS.GENERAL
- If the DSMSERV_DIR environment variable is not defined, Tivoli Storage
Manager uses the name of the current working directory. For example,
the current working directory is /opt/adsmserv/bin and you specify
the following:
shipping
For the RECOVERY.INSTRUCTIONS.GENERAL file, the resulting
file name would look like this:
/opt/adsmserv/bin/shipping.RECOVERY.INSTRUCTIONS.GENERAL
Examples
Task
Specify reading the recovery plan instructions from directory
/drmplan/primesrv.
- Command:
- set drminstrprefix /drmplan/primesrv/
Related Commands
Table 259. Commands Related to SET DRMINSTRPREFIX
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]