HOW TO: Install TSM Client on Debian/Ubuntu 64bit Server

Few weeks ago, I had the task to install TSM Backup Client, in a Debian 64bit Server. TSM was developed by IBM. With the use of this software you can create schedules for automatic Backups to a central/main Backup Server. Sadly IBM decided not to support Debian and derivatives, so that is how we come to the first problem: It is “impossible” to install TSM in a Debian machine. But with some few tricks, you can install it and run it as if IBM had support for Debian. The second problem is: we are dealing with a 64bit Server (actually this is not a big deal, but nevertheless things get a bit more “complicated”). This is a HOW TO install TSM Client on Debian/Ubuntu tutorial


So first of all you should have the following archive and packages:

  • 6.1.3.4-TIV-TSMBAC-LinuxX86.tar
  • alien
  • libstdc++6
  • ksh
  • ia32-libs

For installing alien, libstdc++6 and ksh:

~# apt-get install alien libstdc++6 ksh ia32-libs

Now you have to unpack the file with the following command:

tar xvf 6.1.3.4-TIV-TSMBAC-LinuxX86.tar

Go to the file that was unpacked from the previous step:

cd TSM

You will have the following archives:

  • TIVsm-API64.i386.rpm
  • TIVsm-API.i386.rpm
  • TIVsm-BA.i386.rpm

TIVsm-BA.i386.rpm is the Backup-Archive (B/A) client.

We will use the last 2.

Now we are going to unpack the rpm files. Do not care about the warnings/errors that may/will appear:

alien -g TIVsm-API.i386.rpm TIVsm-BA.i386.rpm

The next step has to be apply for TIVsm-API.i386.rpm as well as for TIVsm-BA.i386.rpm

You have to edit the following files:  ( TIVsm-API-6.1.3/debian/control and TIVsm-BA-6.1.3/debian/control )

nano TIVsm-API-6.1.3/debian/control

And edit the text so that it looks like this:

Source: tivsm-api
Section: alien
Priority: extra
Maintainer: whoever is the maintainer
Package: tivsm-api
Architecture: amd64
Description: the API
IBM Tivoli Storage Manager API
Version: 6.1.3.4

Now edit TIVsm-BA-6.1.3/debian/control

nano TIVsm-BA-6.1.3/debian/control

Again edit the text so that you get the following text:

Source: tivsm-ba
Section: alien
Priority: extra
Maintainer: whoever is the maintainer
Package: tivsm-ba
Architecture: amd64
Description: the Backup Archive Client
IBM Tivoli Storage Manager Client
Version: 6.1.3.4

Now we will create the *.deb packages:

dpkg -b TIVsm-API-6.1.3
dpkg -b TIVsm-BA-6.1.3

The above code will create an output similar to this:

dpkg-deb: building package `tivsm-api' in `TIVsm-API-6.1.3/.deb'.

and

dpkg-deb: building package `tivsm-ba' in `TIVsm-BA-6.1.3/.deb'.

Whit those outputs you recognize that the package was built in TIVsm-API-6.1.3/ and in TIVsm-BA-6.1.3/ and the name of the package its just “.deb”. So lets rename them so that we can identify them later:

mv TIVsm-API-6.1.3/.deb TIVsm-API-6.1.3/api.deb
mv TIVsm-BA-6.1.3/.de TIVsm-BA-6.1.3/ba.deb

Now we proceed to the installation:

dpkg -i TIVsm-API-6.1.3/api.deb
dpkg -i TIVsm-BA-6.1.3/ba.deb

After this step you have installed successfully TSM Client. After this step you have to continue with the normal steps, like configuring the config file, create a incremental backup, etc etc.

If you have any questions, suggestions, problems, leave your comment!!


JOIN OUR NEWSLETTER

Join my newsletter for FREE! Be one of thousands of people that receive ONE mail per week with the coolest posts of the week! JUMP IN don't be shy!!

