User Tools

Site Tools


ds:backup_software

Backup software

Tivoli Storage Manager

Config files

/opt/tivoli/tsm/client/ba/bin/dsm.sys
SErvername         spi4
 
PASSWORDACCESS GENERATE   
 
*INCLEXCL "/opt/tivoli/tsm/client/ba/bin/archive.excl"
   COMPression        ON
   nodename           PC-Name
   COMMmethod         TCPip
   TCPPort            1554
   TCPServeraddress   spi4.gsi.de
   SCHEDLOGNAME       /var/log/dsmsched.log
   ERRORLOGNAME       /var/log/dsmerror.log
   SCHEDMODE          prompted  
   MANAGEDSERVICES    schedule
   TCPClientport      1501
   Webports           1581 1582
/opt/tivoli/tsm/client/ba/bin/dsm.opt
************************************************************************
* Tivoli Storage Manager                                               *
*                                                                      *
* Sample Client User Options file for UNIX (dsm.opt.smp)               *
************************************************************************
 
*  This file contains an option you can use to specify the TSM
*  server to contact if more than one is defined in your client
*  system options file (dsm.sys).  Copy dsm.opt.smp to dsm.opt.
*  If you enter a server name for the option below, remove the
*  leading asterisk (*).
 
************************************************************************
 
* SErvername       A server name defined in the dsm.sys file
 
SERVERNAME SPI4
GUITREEVIEWAFTERBACKUP YES
COMPRESSALWAYS YES
 
DOMAIN /
/opt/tivoli/tsm/client/ba/bin/archive.excl
exclude.dir /bin
exclude.dir /boot
exclude.dir /dev
exclude.dir /etc
exclude.dir /home
exclude.dir /lib
exclude.dir /lib64
exclude.dir /media
exclude.dir /opt
exclude.dir /proc
exclude.dir /root
exclude.dir /run
exclude.dir /sbin
exclude.dir /srv
exclude.dir /sys
exclude.dir /tmp
exclude.dir /usr
exclude.dir /var
exclude /*
exclude /mnt/*
 
exclude.dir /mnt/cdrom
exclude.dir /mnt/tsm
 
 
include /mnt/backup
include /mnt/backup/*

Firewall rules

/etc/firewalld/services/dsmcad.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>DSMCAD</short>
  <description>Tivoli Storage Manager</description>
  <port protocol="tcp" port="1501"/>
  <port protocol="tcp" port="1554"/>
  <port protocol="tcp" port="1581"/>
  <port protocol="tcp" port="1582"/>
</service>
cd /etc/firewalld/services
wget 'http://www-bd.gsi.de/dokuwiki/doku.php?do=export_code&id=ds:backup_software&codeblock=3' -O /etc/firewalld/services/dsmcad.xml
restorecon dsmcad.xml
chmod 640 dsmcad.xml
firewall-cmd --reload
firewall-cmd --add-service=dsmcad --permanent
firewall-cmd --add-service=dsmcad

Systemd startup script

/etc/systemd/system/dsmcad.service
[Unit]
Description=IBM Tivoli Storage Manager Client
Documentation=http://www-01.ibm.com/support/knowledgecenter/SSGSG7_7.1....
After=network.target
 
[Service]
Type=forking
GuessMainPID=no
ExecStart=/usr/bin/dsmcad
Restart=on-failure
 
[Install]
WantedBy=multi-user.target
systemctl enable dsmcad.service
systemctl start dsmcad.service

Password file

Ask for initial password from storage@gsi.de and change to own password using:

  • dsmc set password
ds/backup_software.txt · Last modified: 2023/03/16 16:15 by tobiashoffmann