User Tools

Site Tools


ds:backup_software

This is an old revision of the document!


Backup software

Tivoli Storage Manager

Config files

/opt/tivoli/tsm/client/ba/bin/dsm.sys
************************************************************************
* Tivoli Storage Manager                                               *
*                                                                      *
* Sample Client System Options file for UNIX (dsm.sys.smp)             *
************************************************************************
 
*  This file contains the minimum options required to get started
*  using TSM.  Copy dsm.sys.smp to dsm.sys.  In the dsm.sys file,
*  enter the appropriate values for each option listed below and
*  remove the leading asterisk (*) for each one.
 
*  If your client node communicates with multiple TSM servers, be
*  sure to add a stanza, beginning with the SERVERNAME option, for
*  each additional server.
 
************************************************************************
 
SErvername  SERVER_NODE
 
   INCLEXCL "/opt/tivoli/tsm/client/ba/bin/archive.excl"
   PASSWORDAccess generate
   VIRTUALMOUNTPOINT /mnt/tsm
 
   COMPression        ON
   NODENAME           CLIENT_NODE
   COMMMethod         TCPip
   TCPPort            1500
   TCPServeraddress   server.address
   SCHEDLOGNAME       /var/log/tsm/dsmsched.log
   ERRORLOGNAME       /var/log/tsm/dsmerror.log
   SCHEDMODE          prompted
   MANAGEDSERVICES WEBCLIENT SCHEDULE
   TCPBuffsize        32
   TCPWindowsize      24
   webports           1700 1710
   httpport           1750
   tcpclientport      1760
/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 SERVER_NODE
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/tsm.xml
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>TSM</short>
  <description>Tivoli Storage Manager</description>
  <port protocol="tcp" port="1700"/>
  <port protocol="tcp" port="1710"/>
  <port protocol="tcp" port="1750"/>
  <port protocol="tcp" port="1760"/>
</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/tsm.xml
restorecon tsm.xml
chmod 640 tsm.xml
firewall-cmd --reload
firewall-cmd --add-service=tsm --permanent
firewall-cmd --add-service=tsm

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
ds/backup_software.1473068205.txt.gz · Last modified: 2016/09/05 11:36 by pmiedzik