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

[social_share style=”circle” align=”horizontal” heading_align=”inline” text=”” heading=”” facebook=”1″ twitter=”1″ google_plus=”1″ linkedin=”1″ pinterest=”1″ link=”” /]

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

  • alien
  • libstdc++6
  • ksh
  • ia32-libs

For installing alien, libstdc++6 and ksh:

[code]~# apt-get install alien libstdc++6 ksh ia32-libs[/code]

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

[code]tar xvf[/code]

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

[code]cd TSM[/code]

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:

[code]alien -g TIVsm-API.i386.rpm TIVsm-BA.i386.rpm[/code]

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 )

[code]nano TIVsm-API-6.1.3/debian/control[/code]

And edit the text so that it looks like this:

[code]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

Now edit TIVsm-BA-6.1.3/debian/control

[code]nano TIVsm-BA-6.1.3/debian/control[/code]

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

[code]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

Now we will create the *.deb packages:

[code]dpkg -b TIVsm-API-6.1.3
dpkg -b TIVsm-BA-6.1.3[/code]

The above code will create an output similar to this:

[code]dpkg-deb: building package `tivsm-api’ in `TIVsm-API-6.1.3/.deb’.[/code]


[code]dpkg-deb: building package `tivsm-ba’ in `TIVsm-BA-6.1.3/.deb’.[/code]

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:

[code]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[/code]

Now we proceed to the installation:

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

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!!

Author: Rocko

Share This Post On


  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.


    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


    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

    [code]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 [/code]

    and also

    [code]cd /usr/lib
    ln -s /opt/tivoli/tsm/client/api/bin/
    ln -s /opt/tivoli/tsm/client/api/bin/
    ln -s /opt/tivoli/tsm/client/api/bin/[/code]

    check also if this files exist:

    and finally check this:
    [code]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.



    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.

    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 is missing when I try to start the scheduler dsmc. is installed at /opt/tivoli/tsm/client/api/bin/

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


    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

    ldconfig /usr/lib/

    Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>