Question & Answer
Question
When setting up the Tivoli Storage Manager Scheduler for Data Protection for Exchange, how do I add Data Protection for Exchange services to the Microsoft Failover Cluster?
Cause
Windows 2003 have different steps for adding cluster administration services than Windows 2008 and Windows 2012
Answer
Add a Data Protection for Exchange resource to the Microsoft Failover Cluster Management in Windows 2008, Windows 2008 R2, Windows 2012 or Windows 2012 R2 cluster environments by completing the following tasks:
This example shows how to add the resource when setting up the Tivoli Storage Manager Scheduler for Data Protection for Exchange. You must use Exchange Server to add a Data Protection for Exchange service to the Microsoft Failover Cluster Management.
I. Follow the steps in the section "Complete these tasks on the Tivoli Storage Manger server" in the "Using the Tivoli Storage Manger Scheduler" topic of the Data Protection for Exchange Installation & User's Guide.
II. Ensure that the Exchange Server has the following environment:
- The Tivoli Storage Manager Backup-Archive client is installed on the Exchange Server in this directory:
- Data Protection for Exchange is installed on the Exchange Server in this directory:
- The communications option in the dsm.opt option files located in these directories point to the Tivoli Storage Manager server to which the Exchange storage groups are to be backed up.
- The communication options in the dsm.opt file points to the correct Tivoli Storage Manger server.
- The Tivoli Storage Manger server is running.
- d:\Program Files\Tivoli\TSM\baclient
- d:\Program Files\Tivoli\TSM\TDPExchange
The options file that is defined for Data Protection for Exchange is used by the scheduler when validating the node and password. The options file is also used when contacting the Tivoli Storage Manager for schedule information.
If this message displays:
A communications error occurred connecting to the Tivoli Storage Manger Server
then ensure that the following conditions are met:
Ensure that the following conditions are met:
- The secondary node of the cluster must have ownership of the Exchange virtual server.
- The primary node of the cluster must contain the command file on the file share used to create the scheduler service.
- The name of the service created by the dsmcutil inst command and the cluster service must have the same logon authority
IV. Copy the options file (dsm.opt in the dsmcutil inst command shown in Step V) to a shared drive associated with the virtual server, for example:
/optfile:"x:\dsm.opt"
V. Complete the following steps (1-4) on both nodes of the Exchange Server:
1. Login using a Windows account that has administrative privileges.
2. Open a Windows command prompt window.
3. In the command prompt window, issue the following command:
- cd /d d:\"Program Files"\Tivoli\TSM\baclient
You must place quotation marks around the section of a directory pathname that contains a space, for example:
d:\"Program Files"\Tivoli\TSM\baclient
You can also use the short form of a pathname by placing a tilde ("~") and unique identifier after the first six characters in the pathname. An example of the short form of the pathname is shown below:
d:\Progra~1\Tivoli\TSM\baclient
Note: If a Tivoli Storage Manger scheduler is already installed on your computer (for the regular backups of the Windows system), you must install another scheduler (with a unique name) to run the schedules defined for Data Protection for Exchange. The Tivoli Storage Manger scheduler must have a different node name from the regular Tivoli Storage Manger backup-archive client.
4. In the command prompt window, issue the following command:
- dsmcutil inst /name:"Data Protection for Exchange Scheduler" /node:mynode /password:mypassword /autostart:no clusternode:yes /clustername:myclustername /clientdir:"d:\"Program Files"\Tivoli\TSM\baclient" /optfile:"d:\Program Files\Tivoli\TSM\TDPExchange\dsm.opt" /startnow:no
The Windows ID that is used to start the scheduler service may require that you specify the client dsmcutil options ntdomain, ntaccount, and ntpassword in this command.
Note: To make corrections after installing a service, follow these steps:
a. Remove the service by issuing the dsmcutil remove command, for example:
- dsmcutil remove /name:"Data Protection for Exchange Scheduler"
c. Install the service again with the dsmcutil inst command.
After you have completed these steps (1-4) on both nodes, the Data Protection for Exchange scheduler service is ready to be tied to a cluster group.
The Tivoli Storage Manager scheduler is now installed but not started.
Complete the following tasks on the Microsoft Failover Cluster Management console that is included with Windows 2008:
1. Start the Failover Cluster Management Console:
Click Start–>Adminstrative Tools–>Failover Cluster Management
2. Create a new resource to represent the Data Protection for Exchange scheduler by following these steps:
a. Expand your cluster in the tree view pane, then expand the Services and Applications node.
b. Right-click your Exchange Server Cluster Group and select Add a resource->Generic Service. The New Resource Wizard window opens.
c. Select the Data Protection for Exchange service from the list of services, and click Next.
d. A Confirmation window opens. Click Next.
e. A Summary window opens, which states whether the resource was created successfully. Click Finish.
3. Modify the new resource by following these steps:
a. In the Actions pane, expand Other Resources, right-click the Data Protection for Exchange Scheduler resource, and select Properties.
b. Click the Registry Replication tab, then click Add. The Registry Key window opens. Type the exact text for the key where the Data Protection for Exchange node name is listed, then click OK.
This is the format of text for the key:
SOFTWARE\IBM\ADSM\CurrentVersion\Nodes\<nodename>\<tsm-server-name>\
Replace <nodename> with your Data Protection for Exchange node name, for example:
SOFTWARE\IBM\ADSM\CurrentVersion\Nodes\MYNODE\TSMServerName\
4. Open a Windows command prompt window. From the command prompt window, issue the following command to change to the Data Protection for Exchange installation directory:
cd /d d:\Program Files\Tivoli\TSM\TDPExchange
5. Verify that the clusternode option in the dsm.opt file is set to yes, then issue the following command:
tdpexcc query tsm /tsmpassword=mypasword
This ensures that the correct password is stored in the registry, and allows the scheduler to properly connect automatically to the Tivoli Storage Manager server.
6 . In the Actions pane, expand Other Resources, right-click the Data Protection for Exchange Scheduler resource, and select Bring this resource online.
VII. After the new resource is online, move the Group from the secondary node to the primary node cluster. Verify that the Data Protection for Exchange scheduler service on the primary node has started.
VIII. Your system is now ready to run the scheduled full Legacy backups of the Exchange storage groups
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21445826