tutor:Tivoli

From Dgiref
Jump to: navigation, search

Follow these steps to install Tivoli Storage Manager (http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=/com.ibm.itsmc.doc/baclients.html): Paths:

TIVsm-API.i386.rpm 	        /opt/tivoli/tsm/client/api/bin
TIVsm-API64.i386.rpm 	        /opt/tivoli/tsm/client/api/bin64
TIVsm-BA.i386.rpm 	        /opt/tivoli/tsm/client/ba
TIVsm-msg.<xx_XX>.i386.rpm 	/opt/tivoli/tsm/client/lang/<xx_XX>

Install

1. Login as the root user and mount the Tivoli Storage Manager UNIX client CD to /cdrom. 2. Change to the directory where the packages are stored: cd /cdrom/tsmcli/linux86

If the Tivoli Storage Manager UNIX client CD is not mounted to /cdrom, or if the packages are stored in a different directory (e.g. downloaded by ftp), change to the correct directory.

Note-icon.png
  
Make sure that you install these packages in the given order. This is required because the Tivoli Storage Manager API package is a prerequisite of the Backup-Archive client package. The Web client is an integral part of the backup-archive client package and cannot be installed without it.

3. Enter the following commands to install the 32-bit API and the Tivoli Storage Manager Backup-Archive (B/A) client. This will install the command-line and the administrative client:

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

4. Enter the following commands to install the 64-bit API and the Tivoli Storage Manager Backup-Archive client. This will install the command-line and the administrative client:

  • rpm -i TIVsm-API.i386.rpm (required for 32-bit and 64-bit)
  • rpm -i TIVsm-API64.i386.rpm (required for 64-bit only)
  • rpm -i TIVsm-BA.i386.rpm

5. The Tivoli Storage Manager default language is English. To install additional languages (optional), enter the commands listed for each additional language.


# prepare
yum -y install compat-libstdc++-33  
# install
wget http://ftp.rz.uni-karlsruhe.de/pub/tsm/rz/client/linux/x86/v552/install/5.5.2.7-TIV-TSMBAC-LinuxX86.tar
tar xfv 5.5.2.7-TIV-TSMBAC-LinuxX86.tar
rpm -ihv TIVsm-API.i386.rpm
rpm -ihv TIVsm-API64.rpm
 
# TSM Linux API64 installation complete.
# Be sure to set up the configuration files!
 
rpm -ihv TIVsm-BA.i386.rpm
# TSM Linux client installation complete.
# Be sure to set up the system configuration file before starting the client!

Configure

# configure
mkdir /usr/local/tsm
ln -s /usr/local/tsm/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
ln -s /usr/local/tsm/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
 
echo "ts:3:respawn:/usr/bin/dsmc schedule -servername=hb2" >> /etc/inittab
 
echo "\
********************************************************************************
*
* backup.inclexcl.template v1.5 (c) 22.3.1996 by Andreas Ley  (u) 6.3.2009
*
* Template for ADSM/TSM backup.inclexcl on LX22
*
 
********************************************************************************
*
* System-Dateien
*
 
* TSM-Passwortfile nicht in's Backup, da hier ggf. der Encryption Key drinsteht
exclude			/.../TSM.PWD
 
