- the machine name must be known to the
TSM
server
(M.Feyerabend@gsi.de)
-
/usr/tivoli/tsm/client/ba/bin/dsm.sys
(/usr/lpp/adsm/bin/dsm.sys
, respectively )
should look like:
* until July-2009:
Servername ADSM
TCPServeraddress ADSM
TCPPort 1500
* since July-2009:
Servername AIXTSM2
TCPServeraddress AIXTSM2
TCPPort 1530
PasswordAccess Generate
COMPression OFF
Inclexcl /usr/tivoli/tsm/client/ba/bin/archive.excl
SCHEDLOGNAME /var/adsm/dsmsched.log
SCHEDMODE prompted
TCPBuffsize 32
TCPWindowsize 24
* TXNByte 25600
SLOWINCREMENTAL OFF
*
* more than one server may be necessary to fetch back older archives:
*
Servername CLRI6B
TCPServeraddress slxtsm2.gsi.de
TCPPort 1500
nodename clri6b
PasswordAccess Generate
COMPression OFF
Inclexcl /usr/tivoli/tsm/client/ba/bin/archive.excl
SCHEDLOGNAME /var/adsm/dsmsched.log
SCHEDMODE prompted
TCPBuffsize 32
TCPWindowsize 24
SLOWINCREMENTAL OFF
-
The file
/usr/tivoli/tsm/client/ba/bin/dsm.opt
(/usr/lpp/adsm/bin/dsm.opt
, respectively )
tells what to backup (example):
* until July-2009:
Servername ADSM
* since July-2009:
Servername AIXTSM2
tapeprompt no
followsymbolic no
*uselargebuffers no
*Errorlogretention 90,s
*tracefile trace.out
*traceflags incr
domain /
domain /var
domain /opt
domain /apps # biori6y only
domain /local # tkrrs6* only
domain /cavea # tkrrs6y, tkrrs6z only
domain /xps # tkrrs6* only
domain /userfs/userb01 # biops5z only
domain /userfs/userb02 # biops5z only
domain /userfs/userb03 # biops5z only
domain /userfs/userb04 # biops5z only
domain /applfs/applb00 # biops5z only
-
The file
/usr/tivoli/tsm/client/ba/bin/archive.excl
(/usr/lpp/adsm/bin/archive.excl
, respectively )
tells what to exclude:
exclude /.../core
exclude /.../.netscape/cache/.../*
exclude /.../.netscape-cache/*
exclude /.../*.bak
exclude /.../smit.*
- Logfile
To enable a logging:
mkdir /var/adsm
then a logfile /var/adsm/dsmsched.log
will keep tsm
messages.
In order to save space in the /var
filesystem
a cron job should be scheduled e.g. at 3 a.m. to
rename the log file by appending a version number running from 0 through 5.
This way the last week's logs are kept.
crontab -e
should show something like
# 0 3 * * * /local/bin/newdsmlog >/dev/null # obsolete
5 3 * * * /opt/bin/logrotate.sh /var/adsm/dsmsched.log >/dev/null
- in
/etc/rc.local
:
For TSM
:
# start Back-up client
/usr/tivoli/tsm/client/ba/bin/dsmc sched -verbose > /dev/null 2>&1 &
For ADSM
(ancient):
# start Back-up client
/usr/lpp/adsm/bin/dsmc sched > /dev/null 2>&1 &
- To check if a backup was performed enter
dsmc q file
This is also needed once after a fresh installation to assign a password.
Usually it's the nodename itself (w/o "gsi.de"
)
In such a case stop the dsm
process (via kill
) and restart:
nohup /usr/tivoli/tsm/client/ba/bin/dsmc sched -verbose > /dev/null 2>&1 &