enablelanfree yes
LANFREECommmethod SharedMem
LANFREESHMPORT 1510
5. Edit the dsm.opt file to specify the server name that you added to the dsm.sys
file in step 3b on page 20. In this example:
servername tsmsrver
6. If you are using a Tivoli Storage Manager data protection application client,
configure the API by performing the following procedure:
a. Set up the environment variables. The Tivoli Storage Manager API uses
unique environment variables to locate files.

v DSMI_CONFIG is the fully qualified name for the client user option file.

v DSMI_DIR points to the path containing dsm.sys, dsmtca, and the

subdirectory en_US.

v en_US subdirectory must contain dsmclientV3.cat.

v DSMI_LOG points to the path for the dsierror.log file.

The following are examples of how to set up these environment variables:
export DSMI_CONFIG=/usr/tivoli/tsm/client/api/bin/dsm.opt
export DSMI_DIR=/usr/tivoli/tsm/client/api/bin
export DSMI_LOG=/home/user_a/logdir

Note: The quickest method to set the environment variables is to add these

variables to the user’s .profile file.
b. Edit an existing stanza or create a new stanza in the dsm.sys file to specify
the communications options between the Tivoli Storage Manager API and
server. For example:
SErvername tsmsrver
COMMmethod TCPip
enablelanfree yes
LANFREECommmethod TCPIP
LANFREETCPServeraddress test.xyz.company.com
LANFREETCPPort 1500
TCPPort 1502
TCPServeraddress tsmsrver.tucson.ibm.com

Note: A TCPPORT of 1502 is used in the examples; however, the default

TCPPORT is 1500.
If a dsm.sys file does not exist in the directory specified by DSMI_DIR,
create a symbolic link to the dsm.sys file in the Tivoli Storage Manager
client installation directory. For example:
ln -s /usr/tivoli/tsm/client/ba/bin/dsm.sys /usr/tivoli/tsm/client/api/bin/dsm.sys
Install and Configure the Storage Agent
Notes:
1. Refer to the README file shipped on the product media for the most current
information regarding installing and configuring the storage agent.
2. To reduce workload and processing time and to optimize LAN-free
performance, do not install the storage agent and the Tivoli Storage Manager
server on the same machine.
Make sure to stop all existing Tivoli Storage Manager products prior to installing
the storage agent. Installation will stop when an active Tivoli Storage Manager
process is detected. If this occurs, close all active Tivoli Storage Manager products
and retry installing the storage agent.
Chapter 3. Installing and Configuring Tape-Library and File-Device Sharing Environments 21