Article Number: 000022610
Video: How to Enable vProxy Debug Logging
Watch on YouTube
Usually, it is sufficient to analyze the policy logs in the NetWorker server in .../nsr/logs/policy/[policy name], but occasionally it may be necessary to analyze the logs on the vProxy appliance itself and, furthermore, to increase the logging level to 'debug' in order to get a clearer idea of the reason for a failure. This is typically only a requirement once NetWorker support has been engaged and the support engineer has requested to debug set to troubleshoot as specific process.Daemon | Logging Entity | Command Usage Example | Log Locations |
vbackupd | program (main engine) | ./vProxy_debug.sh -s -d vbackupd -p program -l debug | /opt/emc/vrproxy/runtime/logs/vbackupd/vbackupd-engine.log Individual Backup Session Logs: |
DD Boost | ./vProxy_debug.sh -s -d vbackupd -p ddboost -l all | /opt/emc/vrproxy/runtime/logs/vbackupd/vbackupd-boost.log | |
VDDK | ./vProxy_debug.sh -s -d vbackupd -p vddk -l 4 | /opt/emc/vrproxy/runtime/logs/vbackupd/vbackupd-vddk.log The VDDK also maintains private logs in the directory /tmp/vmware-root |
|
Snapshot Manager | ./vProxy_debug.sh -s -d vbackupd -p snapshotmgr -l debug | /opt/emc/vrproxy/runtime/logs/vbackupd/vbackupd-snapmgr.log |
Daemon | Logging Entity | Command Usage Example | Log Locations |
vrecoverd | program (main entity) | ./vProxy_debug.sh -s -d vrecoverd -p program -l debug | /opt/emc/vrproxy/runtime/logs/vrecoverd/vrecoverd-engine.log Individual Recover Session Logs: |
DD Boost | ./vProxy_debug.sh -s -d vrecoverd -p ddboost -l all | /opt/emc/vrproxy/runtime/logs/vrecoverd/vrecoverd-boost.log | |
VDDK | ./vProxy_debug.sh -s -d vrecoverd -p vddk -l 4 | /opt/emc/vrproxy/runtime/logs/vrecoverd/vrecoverd-vddk.log The VDDK also maintains private logs in directory /tmp/vmware-root |
Daemon | Logging Entity | Command Usage Example | Log Location |
vflrd | program (Main Engine) | ./vProxy_debug.sh -s -d vflrd -p program -l debug | /opt/emc/vrproxy/runtime/logs/vflrd/vflrd-engine.log Individual FLR Mount Session Logs: /opt/emc/vrproxy/runtime/logs/vflr/FlrMountSession-<session-id>.log Individual FLR Browse Session Logs: /opt/emc/vrproxy/runtime/logs/vflr/FlrBrowseSession-<session-id>.log Individual FLR Recover Session Logs: /opt/emc/vrproxy/runtime/logs/vflr/FlrRecoverSession-<session-id>.log Completed logs are moved to /opt/emc/vrproxy/runtime/logs/recycle/vflrd |
DD Boost | ./vProxy_debug.sh -s -d vflrd -p ddboost -l all | /opt/emc/vrproxy/runtime/logs/vflrd/vflrd-boost.log | |
VDDK | ./vProxy_debug.sh -s -d vflrd -p vddk -l 4 | /opt/emc/vrproxy/runtime/logs/vrecoverd/vrecoverd-vddk.log The VDDK also maintains private logs in directory /tmp/vmware-root |
Daemon | Logging Entity | Command Usage Example | Log Location |
vrapid | program (Main Engine) | ./vProxy_debug.sh -s -d vrapid -p program -l debug | /opt/emc/vrproxy/runtime/logs/vrapid/vrapid-engine.log |
The above commands show enabling debug, these commands can be rerun changing the -l option to reset to default:
Options:
For Program Log: warn | info | trace (default) | debug
For DD Boost Log: none | error | warn | info | debug | trace (default) | all
For VDDK Log:
0 = No logging
1 = Errors only
2 = Warnings and Errors
3 = Important information messages, errors and warnings (default)
4 = Debug data plus everything else
For Snapshot Manager Log: warn | info | trace (default) | debug
This process can be done with other debugging methods outlined above.
1. Log in to the vProxy appliance using SSH or console as admin and switch to root: sudu su -
2. Create file ddboost_precert.ini under /: touch /ddboost_precert.ini
3. Create the DDLog directory: mkdir /DDLog
4. Enable DD Boost debug for the service (vbackupd, vflrd, vrecoverd) you want to debug:
vbackupd: /opt/emc/vproxy/bin/vProxy_debug.sh -s -d vbackupd -p ddboost -l debug
vflrd: /opt/emc/vproxy/bin/vProxy_debug.sh -s -d vflrd -p ddboost -l debug
vrecoverd: /opt/emc/vproxy/bin/vProxy_debug.sh -s -d vrecoverd -p ddboost -l debug
5. Confirm that the ddboost_precert.log log is generated: ls -l /DDLog
When debug operations are no longer required, rerun the vProxy_debug.sh command again with -l trace
NetWorker
NetWorker, NetWorker Series
16 Apr 2024
9
How To