




There are some circumstances where you must set environment variables to ensure that Tivoli® Storage Manager applications can locate the files that are needed to perform client operations, and that applications can create log files that record events and errors that occur during Tivoli Storage Manager operations.
You must set the environment variables in any of the following circumstances:
There are four environment variables you can set which affect Tivoli Storage Manager processing:
Refer to the installation section for your operating system to find the default installation directory information.




When you request an image backup,
image restore, snapshot-based file backup, NAS backup, or NAS restore, Tivoli Storage Manager uses
the DSM_DIR environment variable to locate the corresponding plug-in
library. If DSM_DIR is not set, the client looks for the plug-in library
in the following directories:
For Mac OS X, the file can reside in any of the
following locations. These directories are searched in order, and
the first option file found is used. ~/Library Preferences/Tivoli
Storage Manager, /Library Preferences/Tivoli Storage
Manager, or /Library/Application Support/tivoli/tsm/client/ba/bin.Refer to the installation section for your operating system to find the default installation directory information.
Refer to the installation section for your operating system to find the default installation directory information.
Important: Set the DSM_LOG environment variable to name a directory where read-write permissions allow the required write access for the user to create and write to the log file. This prevents log write failures and process termination. Use the chmod or setacl commands to give the files permissions that allow all expected client user IDs to read and write them. If the log names are the default names, just set the DSM_LOG environment variable to point to the directory where they reside. When Tivoli Storage Manager cannot write to the log file, an error message is written to stderror and to the syslog daemon. The syslog daemon must be running and configured to process messages with a priority of LOG_ERR for the error message to appear in the system log. Starting and configuring the syslog daemon is system specific. See "man syslogd" for information on starting the syslog daemon, and "man syslog.conf" for information on configuring the syslog daemon.
To use the Tivoli Storage Manager Java GUI program, you must export the directory where you installed the java binary file. For example, enter the following command:
export PATH=$PATH:java_bin_dir
where: java_bin_dir is the path to the runnable Java binary file in your file system.