meta data for this page
  •  

TSM szerver telepítés

  • TSM instance könyvtársturktúra (DB, Prilog, Archlog, stb…) létrehozása, jogok
  • 32 MB for the /var directory
  • 7 GB for the installation directory
  • 2 GB for the /tmp directory
  • 2 GB in the home directory
  • 2 GB for the shared resources area
  • Archlog = 3x actlog
  • Instance user, csoport létrehozása:
groupadd tsmsrvrs
useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
passwd tsminst1
  • Linux /etc/security/limits.conf:
  tsminst1            soft   nofile          10240
  tsminst1            hard   nofile          10240
  • AIX /etc/security/limits:
  default
        fsize = -1
        cpu = -1
        data = -1
        data_hard = -1
        rss = -1
        rss_hard = -1
        nofiles = 4000
  • Szerver bináris feltelepítése
# ./install.sh -g -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"
  • DB2 instance létrehozása, beállítása:
# /opt/tivoli/tsm/db2/instance/db2icrt -a SERVER -s ese -u tsminst1 tsminst1 #Linux
# /opt/tivoli/tsm/db2/instance/db2icrt -a server -u instance_name instance_name #AIX
$ db2 update dbm cfg using dftdbpath /home/tsminst1
$ db2set -i tsminst1 DB2CODEPAGE=819
$ db2set -i tsminst1 DB2NOEXITLIST=ON # v7?
  • TSM szerver adatbázis formázása:
$ /opt/tivoli/tsm/server/bin/dsmserv format dbdir=/tsm/tsmdb01,/tsm/tsmdb02,/tsm/tsmdb03,/tsm/tsmdb04 activelogsize=16384 activelogdir=/tsm/prilog mirrorlogdir=/tsm/prilogm archlogdir=/tsm/archlog archfail=/tsm/archlogfail
  • dsmserv.opt beállítása
  • Inittab bejegyzés létrehozása:
:tsminst1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsm -i /home/tsminst1 -q >/dev/console 2>&1
  • TSM DB Backup beállítása:

/home/tsm/dsmserv.opt

COMMTIMEOUT     600
IDLETIMEOUT     30

COMMTIMEOUT     60000
DNSLOOKUP       NO
IDLETIMEOUT     180
REPORTRETRIEVE  yes
EXPINTERVAL     0
ACTIVELOGSize   5120

VOLHISTORY      /home/tsminst1/volhist.out
DEVCONFIG       /home/tsminst1/devconf.out

ARCHFAILOVERLOGDirectory    /tsm/faillog
ACTIVELOGDirectory          /tsm/log
ARCHLOGDirectory            /tsm/archlog

/usr/tivoli/tsm/client/api/bin64/dsm.sys (v7: /opt/tivoli/tsm/server/bin/dbbkapi/dsm.sys):

SErvername 	TSMDBMGR_TSMINST1
  COMMMETHOD	tcpip
  TCPSERVERADDRESS	localhost
  TCPPORT		1500
  PASSWORDACCESS	generate
  PASSWORDDIR	/home/tsminst1
  ERRORLOGNAME	/home/tsminst1/tsmdbmgr.log
  nodename	$$_TSMDBMGR_$$

/home/tsminst1/tsmdbmgr.opt:

  SErvername 	TSMDBMGR_TSMINST1

/home/tsminst1/.profile:

  if [ -f /home/tsminst1/sqllib/db2profile ]; then
    . /home/tsminst1/sqllib/db2profile
  fi

/home/tsminst1/sqllib/userprofile:

  LD_LIBRARY_PATH=/opt/tivoli/tsm/server/bin/dbbkapi:/usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
  export DSMI_CONFIG=/home/tsminst1/tsmdbmgr.opt
  export DSMI_DIR=/usr/tivoli/tsm/client/api/bin64 # (v7: /opt/tivoli/tsm/server/bin/dbbkapi)
  export DSMI_LOG=/home/tsminst1
  export LD_LIBRARY_PATH

/home/tsm/sqllib/usercshrc:

setenv LD_LIBRARY_PATH /opt/tivoli/tsm/server/bin/dbbkapi:/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH

Jelszó elmentése (jelszó: TSMDBMGR):

# . /home/tsminst1/.profile
# /home/tsminst1/sqllib/adsm/dsmapipw
# rm /home/tsminst1/tsmdbmgr.log
# chown tsminst1.tsmsrvs /home/tsminst1/TSM.PWD