Backup services
| GSI | Biophysics | Biophysics documentation |

Configure mksysb backup

/etc/exclude.rootvg lists filesystems not to be backed up:
^./u/
^./nfs/
^./usr/lpp/LoadL/  # ATTENTION: remove this entry for the loadl host (currently biori6y)
^./s/bio/
^./d/bio/
^./slocal/
When using
smit[ty] - Backup the system
toggle the appropriate switch.
Note, however, that a tape "boot record" must be smaller than about 24k 512byte-blocks in order to allow booting from that tape. Boot images can be shrinked by removing unnecessary driver software (ATM adapters, unused GXTxxxx adapters, etc.) prior to backup.
Note further, that backups from mirrored rootvgs can only be restored (with reasonable effort) to target systems which are mirrored as well, i.e. have enough disks. At installation time, all target disks which are necessary to restore the mirrored rootvg must be selected.

Configure the ADSM/TSM backup client

  1. the machine name must be known to the TSM server (M.Feyerabend@gsi.de)
  2. /usr/tivoli/tsm/client/ba/bin/dsm.sys (/usr/lpp/adsm/bin/dsm.sys, respectively ) should look like:
    Servername           ADSM
      TCPServeraddress   ADSM
      TCPPort            1500
      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
    
  3. The file /usr/tivoli/tsm/client/ba/bin/dsm.opt (/usr/lpp/adsm/bin/dsm.opt, respectively ) tells what to backup (example):
     SErvername      ADSM
     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
    
  4. 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.*
    
  5. 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 
    
  6. 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 &
    
  7. 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:
    /usr/tivoli/tsm/client/ba/bin/dsmc sched -verbose > /dev/null 2>&1 &
    

| GSI | Biophysics | Biophysics documentation |
Last update: 24-Jul-2006, M.Kraemer