* ADSM- und TSM-Verzeichnis nicht in's Backup, um ggf. laufende
* Desaster-Recovery-Version nicht zu ueberschreiben
exclude			/usr/adsm/.../*
exclude			/opt/tivoli/tsm/.../*
include			/.../dsm.sys
include			/.../dsm.opt
include			/.../backup.inclexcl
 
* Kleine Baumschule
exclude.dir		/usr/machine
exclude.dir		/usr/segment
exclude.dir		/usr/common/machine
exclude.dir		/usr/common/segment
 
* Tmp-Verzeichnisse
exclude.dir		/tmp
exclude.dir		/usr/tmp
exclude.dir		/var/tmp
 
* Cache-Files von Systemprogrammen
exclude			/etc/ssh_random_seed
exclude			/usr/local/etc/locatedb*
 
* Mount tab, remote mount tab, export tab
exclude			/etc/mtab
 
* Werden bei jedem Booten aus /etc/rc.values generiert
exclude			/etc/src.csh
exclude			/etc/src.sh
 
* Log-Dateien
exclude			/var/adm/amd.log*
exclude.dir		/var/adm/autoop
exclude			/var/adm/coran.log
exclude.dir		/var/log
 
* Logs von ADSM bzw. TSM
exclude			/.../dsmerror.log
exclude			/.../dsmsched.log
 
* Mail log
exclude.dir		/var/exim/log
exclude.dir		/var/exim/run
exclude.dir		/var/exim/spool
 
* Apache logs
exclude.dir		/usr/local/etc/httpd/logs
 
* Printer Spooler, Requests-Verzeichnis
* (Fuer recovery wichtige Dateien muessen gesichert werden, z.B.
* [pq]status oder subdirectories unter request/)
exclude.dir		/var/spool/lpd
 
* /var/run enthaelt Dateien, die bei jedem Boot geloescht werden
* PID-Files, utmp, random seeds...
exclude.dir		/var/run
 
* Nach /nfs werden Verzeichnisse automatisch gemountetet
exclude.dir		/nfs
* In /home/sys etc. liegen die automatisch gemounteten Verzeichnisse
exclude.dir		/home/sys
exclude.dir		/home/ws
exclude.dir		/home/tmp
exclude.dir		/home/work
exclude.dir		/home/rzanw
exclude.dir		/home/vpp
exclude.dir		/home/rzgvm
exclude.dir		/home/rzgvmstripe
 
********************************************************************************
*
* Benutzer-Dateien
*
 
* Schweineliste
exclude			/.../Diskusage
 
* Korn Shell history files liegen in diversen tmp-Verzeichnissen
exclude			/.../.KSH_HIST*
 
* Typische timestamps und logs in Benutzer-Homeverzeichnissen
exclude			/.../.msgrc
exclude			/.../.news_time
exclude			/.../.rnlock
exclude			/.../.sh_history
exclude			/.../.xsessionlog
exclude			/.../.pine-debug?
 
* Browser- und andere Anwendungs-Caches
exclude			/.../.netscape/history.*
exclude.dir		/.../.netscape-cache
exclude.dir		/.../.netscape/cache
exclude.dir		/.../.netscape/xover-cache
exclude.dir		/.../.mozilla/.../Cache
exclude.dir		/.../.mozilla-thunderbird/.../Cache
exclude.dir		/.../Mozilla/.../Cache
exclude.dir		/.../.mozilla/.../Cache.Trash
exclude.dir		/.../Mozilla/.../Cache.Trash
exclude.dir		/.../.opera/cache4
exclude.dir		/.../Opera/.../profile/cache4
exclude.dir		/.../.microsoft/TempInternetFiles
exclude.dir		/.../.evolution/.../cache
exclude.dir		/.../.kde/.../cache
exclude.dir		/.../.kde2/.../cache
exclude.dir		/.../.kde3/.../cache
exclude.dir		/.../.kde4/.../cache
exclude.dir		/.../.gnome2/epiphany/favicon_cache
exclude.dir		/.../.MCOM-cache
exclude.dir		/.../.mcop/trader-cache
exclude.dir		/.../.jpi_cache
exclude.dir		/.../.gftp/cache
exclude.dir		/.../.xftpcache
exclude.dir		/.../.grail/cache
exclude.dir		/.../.Mathematica/.../Caches
exclude.dir		/.../.adobe/Acrobat/.../Cache
exclude.dir		/.../Adobe/Acrobat/.../Cache
exclude.dir		/.../.adobe/Flash_Player/AssetCache
exclude.dir		/.../Adobe/Flash Player/AssetCache
exclude.dir		/.../.beagle/TextCache
exclude.dir		/.../.nx/temp
exclude.dir		/.../.nx/cache-*
exclude.dir		/.../.nx/C-*
exclude.dir		/.../.nx/S-*
exclude.dir		/.../.thumbnails
 
* Inhalte diverserer Muelleimer
exclude.dir		/.../.Trash
exclude.dir		/.../.dt/Trash
exclude.dir		/.../.local/share/Trash
exclude.dir		/.../Desktop/Trash
exclude.dir		/.../Desktop/Mülleimer
exclude.dir		/.../RECYCLER
 
* Abgestuerzte Programme hinterlassen Cores und aehnliches
exclude			/.../core
exclude			/.../DEADJOE
 
* NFS-Relikte
exclude			/.../.nfs*
 
* X11 cookies
exclude			/.../.Xauthority
exclude			/.../.ICEauthority
 
* SSH: Startwert fuer Zufallszahlengenerator, Agent-Steuerdateien
exclude			/.../.ssh/random_seed
exclude			/.../.ssh/agent-*
 
* Bereits komprimierte Dateien von weiterer Komprimierung ausnehmen
exclude.compression	/.../*.z
exclude.compression	/.../*.Z
exclude.compression	/.../*.gz
exclude.compression	/.../*.GZ
exclude.compression	/.../*.bz
exclude.compression	/.../*.BZ
exclude.compression	/.../*.bz2
exclude.compression	/.../*.BZ2
exclude.compression	/.../*.7z
exclude.compression	/.../*.7Z
exclude.compression	/.../*.tgz
exclude.compression	/.../*.TGZ
exclude.compression	/.../*.tbz2
exclude.compression	/.../*.TBZ2
exclude.compression	/.../*.gif
exclude.compression	/.../*.GIF
exclude.compression	/.../*.jpg
exclude.compression	/.../*.JPG
exclude.compression	/.../*.mpg
exclude.compression	/.../*.MPG
exclude.compression	/.../*.wmv
exclude.compression	/.../*.WMV
exclude.compression	/.../*.mp3
exclude.compression	/.../*.MP3
exclude.compression	/.../*.wma
exclude.compression	/.../*.WMA
exclude.compression	/.../*.zip
exclude.compression	/.../*.ZIP
exclude.compression	/.../*.rar
exclude.compression	/.../*.RAR
exclude.compression	/.../*.pdf
exclude.compression	/.../*.PDF
exclude.compression	/.../*.cdr
exclude.compression	/.../*.CDR
exclude.compression	/.../*.ppt
exclude.compression	/.../*.PPT
exclude.compression	/.../*.pst
exclude.compression	/.../*.PST
exclude.compression	/.../*.rpm
exclude.compression	/.../*.deb
" > /usr/local/tsm/backup.inclexcl
 
echo "\
Servername              hb2
Nodename                dgireffs1
TCPPort                 1500
COMMmethod              TCPip
TCPServeraddress        hb2.fzk.de
SCHEDLOGname            /var/log/dsmsched.log
ERRORLOGname            /var/log/dsmerror.log
SCHEDLOGretention       14 D
PASSWORDACCESS          GENERATE
tcpwindowsize           2048
tcpbuffsize             32
inclexcl             /usr/local/tsm/backup.inclexcl
" > /usr/local/tsm/dsm.sys
 
echo "\
Servername hb2
 
  Quiet
  SUBdir OFF
  TAPEP NO
  DATE 4
  NUM 5
* COMPRESSALWAYS YES
  FOLLOWSYMBOLIC NO
  ARCHSYMLINKASFILE NO
  MEMORYEFFICIENTBACKUP YES
  DOMAIN "/"
" > /usr/local/tsm/dsm.opt

Commands

Personal tools