Using HP Data Protector Debug Log Collector Tool "Best Practices"

Figure 2: Example – Schedule with debug enabled
Changing the location of debug files
To change the location of debug files on a per system basis the omnirc variable
OB2DBGDIR=<pathname> can be used. You can find the use of this variable in the omnirc.tmpl file.
# OB2DBGDIR=<pathname>
# Default: none
# This variable is used to change the location of debug files on a per
# system basis. You have to specify a fully qualified path of an existing
# directory. This variable has precedence over the paths specified by the
# postfix parameter.
# By default, this variable is not set. If this variable is not set, the
# pathname is set as /tmp (UNIX) or <Data_Protector_home>\tmp (Windows).
The specified directory needs to exit and it needs to have the necessary permissions.
Debug syntax
Almost all Data Protector commands can be started with an additional –debug parameter that has the
following syntax:
-debug 1-999[,C:n][,T:s][,U] XYZ [host]
where:
1-999 is the debug range. Specify the range 1-200 unless instructed otherwise by HP Data
Protector support. (Default in GUI is 1-99).
Specify optional parameters as a part of the range parameter, separated by commas:
C:n limits the size of debug files to n kilobytes. The minimum value is 4 (4kB) and the default
value is 1024 (1 MB).
For more information, see “Limiting the maximum size of debugs” chapter in the Data Protector
troubleshooting guide.
T:s is the timestamp resolution, where the default value is 1, 1000 means the resolution is one
millisecond and 0 means timestamps are turned off. On some platforms (Novell NetWare,
MPE/iX), millisecond resolution is not available.
4