SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

tivolilinuxclient

Tivoli Linux Client

Installing and configuring the tsm client software on linux.

Download

Download the latest software from the IBM website and make sure it's in /tmp/tivoli

Install Software

cd /tmp/tivoli
tar -xf <filename>
rpm -i TIVsm-API.i386.rpm
rpm -i TIVsm-BA.i386.rpm

Config software

Start-stop script installation

cp tivolitsm /etc/init.d/tivolitsm
chmod +x /etc/init.d/tivolitsm

Setup config files

cp dsm.* /opt/tivoli/tsm/client/ba/bin/.

Edit files for correct filename

vi /opt/tivoli/tsm/client/ba/bin/dsm.sys

Replace “x” by the nodename Start tivoli on boot

chkconfig tivolitsm on

Start tivoli and setup the nodename and password by following the prompts

dsmc

Check the schedule

q sched
quit

Start the scheduler

/etc/init.d/tivolitsm start

References

tivolitsm:

#! /bin/sh
# Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# init.d/tivolitsm
#
#   and symbolic its link
#
### BEGIN INIT INFO
# Provides: tivolitsm
# Required-Start: $remote_fs $time
# X-UnitedLinux-Should-Start: $syslog $named
# Required-Stop:
# Default-Start:  3 5
# Default-Stop:   0 1 2 6
# Description:    Start Tivoli Background Backup Agent
### END INIT INFO

# Source SuSE config
. /etc/rc.status

TSM_BIN=/opt/tivoli/tsm/client/ba/bin/dsmc

test -x $TSM_BIN || exit 5

# Shell functions sourced from /etc/rc.status:
#      rc_check         check and set local and overall rc status
#      rc_status        check and set local and overall rc status
#      rc_status -v     ditto but be verbose in local rc status
#      rc_status -v -r  ditto and clear the local rc status
#      rc_failed        set local and overall rc status to failed
#      rc_reset         clear local rc status (overall remains)
#      rc_exit          exit appropriate to overall rc status

# First reset status of this service
rc_reset

# Return values acc. to LSB for all commands but status:
# 0 - success
# 1 - misc error
# 2 - invalid or excess args
# 3 - unimplemented feature (e.g. reload)
# 4 - insufficient privilege
# 5 - program not installed
# 6 - program not configured
#
# Note that starting an already running service, stopping
# or restarting a not-running service as well as the restart
# with force-reload (in case signalling is not supported) are
# considered a success.

case `/bin/uname -r` in
    0.*|1.*|2.0.*|2.1.*)
        echo -n "Tivoli needs at least kernel version 2.2."
        rc_status -s
        exit 1
    ;;
esac

case "$1" in
    start)
        echo -n "Starting Tivoli Background Backup Agent daemon"
        startproc $TSM_BIN sched 1>/dev/null 2>/dev/null

        # Remember status and be verbose
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down Tivoli Background Backup Agent deamon"
        ## Stop daemons with killproc(8) and if this fails
        ## set echo the echo return value.

        killproc -TERM $TSM_BIN

        # Remember status and be verbose
        rc_status -v
        ;;
    restart)
        ## Stop the service and regardless of whether it was
        ## running or not, start it again.
        $0 stop
        $0 start

        # Remember status and be quiet
        rc_status
        ;;
    force-reload)
        ## Signal the daemon to reload its config. Most daemons
        ## do this on signal 1 (SIGHUP).
        ## If it does not support it, restart.

        echo "Reload Tivoli Background Backup Agent"
        ## if it supports it:
        #killproc -HUP $TSM_BIN
        #rc_status -v
        $0 stop  &&  $0 start
        rc_status
        ;;
    reload)
        ## Like force-reload, but if daemon does not support
        ## signalling, do nothing (!)

        # If it supports signalling:
        echo -n "Reload Tivoli Background Backup Agent"
        rc_failed 3
        rc_status -v
        ;;
    status)
        echo -n "Checking for Tivoli Background Backup Agent daemon: "
        checkproc $TSM_BIN
        rc_status -v
        ;;
    probe)
        ## Optional: Probe for the necessity of a reload,
        ## give out the argument which is required for a reload.
        ;;
    *)
        echo "Usage: $0 {start|stop|status|restart|force-reload|reload|probe}"
        exit 1
        ;;
esac
rc_exit

dsm.sys:

SErvername <backup server node name>
   COMMmethod         TCPip
   TCPPort            1500
   TCPServeraddress   <server dns name>

NODENAME x
   
SCHEDMODE polling
SCHEDLOGRETENTION 60

PASSWORDACCESS GENERATE

SCHEDLOGNAME /var/log/dsmsched.log
ERRORLOGNAME /var/log/dsmerror.log

dsm.opt:

************************************************************************
* IBM Tivoli Storage Manager                                           *
*                                                                      *
************************************************************************

SERVERNAM <backup server node name>
You could leave a comment if you were logged in.
tivolilinuxclient.txt · Last modified: 2021/09/24 00:25 (external edit)