12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

export PATH=$PATH:Related reference“Optfile” on page 359The optfile option specifies the client options file to use when you start a <strong>Tivoli</strong><strong>Storage</strong> <strong>Manager</strong> session.Setting Bourne <strong>and</strong> Korn shell variablesEnter the environment variables in the .profile file (Korn shell) or .bash_profilefile (Bourne shell) in your $HOME directory.The following is an example, where /home/davehil/dsm.opt is the path <strong>and</strong> filename <strong>for</strong> your client user options file, <strong>and</strong> the /home/davehil directory is whereyou want to store the dsmerror.log file, executable file, resource files, <strong>and</strong> dsm.sysfile.DSM_DIR=/home/davehilDSM_CONFIG=/home/davehil/dsm.optDSM_LOG=/home/davehilexport DSM_DIR DSM_CONFIG DSM_LOGSetting C shell variablesFor the C shell, add the DSM_CONFIG, DSM_LOG <strong>and</strong> DSM_DIR variables to the.cshrc file in your $HOME directory.The following is an example, where /home/davehil/dsm.opt is the path <strong>and</strong> filename <strong>for</strong> your client user options file, <strong>and</strong> the /home/davehil directory is whereyou want to store the dsmerror.log file, executable file, resource files, <strong>and</strong> dsm.sysfile.setenv DSM_DIR /home/davehilsetenv DSM_CONFIG /home/davehil/dsm.optsetenv DSM_LOG /home/davehilSetting API environment variablesIf you installed the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> client API, set the followingenvironment variables.DSMI_DIRPoints to your installation directory. The files dsmtca, dsm.sys, <strong>and</strong> thelanguage files must reside in the directory pointed to by DSMI_DIR. Thisenvironment variable must be present.DSMI_CONFIGFull path name of your own client user options file (dsm.opt).DSMI_LOGPath <strong>for</strong> dsierror.log (cannot be a symbolic link).Note: End users of applications developed with the API should consult theinstallation directions <strong>for</strong> that application <strong>for</strong> special path names or guidelines <strong>for</strong>options. Ensure that directories in the environment variables are specified in thepath statement. The location of the API library is especially important.For more in<strong>for</strong>mation about the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> client API, see <strong>IBM</strong> <strong>Tivoli</strong><strong>Storage</strong> <strong>Manager</strong> Using the Application Programming Interface, SC32-0147.Chapter 2. Configuring the <strong>Tivoli</strong> <strong>Storage</strong> <strong>Manager</strong> client 51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!