Arcserve UDP Debug Information Guide
Arcserve UDP Debug Information Guide
This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to
as the “Documentation”) is for your informational purposes only and is subject to change or withdrawal by CA at any time.
This Documentation may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in part, without
the prior written consent of CA. This Documentation is confidential and proprietary information of CA and may not be disclosed
by you or used for any purpose other than as may be permitted in (i) a separate agreement between you and CA governing
your use of the CA software to which the Documentation relates; or (ii) a separate confidentiality agreement between you and
CA.
Notwithstanding the foregoing, if you are a licensed user of the software product(s) addressed in the Documentation, you may
print or otherwise make available a reasonable number of copies of the Documentation for internal use by you and your
employees in connection with that software, provided that all CA copyright notices and legends are affixed to each reproduced
copy.
The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicable
license for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility to
certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY
KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE,
DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, LOST
INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED IN ADVANCE OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGE.
The use of any software product referenced in the Documentation is governed by the applicable license agreement and such
license agreement is not modified in any way by the terms of this notice.
The manufacturer of this Documentation is CA.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictions
set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or
their successors.
Copyright © 2013 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to
their respective companies.
2|Page
Table of Contents
UDP Installation Setup log 4
UDP Uninstallation Setup log 4
UDP Update log 4
Debugging UDP Protocol problem 5
Debugging UDP RPSWebServices problem 5
Debugging UDP VCMUPgrade Problem 5
Debugging UDP –WEBUI Problem 5
Debugging UDP Management Console 6
Debugging UDP Agentless issues 7
Debugging UDP Virtual Standby issues 7
ASBU-UDP Lite Integration 8
Debug for UDP replication 9
Debugging UDP Agent 11
Debugging UDP Agent Web Service 13
Debugging UDP agent Web UI 14
Advanced Format – Configuration Switches 15
Data Deduplication Logs 16
Deduplication Format – Pairing Logs between Client and Server 17
Debug Logs related to Data Store 18
BMR Limitations 19
Debugging BMR 19
Reading BMR Logs 21
Boot Failure Issues 22
Debug logs for Installation failure on the UDP Linux Agent Server 26
Logs for Backup/Restore Failures on the UDP Linux Agent Server 26
Logs on the UDP Linux Node (Agentless) 26
Logs for BMR related issues on the UDP Linux Agent Server 27
Logs on the BMR Target Node (Linux) 27
Enabling Debug on Job logs 27
On UDP Linux Agent Server
On UDP Linux Node (Agentless)
Debugging Linux Agent / Agentless communication issues 28
On UDP Linux Agent Server
On UDP Linux Node (Agentless)
Log for UI (Linux) 28
Log for Web Service (Linux) 28
Extracting logs from the *.db files 28
Debug Settings for File Copy 29
3|Page
UDP Installation Setup log
%windir%\inf\setupapi.dev.log
%windir%\setupact.log
%windir%\windowsupdate.log
%windir%\logs\cbs\cbs.log
From command prompt type ‘wmic qfe >c:\updates.txt’ and get the updates.txt file
4|Page
Debugging UDP Protocol problem
To trouble shoot the UDP Protocol problem we need to enable the debug as mentioned below
C:\Program Files\CA\ARCserve Unified Data Protection\Management\Configuration\
Edit the file name log4j-changeProtocol. Look for the following line
log4j.category.com.ca=INFO, logout and Change the “INFO” to “DEBUG”
Refer to the Log file name - ChangeProtocol.log which is located at the below path
(C:\Program Files\CA\arcserve Unified Data Protection\Management\log
To trouble shoot the UDP RPSWebServices problem we need to enable the debug as mentioned
below
5|Page
Debugging UDP Management Console
1. Using a text editing application, open the following file on the CA ARCserve Central Host-Based VM
Backup server:
log4j.category.com.ca.arcserve.edge=INFO
Change INFO to DEBUG.
Note: You do not need to restart the service.
The log level changes to DEBUG.
log4j.appender.logout.MaxFileSize=5120KB
log4j.appender.logout.MaxBackupIndex=10
Note: The values that are listed in these parameters are the default values.
The following diagram illustrates the location of the properties file and the parameters that you change
to configure the debugging mode.
Logs to Refer:
ARCAPP.log
tomcat_####.log
6|Page
Debugging UDP Agentless issues
Troubleshooting UDP Host Based Backup issues, you need to enable debug on the UDP Proxy Node.
Set the value for the Debug DWORD under the following registry key to 1.
Troubleshooting UDP Virtual Standby issues, you need to enable debug on the UDP Monitor Node and
the source node. For UDP Agentless as source, enable this debug on the UDP Proxy Node.
If RPS is used as destination for the source, then RPS would server as the convertor and the debug needs
to be enabled on the RPS node.
Set the value for the Debug DWORD under the following registry key to
1.HKEY_LOCAL_MACHINE\SOFTWARE\CA\ARCserve Unified Data Protection\Engine
DWORD value: “Debug” and set as 1
Logs to Refer:
7|Page
iii. Where source is RPS
C:\Program Files\CA\ARCserve Unified Data Protection\Engine\Logs
VSB_########
On the UDP Agent Node or UDP Proxy Node or UDP RPS Node, where the ARCserve Backup Client Agent
for Windows is installed, incorporate the following:
Logs to Refer:
For backup and restore issues refer the ARCserve Backup Client agent for windows logs
C:\Program Files\CA\ARCserve Backup Client Agent for Windows\LOG
Other dependent dll logs refer RPS side logs folder and also agent side below folder
C:\Program Files\CA\SharedComponents\ARCserve Backup\UniAgent\Log
8|Page
Debug for UDP replication
RPS replication involves different modules during the replication process which may be
split into three parts
All of the above modules are located under “C:\Program Files\CA\ARCserve Unified Data
Protection\Engine\BIN”
Depending on which module seems to be causing the issue debug should be enabled accordingly. The
“Debug” key does not exit by default, we would have to create a key and name it as “Debug” and then
create a Dword value with the name of the module and set the log level
Debug Levels:
0 Error
1 Warning
2 Information (default log level)
3 Detailed
4 Debug log
9|Page
Below screenshot has debug enabled for RPSReplication.exe, AFStor.dll and GDDClient.dll
Log location:
The logs are located under the logs folder in the engine install directory.
Log Name:
Source 1. RPSRep(Out)*.log
1. RPSRep(In)*.log
Target
2. GDDServer*.log
1. RPSJumpstart(Out)*.log
Jumpstart
2. RPSJumpstart(In)*.log
logs
3. GDDServer*.log
Naming convention:
10 | P a g e
Debugging UDP Agent
In arcserve UDP r5.0, the debug log was re-organized by job or process. For each particular job, the
debug log was consolidated in one single file. For example: \
Each piece of debug log was appended with the module name and build number.
Note: - To reset debug log level by registry, you need to restart the service and the specified application.
The debug log level is 2 (Information) by default, but you can reset log level by registry or by command
line. More higher level means more output of debug log.
11 | P a g e
Check the module name in the Backup log and enable debug as per the requirement.
If you want to enable more debugging on AFBackend.exe, then create a DWORD for that
module.
Note: - When you set debug log level by cmd line you don’t have to restart application, it works
immediately.
cmdutil.exe /log /setlevel:<the new level> /pid:<the process id>
Type “cmdutil.exe /log /?” to see the details.
• In r5.0, the activity log and job history are saved in SQLite DB instead of “Activity.log”
The SQLite database file are under “..\Engine\Database\”
12 | P a g e
D2D.ActivityLog- the database to save activity log of UDP agent
D2D.JobHistory - the database to save Job history of UDP agent
• RPS.ActivityLog - the database to save activity log of RPS server ( only exists on RPS server )
RPS.JobHistory - the database to save job history of RPS server ( only exists on RPS Server )
• A set of command lines to create / dump / shrink SQLite database…. Type “cmdutil.exe /db /?”
for the details.
o DEBUG designates fine-grained informational events that are most useful to debug an application.
o ERROR designates error events that might still allow the application to continue running.
o FATAL designates very severe error events that will presumably lead the application to abort.
o INFO designates informational messages that highlight the progress of the application at coarse-
grained level.
o OFF The OFF has the highest possible rank and is intended to turn off logging.
13 | P a g e
Logs Location:
C:\Program Files\CA\arcserve Unified Data Protection\Engine\Logs
webservice.log
Tomcat Logs Location:
C:\Program Files\CA\arcserve Unified Data Protection\Engine\TOMCAT\logs
tomcat_<process id>.log
o DEBUG designates fine-grained informational events that are most useful to debug an application.
o ERROR designates error events that might still allow the application to continue running.
o FATAL designates very severe error events that will presumably lead the application to abort.
o INFO designates informational messages that highlight the progress of the application at coarse-
grained level.
o OFF The OFF has the highest possible rank and is intended to turn off logging.
14 | P a g e
Advanced Format – Configuration Switches
DisablePreRead=0
[“0” means pre-reading is enabled. In restore-like job, pre-reading could optimize
performance. The basic idea of pre-reading is that it could proactively read out more
data and cache in memory based on the statistics and analysis on previous reading
callings of the job. E.g. if the job is to sequentially read data, it will read big chunk to
cache in memory in advance. If it is to randomly read data, it will intelligently terminate
pre-reading.]
DisableReservingSpaceForMerge=0
[“0” means enable reserving space for merge job. When merge job happens, it requires
some temporary swapping space to rebuild data slice file. In case that disk is full, merge
job could not continue if it could not find the temporary swapping space. To solve this, it
could reserve the space when specify the backup destination.
- If multiple UDP agents back up to the same shared folder, they will share the same
reserved space.
- If backup destination is detected to support sparse, it won’t reserve space. The
reason is that it could leverage spare mode to continue merge job in case that disk is
full.]
EnableSparse=1
[“1” means that merge job will leverage sparse mode to free disk space.
If destination supports spare and the obsolete data percentage in data file is smaller
than 50%, merge job will leverage sparse mode to free disk space. With this way, freeing
disk space is very quick.
In case of “EnableSparse = 0”, merge job will rebuild data file to free disk space only
when obsolete data percentage is bigger than 50%. It will never leverage sparse mode
to free disk space.]
SliceMergeThresholdInPercentage=50
[“50” means that merge job will trigger data rebuilding to free disk space when obsolete
data percentage in slice file is bigger than 50%. When obsolete data percentage is
smaller than 50%, it only leverages spare mode to quickly free disk space.]
SliceSizeInMB=512
[“512” means that data slice size is 512MB. It is corresponding to the source data size.
15 | P a g e
After compression, the size of every data slice file might be different, which depend on
the compression percentage.]
Log Level
Logs of GDDClient.dll
Like other modules, GDDClient log has been consolidated into log file of every job.
For example:
Backup-20140518-220009-504-6-384.log:
16 | P a g e
Logs of GDDServerDll.dll
GDDServer-[DatastoreName]-[RoleType].log
Each role serves multiple clients and prints logs for all of them. So the key step for trouble shooting is to
filter out corresponding server logs for specific client (job). Take a backup job and hash role for example:
Find logs of establishing connection in job log and locate its GUID
Backup-20140518-220009-504-6-384.log:
GDDServer-1893-GDD-HashRole.log:
17 | P a g e
receiving data. rc=0 {GDDServer.exe::rps_trc.dll(1893.0)}
[2014/05/18 22:01:42:895 02 09300 10156 ] ConID:113fbcbd, session 20 has been reset or
closed gracefully. from 155.35.64.80 [2], [Closed_by_peer]
{GDDServer.exe::GDDServerDll.dll(1893.0)}
Important Information:-
1. GUID can be used to find the log when role accepts the connection.
2. A server side session number 20 is assigned. It can be used to track how and when the
connection is closed.
3. ConID 113fbcbd is assigned and can be used to filter activities on this connection.
4. The first log on this connection provides critical info like job type, job ID and client name
for you to further cope with client side logs. Client time is quite useful when system
times are different between client and server.
• File Name:
DataStoreService.log
RPSWebService.log
GDDServer_<DSName>_DataRole.log
GDDServer_<DSName>_IndexRole.log
GDDServer_<DSName>_HashRole.log
0 Error
1 Warning
3 Detailed
4 Debug log
18 | P a g e
Data Store Threshold Settings
https://support.ca.com/cadocs/0/CA%20ARCserve%20Unified%20Data%20Protection%20Version%205
%200%2000-ENU/Bookshelf_Files/HTML/Solutions%20Guide/caudp_mod_ds_threshold.htm
https://support.ca.com/cadocs/0/CA%20ARCserve%20Unified%20Data%20Protection%20Version%205
%200%2000-ENU/Bookshelf_Files/HTML/Solutions%20Guide/caudp_fix_ds_threshold_msg.htm
BMR Limitations:
Debugging BMR
• DO NOT collect BMR logs just when data restore is completed, instead you should collect logs at
the last reboot screen.
• Once the BMR Restore is completed we will get the below screen. Do not collect the logs @
this point.
19 | P a g e
• After data restore completed, BMR still do lots of things to make machine bootable. This
information is critical for looking into boot failure issues. We can collect the logs after getting to
the below screen.
• If missed to collect BMR logs, you can also boot machine with BMR image find logs under
“[C:\]Windows\Temp\BMRLog_0000]”
20 | P a g e
Reading BMR Logs
Search for the “-!-”sign from file “DrMain.log”, the search result list the most critical information /
working flow of BMR. That would help to locate BMR issue quickly.
21 | P a g e
Boot Failure Issues
Normally black screen error occurs before loading winload.exe. Possibly caused by…
Troubleshooting:
22 | P a g e
the first sector of volume) for further investigation.
Use diskpart.exe to set / view active partition
23 | P a g e
If the BCD file is incorrect, the “device”, “osdevice” is “unknown” (Refer the above screen shot)
0xC000021a: This means that an error has occurred in a critical user-mode subsystem.
0xC0000225: Windows failed to load because of a critical system driver is missing, or corrupt.
This kind of issue is because some of windows critical files got corrupted. The data corruption might
occur during backup, merge, replication, RHA Sync, BMR restore, bad network adapter ( like E1000 )…..
Troubleshooting:
• Run “chkdsk” for boot volume (C:\) to see if error reported.
• Run BMR internal command “!FileValidate” to catch the possible corrupted files.
• If this is a VM, change network adapter and try again.
!FileValidate
24 | P a g e
• This command will catch possible corrupted files, collect system dump, event log… Hence please
redirect the output to a remote shared folder.
• It is using embed check sum to validate file and works well for windows 2008 and above system,
might not be effective for windows 2003.
• It might catch out lots of corrupted files, Just pay more attention on files under
\Windows\System32 ( the .dll, .exe, .sys)
Possibly caused by
The disk driver ( SCSI, RAID, Fiber Chanel) does not work for target device.
The particular version of this driver does not work on target system.
The driver exits but device is missing on target system.
Other 3rd divers might also cause this error, such as “sptd.sys” for virtual CD/DVD driver.
Troubleshooting:
Environment Error
Some of boot failure issue might also caused by environment error, such as…
The Hypervisor ( ESX Server, Hyper-V, Xen…) does not support the specified OS.
Incorrect VM settings. For example, created a Windows 2008 VM but actually restore a
Windows 2003 to it.
25 | P a g e
The possible reasons are…
Sometimes AD server boot fail after BMR, this is because some of AD files corrupted. In case of this, you
can boot into AD Recovery Mode to restore AD firstly.
NOTE:
In r5.0, if any of AD, System or WMI write is in bad status, the backup job will fail.
Debug logs for Installation failure on the UDP Linux Agent Server
/tmp/d2dsetup-yyyy-mm-dd_hh:mm:ss.log
/tmp/d2dsysinfo.log
/opt/CA/d2dserver/data/ActivityLog.db
/opt/CA/d2dserver/data/JobHistory.db
/opt/CA/d2dserver/data/ARCserveLinuxD2D.db
/opt/CA/d2dserver/logs/
1) UDP logs:
/tmp/logs/
26 | P a g e
Logs for BMR related issues on the UDP Linux Agent Server
/opt/CA/d2dserver/data/ActivityLog.db
/opt/CA/d2dserver/data/JobHistory.db
/opt/CA/d2dserver/data/ARCserveLinuxD2D.db
/opt/CA/d2dserver/logs
Do not reboot the server at end of BMR and login into the Live CD (Hit “Enter” key to enter the shell
prompt.
1) UDP logs:
/tmp/logs/
export CRE_LOG_DEBUG_LEVEL=X
(where X can be any value between 3 and 6. Default is 3)
Once the issue is reproduced, we can remove debug using the “unset” command.
e.g.: unset CRE_LOG_DEBUG_LEVEL
27 | P a g e
Debugging Linux Agent / Agentless communication issues:
export D2DEALIB_DEBUG=1
Once the issue is reproduced, we can remove debug using the “unset” command.
Append the following two lines to the file /root/.bashrc and rerun the job
export D2DEALIB_DEBUG=1
export D2DSVR_HOME=/tmp/
To disable the debug, please remove the above added lines from the /root/.bashrc file.
NOTE: The “ealib.log” is created in the above locations only when we enable debug.
/tmp/xxxxx /ActivityLog.db
/tmp/xxxxx /JobHistory.db
/tmp/xxxxx /ARCserveLinuxD2D.db
28 | P a g e
Go to the /opt/CA/d2dserver folder and execute the below command:
source /opt/CA/d2dserver/bin/setenv
/opt/CA/d2dserver/sbin/sqlite3 /tmp/xxxxx/ActivityLog.db “select * from ActivityLog;” >
/tmp/xxxxx/Activity.Log
/tmp/xxxxx/Activity.Log is a text file which can be read using any editor or notepad.
source /opt/CA/d2dserver/bin/setenv
/opt/CA/d2dserver/sbin/sqlite3 /tmp/xxxxx/JobHistory.db “select * from JobHistory;” >
/tmp/xxxxx/JobHistory.Log
/tmp/xxxxx/JobHistory.Log is a text file which can be read using any editor or notepad.
source /opt/CA/d2dserver/bin/setenv
/opt/CA/d2dserver/sbin/sqlite3 /tmp/xxxxx/ARCserveLinuxD2D.db “select * from
ARCserveLinuxD2D;” > /tmp/xxxxx/ARCserveLinuxD2D.Log
/tmp/xxxxx/ARCserveLinuxD2D.Log is a text file which can be read using any editor or
notepad.
Debug Amazon S3
Open this file and find line " log4j.category.com.ca.AmazonLibrary=DEBUG, logout ".
Available log levels are INFO
DEBUG
WARN
ERROR
FATAL
Debug Azure
29 | P a g e
Amazon - C:\Program Files\CA\arcserve Unified Data
Protection\Engine\BIN\CCI\Plugin\Amazon\Log folder
folder
AFArchive.log - Debug log for archive job creation and job monitor.
ArchivePolicy-XXXX.log - Debug log for filecopy common modules like policy parsing,
catalog.
WebService.Log
Refer Amazon.Log
Azure.Log
30 | P a g e