# Configuration file for the Veritas NetBackup Deduplication Multi-Threaded
# Agent (mtstrmd)
###############################################################################
[Logging]

# Specify what to log:
# minimal: enable Crit, Error, Auth, Bug
# short  : all of the above plus Warning
# long   : all of the above plus Info
# verbose: all of the above plus Notice
# full   : all of the above plus Trace messages (everything)
# none   : disable logging
# append ',thread' to enable thread id logging.
# append ',date'   to enable date logging.
# append ',timing' to enable high-resolution timestamps
# append ',silent' to disable logging to console
# @reload
Logging=short,thread

# Maximum log size before rolling log into a new file (MB)
# Log files that are rolled over will be renamed to mtstrmd.log.<date/time stamp>
LogMaxSize=500

###############################################################################
# Directory where the mtstrmd.log files will be created
# @readonly
LogPath=/var/log/puredisk

# This value specifies how long logfiles may be kept (in days) before
# being recycled. Use 0 to disable (and keep logs forever).
# @reload
# @validate [0-9]+
Retention=7

###############################################################################
[Process]

# Number of buffers to use, per session, when reading data from client during 
# a backup
# Must be in the range of 1-10
# @readonly @restart
BackupReadBufferCount=3

# Size of buffer to use, per session, when reading data from client during
# a backup (MB)
# Must be in range of 16-128
# @readonly @restart
BackupReadBufferSize=32

# Size of buffers for shared memory copying (MB)
# This will impact the sizing of three buffers:  The shared memory buffer
# itself, the shared memory receive buffer in mtstrmd, and the shared memory
# send buffer on the client process 
# Must be in range of 1-16
# @readonly @restart
BackupShmBufferSize=2

# Maximum amount of memory to use, per session, for fingerprint caching (MB)
# Must be in range of 0-32768
FpCacheMaxMbSize=1024

###############################################################################
# Maximum number of concurrent sessions allowed
# Must be in range of 1-32
# @readonly @restart
MaxConcurrentSessions=10

# Number of seconds to wait for threads to finish during session close
# Must be in range of 1-3600
SessionCloseTimeout=180

# Number of minutes for session to be idle before considering it inactive
# Inactive sessions will be checked and closed during maintenance operations 
# Must be in range of 1-1440
SessionInactiveThreshold=480

###############################################################################
[Threads]

###############################################################################
# Number of threads to use, per session, to fingerprint incoming data 
# Must be in range of 1-32
# @readonly @restart
BackupFpThreads=4

# Number of threads to use, per session, to send data to the storage server
# during a backup operation
# Must be in range of 1-32
# @readonly @restart
BackupSendThreads=1

# Frequency of performing maintenance operations, in minutes 
# Must be in range of 0-10080
# Value of 0 will disable maintenance operations
MaintenanceThreadPeriod=720