A Sample Configuration File

The following sample configuration file demonstrates a watermark delete. The deletion criteria is defined for when the DR site has a tape instance, and the local site has the object stored on a media named tapeGroup3. The utility will only consider deleting objects having categories of either AVID or MOVIE*. If all are true, and the used capacity on localArray1 array reaches seventy percent, the instance on that array is deleted.

# The parameters at the very bottom of the file are to control the 
# service and logging. The parameters are set to their recommended 
# values, and should not be changed without consulting an Oracle
# representative.
#
DeleteRequestPriority=70
SimultaneousDeleteOperations=25
 
# 2. Site Verify Criteria (here, we must have 1 tape instance on 
# the DR site, and one instance on a local array called 
# "remoteArray".)
SiteToVerify.1.sitename=lynxDR
SiteToVerify.1.numTapeInstances=1
SiteToVerify.2.sitename=local
SiteToVerify.2.media=tapeGroup3
 
# 3. Site to Purge parameters: 
SiteToPurge.1.sitename=local
SiteToPurge.1.purgeType=watermark
SiteToPurge.1.watermarkedArrayName=localArray1
SiteToPurge.1.highWatermark=70
SiteToPurge.1.lowWatermark=50
 
# 4. Category Include Filter parameters:
CategoryIncludeFilter.1= MOVIE*
CategoryIncludeFilter.2= AVID
 
# 5. DIVAnet Connection parameters:
Divanet.address=127.0.0.1
Divanet.port=9500
Divanet.username=diva
Divanet.password=diva
 
# 6. DIVAnet Database parameters:
DivanetDb.address=127.0.0.1
DivanetDb.port=1521
DivanetDb.user=diva
DivanetDb.password=diva
DivanetDb.sid=lib5


#******************************************************************
# The rest of the parameters are to control the service and 
# logging.
# These parameters are set to the recommended default values and 
# should not be changed without consulting with a Front Porch 
# Digital representative.
#
#******************************************************************
 
# Java Application
wrapper.java.command=$JAVA_HOME/bin/java
 
# Java Main class. This class must implement the WrapperListener 
# interface or guarantee that the WrapperManager class is 
# initialized. Helper classes are provided to do this for you. See 
# the Integration section of the documentation for details.
wrapper.java.mainclass=com.storagetek.diva.lynxLocalDelete.control.TanukiLauncher
 
# Java Classpath (include wrapper.jar) Add class path elements as 
# needed starting from 1
wrapper.java.classpath.1=../../../Program/Utilities/lib/*.jar
 
#Wrapper application parameters
wrapper.java.app.parameter.1=
wrapper.java.app.parameter.2=
wrapper.java.app.parameter.3=
wrapper.java.app.parameter.4=
 
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=.
 
# Java Additional Parameters
 
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256
 
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=256
#******************************************************************
# Wrapper Logging Properties
#******************************************************************
 
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
 
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO
 
# Log file to use for wrapper output logging.
wrapper.logfile=
 
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
 
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=INFO
 
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or 
# 'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=10m
 
# Maximum number of rolled log files which will be allowed before 
# old files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=4
 
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=NONE
 
#******************************************************************
# Wrapper Windows Properties
#******************************************************************
# Title to use when running as a console
wrapper.console.title=DIVArchive LocalDelete
 
#******************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#******************************************************************
 
# WARNING - Do not modify any of these properties when an 
# application using this configuration file has been installed as a 
# service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
 
 
# Name of the service
wrapper.ntservice.name=DivaLld
 
# Display name of the service
wrapper.ntservice.displayname=DIVArchive LocalDelete Service
 
# Description of the service
wrapper.ntservice.description=DIVArchive Local Delete provides cleaning service for local environment from objects which are stored on remote environments
 
# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
 
# Mode in which the service is installed. AUTO_START or 
# DEMAND_START
wrapper.ntservice.starttype=AUTO_START
 
# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false