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.

37285684 TDP for SQL Client Install and Configuration Procedure

Embed Size (px)

Citation preview

Page 1: 37285684 TDP for SQL Client Install and Configuration Procedure

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.

Page 2: 37285684 TDP for SQL Client Install and Configuration Procedure

Execute the TSM for SQL package and change the “Save files in folder:” field to c:\tsm_images\sql path:

Click Next to continue:

Page 3: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 4: 37285684 TDP for SQL Client Install and Configuration Procedure

Once the installation of additional components is finished, the TSM for SQL client install begins. Click Next to continue:

Page 5: 37285684 TDP for SQL Client Install and Configuration Procedure

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

Page 6: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 7: 37285684 TDP for SQL Client Install and Configuration Procedure

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\ :

Page 8: 37285684 TDP for SQL Client Install and Configuration Procedure

Paste the license file in the installation folder:

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

Page 9: 37285684 TDP for SQL Client Install and Configuration Procedure

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

Copy the file tdpsenu.hlp in the same folder:

Page 10: 37285684 TDP for SQL Client Install and Configuration Procedure

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

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

Page 11: 37285684 TDP for SQL Client Install and Configuration Procedure

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

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

Page 12: 37285684 TDP for SQL Client Install and Configuration Procedure

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

Use Notepad to edit the file:

Page 13: 37285684 TDP for SQL Client Install and Configuration Procedure

Modify the Nodename to your sql server nodename:

The name should finish in _SQL:

Page 14: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 15: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 16: 37285684 TDP for SQL Client Install and Configuration Procedure

Check the TSM server connection by clicking on the Restore Database tab, and expand the SQL Servers again.

Provide the password if asked:

Page 17: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 18: 37285684 TDP for SQL Client Install and Configuration Procedure

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\ :

Page 19: 37285684 TDP for SQL Client Install and Configuration Procedure

Start the TSM client Start / Tivoli Storage Manager / Backup Archive – GUI :

Click Utilities tab, and chose Setup Wizard:

Page 20: 37285684 TDP for SQL Client Install and Configuration Procedure

Mark the option “Help me configure the TSM client Scheduler” :

Page 21: 37285684 TDP for SQL Client Install and Configuration Procedure

Select Install a new or additional scheduler and click Next:

Name the Scheduler Windows Service : TSM SQL Scheduler . Click Next to continue:

Page 22: 37285684 TDP for SQL Client Install and Configuration Procedure

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 :

Page 23: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 24: 37285684 TDP for SQL Client Install and Configuration Procedure

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:

Page 25: 37285684 TDP for SQL Client Install and Configuration Procedure

Select option Yes to start the service upon completion.

Page 26: 37285684 TDP for SQL Client Install and Configuration Procedure

Click Finish to conclude the configuration:

If the Scheduler service successfully installed message is presented, the configuration was successful:

Page 27: 37285684 TDP for SQL Client Install and Configuration Procedure

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.