Troubleshooting Content Manager and TSM Integration

Abstract

In this document we introduce various resources for troubleshooting problems with a Content Manager and TSM integration.

Contents

There are various resources for troubleshooting problems with a Content Manager and Tivoli Storage Manager (TSM) integration. By utilizing log files, traces, and the TSM Backup Archive client, you can quickly and easily resolve almost any configuration error. The following resources are discussed:

Resource Manager migrator log

TSM Client API log

TSM Backup Archive Client

TSM server

Resource Manager migrator logThe Resource Manager server contains a logging facility based upon the open source Log4J project. The logging facility consists of various XML files, each of which controls the level and location of logging for different parts of the Resource Manager server. The logging control file for the migrator process is named icmrm_migrator_logging.xml. This file is located, by default, in:

To obtain detailed debugging information, change the priority value from INFO to DEBUG. To send log messages to a file, change the appender-ref value from ASYNC to FILE. Restart the Resource Manager Web application and migrator process. Detailed messages concerning the migration of documents are logged in a file named icmrm.migrator.logfile. This file is located, by default, in:

C:\Program Files\WebSphere\AppServer\logs on Windows

/usr/WebSphere/AppServer/logs on AIX

/opt/WebSphere/AppServer/logs on Solaris

TSM Client API logWhile the Resource Manager logging facility is useful in determining that a problem does exist, it may not always be very helpful in telling you the exact details of what is causing the problem. For example, in certain situations, the Resource Manager logs may only contain information alluding to a connection problem with the TSM server. Details on what is causing the connection problem may not necessarily be in the Resource Manager log files.

The Resource Manager (and its processes) use the TSM Client APIs to communicate with the TSM server. By default, when an error occurs, the TSM Client APIs will log the error information in a file named dsierror.log. The information contained in this file proves invaluable in locating and resolving problems that deal solely with TSM, and have nothing to do with the Resource Manager configuration. Errors such as expired passwords and invalid management class names will be logged in this file.

Note: When troubleshooting a TSM integration problem, the dsierror.log file usually contains the cause of the error.

One common error that you may see in the dsierror.log file is that the dsm.opt file cannot be located. The TSM Client APIs use the DSMI_CONFIG variable to determine which option file to use. If there is a syntax error in the option file you specified, or if the file cannot be opened, then the TSM Client APIs will fall back to using the default option file name of dsm.opt. If you receive this type of message, you probably have a typo in your .opt file.

TSM Backup Archive ClientIn some situations, the Resource Manager and TSM Client API log files may indicate that an invalid TSM server configuration is keeping documents from being migrated. One of the easiest ways to test a TSM server configuration is to use the TSM Backup Archive Client to back up a file.

The TSM Backup Archive Client also uses a set of variables to determine which client option file to use. More specifically, the DSM_CONFIG environment is used by the TSM Backup Archive Client to determine which client option file to use. This variable should point to the client option file used by the Resource Manager. Doing so will ensure that the backup client is using the same TSM configuration as the Resource Manager.

If the TSM Backup Archive Client fails to back up a file, then the Resource Manager server will also fail. (Remember, the Resource Manager server does not archive files; it backs up files.) This indicates a problem with the TSM server configuration. In this circumstance, you should check the TSM server's activity log to determine what the problem is.

TSM ServerIf you are encountering errors still, there are some things that you should check on the Tivoli Storage Manager server using the administrative client.

Run the command query node nodename f=d, replacing nodename with the nodename that is being used to back up Content Manager objects. The values should be set as follows:

Backup deleted allowed: This value should be set to YES.

Maximum Mount Points Allowed: This value should be equal to or less than the number of drives on the Tivoli Storage Manager server.

Locked?: This value should be set to NO.

Policy Domain Name: This value should be checked to make sure it belongs to the correct domain. It determines which management classes are available to the node for managing the Content Manager object backups.

Using the value of Policy Domain Name, you can run some queries to see if the correct management classes for the Content Manager object backups are available. The command query mgmtclass <domain> active shows which is the DEFAULT management class for the node. The command query copygroup <domain> active tells you what the retention settings are for the management classes.

Special Notices

This material has not been submitted to any formal IBM test and is published AS IS. It has not been the subject of rigorous review. IBM assumes no responsibility for its accuracy or completeness. The use of this information or the implementation of any of these techniques is a client responsibility and depends upon the client's ability to evaluate and integrate them into the client's operational environment.