Someone requested a post on how to setup a secondary instance of TSM on a UNIX server so here is the skinny on how that is setup:
First create a directory where the config files for the new server will be stored.
then copy the dsmserv.opt over and modify the needed settings in it like devconfig and volhist to save in the new dir. Then create DB and Log volumes that this instance will use. Once those are created you need to export the following environmental variables:
Now you can run the dsmserv format command to initialize the DB and Log volumes and it will create the dsmserv.dsk in the serverb directory. Make sure you run the dsmserv runfile commands to load the scripts and webimages (even if TSM 5.3). The final step is to create the startup script so that TSM initializes correctly. Here is our script:
exec > /tmp/libserv.out 2>&1 #optional -> sends output to out file
ulimit -d unlimited
print "$(date '+%D %T') Starting Tivoli Storage Manager Server"
We use the following command to start TSM so we don’t have to deal with nohup:
echo “/usr/tivoli/tsm/serverb/bin/rc.adsmserv” | at now
This uses the at command to run the script immediately. You can then edit the inittab and place a line in to start this instance on boot or put a script in the run level startup folders, your choice. You should now be ready to run the second instance. One note to those thinking of doing this and sharing a library, Tivoli recommends that you create a TSM instance to be just a library manager, no clients, no real work other than handling the library and tape mounts. I agree with this and it has been a lot easier to manage and handle library issues. Not knowing how large the DB could get I gave it 2GB and it is currently 3.8% utilized, and it has been in place for over a year and a half. Swapping a library manager from one system to another is not as hard as it would seem so consider it and if anyone wants docs on how to do the switch let me know I’ll post it.