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 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"
TDPVMwareInstallation.log
file from the %allusersprofile%
directory before you try the installation again.recovery agent log files
The recovery agent log file isTDP_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 places log files in this
directory:
C:\IBM\SpectrumProtect\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\IBM\SpectrumProtect\Framework\VEGUI\logs
/opt/tivoli/tsm/tdpvmware/common/logs
When you are collecting log files,
make sure to include all subdirectories in your compressed file.
IBM Spectrum Protect file restore interface log files
The IBM
Spectrum Protect 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\SpectrumProtect\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'
* ENTITY='DATA_MOVER_NODE_NAME'
* AS_ENTITY='DATA_CENTER_NODE_NAME'
* SUB_ENTITY='VM_HOST_NAME'
* START_TIME='yyyy-MM-dd HH:mm:ss'
Theselect * 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>'2017-03-11 17:30:00'
START_TIME
criteria supports queries with the following signs: equal (=), less than (<), or greater than (>). - 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
* NODENAME='DATA_CENTER_NODE_NAME'
* DATE_TIME='yyyy-MM-dd HH:mm:ss'
select * from ACTLOG where NODENAME='DC_NODE' and DATE_TIME>'2017-03-11 17:30:00'
The DATE_TIME
criteria supports queries with the following signs: equal (=),
less than (<), or greater than (>).