Setting IBM Storage Protect client options on UNIX or Linux
IBM Storage Protect™ clients on UNIX™ or Linux™ are configured by setting options in the dsm.opt and dsm.sys files. The include/exclude file is used to define which files are included or excluded during backup, archive, or hierarchical storage processing.
About this task
Configure the IBM Storage Protect backup-archive client to operate in an SAP environment with the following procedure.
Procedure
Results
/usr/tivoli/tsm/client/api/bin64.
- /usr/lib/libApiDS.ext
- /usr/lib/libApiDS.a
- /usr/lib/libApiDS.so
The IBM Storage Protect provides two features for specifying the location of the IBM Storage Protect API Client error log: the environment variable DSMI_LOG and the IBM Storage Protect system client option ERRORLOGName in dsm.sys. For DSMI_LOG, a directory is specified to which a file named dsierror.log is written. For ERRORLOGName a path and user-defined file name are defined.
- When you use ERRORLOGName, you can include the SID in the file name. This information can speed up problem determination by simplifying identification of the correct error log file. You can match log file names to the active user client options file name, which must also contain the SID and be stored in environment variable DSMI_CONFIG. This information is especially useful on systems with several SIDs.
- The suggested configuration prepares the system for IBM Storage Protect API Client tracing for both backint and RMAN operation.
- For each
SERVER servername
section in the profile initSID.utl, create a correspondingSErvername servername
stanza in the system client options file /usr/tivoli/tsm/client/api/bin64/dsm.sys, where SID designates the DB2 database name as returned byecho $DB2DBDFT
. One SID might use severalSErvername servername
stanzas. It is not advised to useSErvername <servername
stanza by several SIDs. - In all
SErvername servername
stanzas that belong to the same SID, add optionERRORLOGName /writeable_path/dsierror_SID.log
. Write permission problems can usually be avoided by specifying a directory below $HOME of the DB2 instance owner as writeable_path. - Create one user options file for each DB2 SID with the file name /usr/tivoli/tsm/client/api/bin64/dsm_SID.opt containing option
SErvername servername
. servername must point to the stanza in /usr/tivoli/tsm/client/api/bin64/dsm.sys that is designated by the firstSERVER servername
section in initSID.utl. Add variableDSMI_CONFIG=/usr/tivoli/tsm/client/api/bin64/dsm_SID.opt to the environment of the user who is running the SAP backups, db2SID or SIDadm, or both in case of doubt.
- Environment variable DSMI_CONFIG is exported from the login shell
- Environment variable DSMI_CONFIG points to client user options file /usr/tivoli/tsm/client/api/bin64/dsm_SID.opt
- Client user option
SERVER servername
in dsm_SID.opt points to theSERVER servername
stanza in /usr/tivoli/tsm/client/api/bin64/dsm.sys - The
SERVER servername
stanza contains the optionERRORLOGName /writeable_path/dsierror_SID.log