Log file activity
Data Protection for VMware creates and modifies several log files during installation, back up, mount, and restore operations.
Data Protection for VMware log files are plain text files that use an .sf file extension.
Logs are placed in the following
directory:
%ALLUSERSPROFILE%\Tivoli\TSM\TDPVMware
The
directories contain a subdirectory for each Data Protection for VMware component. For example, the Tivoli Storage Manager recovery agent subdirectory is \mount,
and the Recovery Agent command-line interface subdirectory is
\shell.
You can search for log files from the menu, by selecting and entering *.log.
<user.home>/tivoli/tsm/ve/mount/log
/opt/tivoli/tsm/TDPVMware/mount/engine/var
You can search for log files by entering this command:
find /opt/tivoli/ -name "*.log"
Tivoli Storage Manager recovery agent log files
The Tivoli Storage Manager recovery agent log file is TDP_FOR_VMWARE_MOUNTnnn.sf. The log file with the most recent data is stored in the log file with the 040 number (TDP_FOR_VMWARE_MOUNT040.sf). When a log file reaches the maximum size limit, a new log file is created. The log file name is the same except that the log file number decrements by one. Specifically, the data in the log file with the 040 number is copied to a log file with the 039 number. The log file with the 040 number contains the newest log file data. When 040 again reaches maximum file size, the 039 file contents move to 038 and the 040 information goes to 039 again.Data Protection for VMware GUI log files
The Data Protection for VMware vSphere GUI or Data Protection for VMware vCloud GUI places log files in this
directory:
C:\IBM\tivoli\tsm\tdpvmware\webserver\usr\servers\veProfile\logs
/opt/tivoli/tsm/tdpvmware/common/webserver/usr/servers/veProfile/logs
When
you are collecting log files, make sure to include all subdirectories in your compressed file.
Data Protection for VMware command-line interface log files
The Data Protection for VMware command-line interface places log files in
this directory:
C:\Program Files (x86)\Common
Files\Tivoli\TDPVMware\VMwarePlugin\logs
/opt/tivoli/tsm/tdpvmware/common/logs
When you are collecting log files,
make sure to include all subdirectories in your compressed file.
Tivoli Storage Manager file restore interface log files
The Tivoli® Storage
Manager file restore
interface logs error messages to the fr_api.log,
fr_gui.log, and messages.log files. These files are in the
following default directory:
C:\IBM\tivoli\tsm\tdpvmware\webserver\usr\servers\veProfile\logs
/opt/tivoli/tsm/tdpvmware/common/webserver/usr/servers/veProfile/logs
You
can change the name and location of the fr_api.log file by setting the
API_LOG_FILE_NAME and API_LOG_FILE_LOCATION options in the file
restore log activity file (FRLog.config).
- To start an administrative client session in command-line mode, enter this command on your
workstation:
By entering the DSMADMC command with the -ID and -PASSWORD options as shown, you are not prompted for a user ID and password.dsmadmc -id=admin -password=admin -dataonly=yes
- To search the SQL summary extended table to view results about file restore operations, issue
the select command from the administrative command-line
client:
You can narrow the search by including one or more of the following criteria in the select statement:select * from SUMMARY_EXTENDED where ACTIVITY_TYPE='File Restore'
For example:* ENTITY='DATA_MOVER_NODE_NAME' * AS_ENTITY='DATA_CENTER_NODE_NAME' * SUB_ENTITY='VM_HOST_NAME' * START_TIME='yyyy-MM-dd HH:mm:ss'
The START_TIME criteria supports queries with the following signs: equal (=), less than (<), or greater than (>).select * from SUMMARY_EXTENDED where ACTIVITY_TYPE='File Restore' and ENTITY='LOCAL_MP_WIN' and AS_ENTITY='DC_NODE' and SUB_ENTITY='testvm' and START_TIME>'2015-03-11 17:30:00'
- To search the SQL activity log table to view events about file restore operations, issue the
select command from the administrative command-line
client:
You can narrow the search by including one or more of the following criteria in the select statement:select * from ACTLOG
For example:* NODENAME='DATA_CENTER_NODE_NAME' * DATE_TIME='yyyy-MM-dd HH:mm:ss'
select * from ACTLOG where NODENAME='DC_NODE' and DATE_TIME>'2015-03-11 17:30:00'
The DATE_TIME criteria supports queries with the following signs: equal (=), less than (<), or greater than (>).