30
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.

TDP for SQL Client Install and Configuration Procedure

  • Upload
    lidra

  • View
    3.610

  • Download
    2

Embed Size (px)

Citation preview

Page 1: 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 filec. 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 1500g. The SQL full and log backup is scheduled for this node after this procedure is done.

Page 2: 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: 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: 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:

Read and accept the License Agreement, and click Next to continue:

Page 5: TDP for SQL Client Install and Configuration Procedure

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:

Page 6: TDP for SQL Client Install and Configuration Procedure

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)

Page 7: TDP for SQL Client Install and Configuration Procedure

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

Paste the license file in the installation folder:

Page 8: TDP for SQL Client Install and Configuration Procedure

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

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

Page 9: TDP for SQL Client Install and Configuration Procedure

Copy the file tdpsenu.hlp in the same folder:

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

Page 10: TDP for SQL Client Install and Configuration Procedure

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

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

Page 11: TDP for SQL Client Install and Configuration Procedure

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:

Page 12: TDP for SQL Client Install and Configuration Procedure

Use Notepad to edit the file:

Modify the Nodename to your sql server nodename:

Page 13: TDP for SQL Client Install and Configuration Procedure

The name should finish in _SQL:

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

Page 14: TDP for SQL Client Install and Configuration Procedure

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:

Page 15: 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 16: 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 17: 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 18: 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 19: TDP for SQL Client Install and Configuration Procedure

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

Select Install a new or additional scheduler and click Next:

Page 20: TDP for SQL Client Install and Configuration Procedure

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:

Page 21: TDP for SQL Client Install and Configuration Procedure

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

Click next to continue once the path is correct:

Page 22: TDP for SQL Client Install and Configuration Procedure

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:

Page 23: TDP for SQL Client Install and Configuration Procedure

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 24: TDP for SQL Client Install and Configuration Procedure

Select option Yes to start the service upon completion.

Click Finish to conclude the configuration:

Page 25: TDP for SQL Client Install and Configuration Procedure

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.