The configuration program of Cristie TBMR includes creating a file that records how your system is built, e.g. amount of RAM, CPU, number of disks, filesystems, OS level etc. It is imperative that this file is kept up to date to reflect any changes to your systems.
With the Pre-Schedule command the configuration can run automatically before the Spectrum Protect backup, this way the config is always up to date.
Windows
In order to execute tbmrcfg.exe as a pre-schedule command for your Windows Spectrum Protect TSM incremental backups, you need to add a line to the dsm.opt file of the system you are protecting.
Open the dsm.opt file and enter the content below
PRESCHEDULECMD 'C:\"Program Files"\Cristie\TBMR\tbmrcfg.exe'
NOTE: please notice the ’ and ’ at the beginning and end of the path. These are required for the program to run correctly.
Save the file
The next time Spectrum Protect TSM triggers a backup of the system, the tbmrcfg program will run first to update the Cristie configuration file.
Linux
In order to execute tbmrcfg as a pre-schedule command for your Linux Spectrum Protect TSM incremental backups, you need to add a line to your dsm.sys, and create the script on the system you are protecting.
Please make sure your Spectrum Protect TSM backups are being run as a user with Root access:
Create a script called tbmrcfg.sh and copy it to ‘/etc/cbmr/’ with the content below
SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/root/bin:
tbmrcfg
Modify /opt/tivoli/tsm/client/ba/bin/dsm.sys: and add the content below
PRESCHEDULECMD '/etc/cristie/tbmrcfg.sh'
NOTE: please notice the ’ and ’ at the beginning and end of the path. These are required for the program to run correctly.
To find the PATH variable of your Linux system run the below in a terminal
$PATH
e.g.
The next time Spectrum Protect TSM triggers a backup of the system, the tbmrcfg program will run first to update the Cristie configuration file.