Tivoli Header

Tivoli Space Manager for UNIX Using the Hierarchical Storage Management Clients

Set Environment Variables

Note:
You cannot specify the root directory for DSM_DIR, DSM_CONFIG, or DSM_LOG.

Set these environment variables to point to files that TSM uses. Use the LANG environment variable to specify the language that you want to use.

Table 10. Environment Variables

Variable Description
DSM_DIR Points to the resource files, the dsm.sys file, and the executable file, dsmtca. If you do not set DSM_DIR, the HSM client searches for the executable files in the installation directory.
DSM_CONFIG Points to your dsm.opt file.
  • If you do not set DSM_CONFIG, the HSM client searches for the options file in the directory to which DSM_DIR points.
  • If you do not set DSM_DIR, the HSM client searches for the options file in the installation directory.
  • For Solaris operating systems, dsm.sys and dsm.opt are symbolic links to the actual files that you store in /usr/bin. This protects your files from deletion if you uninstall TSM.
DSM_LOG Points to the directory where you want the dsmerror.log file to reside. The error log file contains information about any errors that occur during processing. This log file helps Tivoli Customer Service diagnose severe errors.
  • If you define DSM_DIR but you do not define DSM_LOG, messages are written to dsmerror.log in the directory that you specified in DSM_DIR.
  • If you do not define DSM_LOG or DSM_DIR, error messages are written to dsmerror.log in the current directory. You receive a warning message if TSM cannot write messages to the log file. Processing continues.

Set Bourne and Korn Shell Variables

To set the Bourne or Korn shell, enter the environment variables in the .profile file in your $HOME directory. For example:

   DSM_DIR=/home/davehil
   DSM_CONFIG=/home/davehil/dsm.opt
   DSM_LOG=/home/davehil
   export DSM_DIR DSM_CONFIG DSM_LOG

The /home/davehil/dsm.opt path identifies the path and file name for your dsm.opt file. The /home/davehil path identifies the directory where you want to store the dsmerror.log file, the executable file, the resource files, and the dsm.sys file.

Set C Shell Variables

To set the C shell, add the DSM_CONFIG and DSM_LOG variables to the .cshrc file in your $HOME directory. For example:

   setenv DSM_CONFIG /home/davehil/dsm.opt
   setenv DSM_LOG /home/davehil

The /home/davehil/dsm.opt path identifies the path and file name for your dsm.opt file. The /home/davehil path identifies the directory where you want to store the dsmerror.log file.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]