We hate spam. Your email address will not be sold or shared with anyone else.

Author: Rocko

Share This Post On

11 Comments

  1. I follow your guide but when all is finish, config files, etc. I’m trying to make a “dsmc” or “dsmj” and it’s says :”/usr/bin/dsmc folder or file not found”

    Did you have this problem yet?

    Thanks for your time.

    Bryan

    Post a Reply
  2. Hi, now i’m able to start “dsmj” but it hang up on ” ANS5179E TSM error occured”.

    You know this problem and the solution?

    Thanks for your time

    Bryan

    Post a Reply
  3. Bryan, could you please be more specific with your first problem. I also ran with some problems like that, but what you have to check is if all your symbolic links are correct or exist!

    do the following

    cd /usr/bin
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmagent dsmagent
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmc dsmc
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmcad dsmcad
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmj dsmj
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmswitch dsmswitch
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmtca dsmtca
    ln -s /opt/tivoli/tsm/client/ba/bin/dsmtrace dsmtrace

    and also

    cd /usr/lib
    ln -s /opt/tivoli/tsm/client/api/bin/libApiDS.so libApiDS.so
    ln -s /opt/tivoli/tsm/client/api/bin/libxerces-c1_6_0.so libtsm613xerces-c1_6_0.so
    ln -s /opt/tivoli/tsm/client/api/bin/libxmlutil-6.1.3.0.so libxmlutil-6.1.3.0.so

    check also if this files exist:
    libct_cu.so
    libdmapi.so
    libgpfs.so
    libha_gs_r.so

    and finally check this:

    cd /opt/tivoli/tsm/client/ba/bin
    ln -s /opt/tivoli/tsm/client/lang/EN_US EN_US

    cd /opt/tivoli/tsm/client/api/bin
    ln -s /opt/tivoli/tsm/client/lang/EN_US EN_US

    Post a Reply
  4. Bryan,

    for your second problem. Most probably its an error that will get solved if you solve your first problem. Most probably you will solve it as Rocko explained.

    Post a Reply
  5. Hi all, yesterday I’ve found an other website, I enjoy yours, and finally..after hours an hours of testing…my TSM GUI finally open….I will check this morning if the backup was took correctly yesterday night.

    I will let you know my resolution if it could help you an other time.

    Sorry for my english…I’m from Quebec City.

    Thanks for your time and reply.

    Sincerly,

    Bryan

    Post a Reply
  6. Hi all, just to let you know that all works fine…
    I found a web page with some errors that I got…so if someone needs it…I got it.
    Juste a little thing, don’t forget to start one time the “dsmcad” or the automatic backup won’t be done.
    Thanks folks.
    Bryan

    Post a Reply
  7. dpkg-deb: failed to open package info file `TIVsm-API-6.2.2/DEBIAN/control’ for reading: No such file or directory

    Post a Reply
  8. Fixed with:

    mv TIVsm-API-6.2.2/debian TIVsm-API-6.2.2/DEBIAN

    mv TIVsm-BA-6.2.2/debian TIVsm-BA-6.2.2/DEBIAN

    Post a Reply
  9. Rocko,
    thanks for the nice recipe.
    I am trying to get TSM version 6.2.2 running under Ubuntu 11.04. That seems to work, only I get the message
    that libgpfs.so is missing when I try to start the scheduler dsmc.

    libgpfs.so is installed at /opt/tivoli/tsm/client/api/bin/libgpfs.so

    any hints on how I can tell my machine to look for it in the right place?

    Andreas

    Post a Reply
    • Andreas,

      so the problem is when you start the scheduler dsmc? meaning you “automatic”? did you do the manual back up first? if not it doesn’t work!!!

      Post a Reply
  10. @ Andreas

    type:
    ldconfig /usr/lib/libgpfs.so

    Post a Reply

Leave a Reply / Comment / Opinion :)

%d bloggers like this: