David, Here is a script we use to start and stop multiple dsmcad processes (we have three TSM clients backing up one VERY large Linux server). #!/bin/bash # A script to start up the TSM clients. Note that there are two TSM clients # on this system, which connect to two different TSM server instances. # # History # 10/22/2007 JDS Original Version RETVAL=0 DSM_DIR=/opt/tivoli/tsm/client/ba/bin start() { echo "Starting Tivoli Storage Manager Client xxxxxx01: " DSM_LOG=/opt/tivoli/tsm/client/ba/bin01 /opt/tivoli/tsm/client/ba/bin/dsmcad \ -optfile=/opt/tivoli/tsm/client/ba/bin01/dsm.opt \ >/dev/null 2>&1 & echo "Starting Tivoli Storage Manager Client xxxxxx02: " DSM_LOG=/opt/tivoli/tsm/client/ba/bin02 /opt/tivoli/tsm/client/ba/bin/dsmcad \ -optfile=/opt/tivoli/tsm/client/ba/bin02/dsm.opt \ >/dev/null 2>&1 & echo "Starting Tivoli Storage Manager Client xxxxxx03: " DSM_LOG=/opt/tivoli/tsm/client/ba/bin03 /opt/tivoli/tsm/client/ba/bin/dsmcad \ -optfile=/opt/tivoli/tsm/client/ba/bin03/dsm.opt \ >/dev/null 2>&1 & RETVAL=$? echo return $RETVAL } stop() { echo -n "Terminating Tivoli Storage Manager Client: " kill -9 `ps -efw | grep dsmc | grep -v grep | awk '{print $2}'` echo return 0 } # See how we were called. case "$1" in start) start ;; stop) stop ;; restart|reload) stop start RETVAL=$? ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $RETVAL
I hope this helps! Best Regards, John D. Schneider The Computer Coaching Community, LLC Office: (314) 635-5424 / Toll Free: (866) 796-9226 Cell: (314) 750-8721 -------- Original Message -------- Subject: [ADSM-L] TSM client backing up to two TSM servers From: David E Ehresman <deehr...@louisville.edu> Date: Tue, September 01, 2009 12:53 pm To: ADSM-L@VM.MARIST.EDU I'm trying (for political reasons) to back up a linux TSM client (v5.4) to two different servers (v5.4). I have two stansa in dms.sys, each one pointing to one of the servers. I have two opt files, each one poionting to a different stanza in the dsm.sys. I can dsmc -optfile=xxxxx to each of the servers. How do I set up two dsmcad's talking to the two servers, each listening for a schedule? David