You are on page 1of 27

TDP for SQL Client Install and configuration

procedure

The following procedure is to be used for configuring the TDP client used to
backup the MS SQL server on a windows server. This procedure assumes that
the “TSM Backup Archive Client Install and configuration procedure” was
fallowed to configure the TSM client.

1. Installation:

Locate the following necessary elements to configure the MS SQL backup


client:

a. The latest version of TSM SQL package. Check if the OS is X32 or X64
bits, and chose the appropriate package

b. The TDP for SQL license key that is stored in the sqlclient.lic file

c. The latest “Batch Files” directory that contains the necessary scripts to
perform full and log SQL backups.

d. A node name is configured on the TSM server for the SQL backups.

e. The password for the node is provided.

f. Network firewalls allow traffic between the SQL server and the TSM
server on port 1500

g. The SQL full and log backup is scheduled for this node after this
procedure is done.
Execute the TSM for SQL package and change the “Save files in folder:” field
to c:\tsm_images\sql path:

Click Next to continue:


Chose the installation language (English (United States)) and click Ok:

The installation process will check for additional components needed for the
installation and it will install them. Click Install to continue:
Once the installation of additional components is finished, the TSM for SQL
client install begins. Click Next to continue:
Read and accept the License Agreement, and click Next to continue:

Chose the installation path for the TDP client. Keep the default option
c:\program files\Tivoli\TSM. If the default destination is changed pay
attention to future configuration steps to apply to the same path. Click Next
to continue:

Click Install to begin the process:

Click Finish to end the installation process:


2. Configuring the TDP for SQL client

Locate the sqlclient.lic file and copy the file (right click on file then copy, or
CTRL+C)

Browse to the installation path c:\program files\Tivoli\TSM\TDPSql\ :


Paste the license file in the installation folder:

Copy the file tdpsenu.txt and paste it in the same directory:


Rename the file “Copy of tdpsenu.txt” to “tdpsenz.txt”:

Copy the file tdpsenu.hlp in the same folder:


Rename the file “Copy of tdpsenu.hlp” to “tdpsenz.hlp”:

Locate and copy the file tdpsenu.dll in the same folder:


Rename the file “Copy of tdpsenu.dll” to “tdpsenz.dll”:

Locate file dsm.smp and rename the file to dsm.opt:


Double click the new file dsm.opt and chose Select the program from a list:

Use Notepad to edit the file:


Modify the Nodename to your sql server nodename:

The name should finish in _SQL:


Modify the TCPServeraddress from xx.xx.xx.xx to the TSM server name or ip
number (use skytsm01):

Use skytsm01 to connect to the corporate tsm server:


Once the above modifications are save (File, Save), start the TDP client, Start
/ Tivoli Storage Manager / Data Protection for Microsoft SQL Server / SQL
Client - GUI

If all the configuration above was properly done the client starts. Check the
connection to the SQL server, by expanding the SQL Server tree. Check if the
databases are presented:
Check the TSM server connection by clicking on the Restore Database tab,
and expand the SQL Servers again.

Provide the password if asked:


If the message “No SQL Servers have been backed up yet.” is displayed, the
connection was successful:

Close the TDP client and Copy the directory “Batch Files” into the c: drive
root:
Make sure the path of the directory is c:\Batch Files\ or else the backup will
not work:

Check if the files sqlfull.cmd and sqllog.cmd are present in the directory

c:\Batch Files\ :
Start the TSM client Start / Tivoli Storage Manager / Backup Archive – GUI :

Click Utilities tab, and chose Setup Wizard:


Mark the option “Help me configure the TSM client Scheduler” :
Select Install a new or additional scheduler and click Next:

Name the Scheduler Windows Service : TSM SQL Scheduler . Click Next to
continue:
Change the path to the dsm.opt file. Click browse, and navigate to the TDP
SQL dsm.opt file configured above:

The default path is c:\program files\tivoli\TSM\TDPSql\dsm.opt :


Click next to continue once the path is correct:

The node name should be auto-completed. Verify the node name and
provide the password. Verify the “Contact the TSM Server to validate
password” is selected. Click Next to continue:
Verify the login options are properly set. Verify if the field “Automatically
when Windows boots” is selected. Click Next to continue:

Change the log file and the error file to point to the TDP SQL path. Change
the baclient part of path to TDPsql . Do not click Browse. Click Next once
both the log and error paths are modified:
Select option Yes to start the service upon completion.
Click Finish to conclude the configuration:

If the Scheduler service successfully installed message is presented, the


configuration was successful:
Additional checks:

a. Verify if all the SQL databases have transaction logs enabled. Exclude
the once that are not by editing the dsm.opt file in the c:\program
files\Tivoli\TSM\TDPSql\ folder. There are examples at the end of the
file how to do this.

b. Verify the sqlfull.cmd and sqllog.cmd files from the c:\Batch Files\
folder that have the proper destination folders setup. Also verify if all
the databases are included in the full and log backup.

c. Verify the dsmsched.log file in the c:\program files\Tivoli\TSM\TDPSql\


folder that it has information about the next scheduler. If the file is
empty, contact the TSM admin to schedule the backup.

You might also like