B Default Configuration File

This appendix is a copy of the default configuration file delivered with DIVAmigrate.

# Name for Windows Service
# This is mandatory parameter.
SERVICE_NAME=DIVAmigrate

# Host name or IP Address of DIVA Manager
# Default value is 127.0.0.1.
# This is mandatory parameter.
DIVAMANAGER_HOST=127.0.0.1

# Port used to connect to DIVA Manager
# Default value is 9000.
# This is mandatory parameter.
DIVAMANAGER_PORT=9000

# Port used to connect to DIVA Migrate Service
# Default value is 9191.
# This is mandatory parameter
DIVA_MIGRATE_MANAGEMENT_PORT=9191

##### Database connection details. #####
# A URL to connect to DB instead of using DIVAMANAGER_DBHOST and
# DIVAMANAGER_DBPORT or DIVAMANAGER_TNSNAME. It gives the additional
# flexibility to the user to explicitly mention if they want to use
# jdbc thin driver or jdbc oci driver to connect to oracle database.
# examples:      jdbc:oracle:thin:@host:port:oracle_sid
#                        jdbc:oracle:oci:@tnsname
# This is not a mandatory parameter.
DIVAMANAGER_DBURL=

# User Name the DIVArchive Manager uses to connect to the DIVArchive
# Database. This is case sensitive.
# Default value is diva.
# This is a mandatory parameter.
DIVAMANAGER_DBUSER=diva

# TNS Name of the DIVArchive Schema within the Oracle database.
# This setting is ignored if the DIVAMANAGER_DBHOST and
# DIVAMANAGER_DBPORT settings below are defined.
# There must be a corresponding entry in TNSNAMES.ORA found under the
# oracle 11 client installation.
# This is not a mandatory parameter.
DIVAMANAGER_TNSNAME=

# This specifies the Hostname or IP Address of the machine containing
# the DIVArchive Database.
# If using a hostname, this must be present in the hosts file on the
# machine where
# the DIVArchive Manager is installed.
# examples: 127.0.0.1, localhost
# This is not a mandatory parameter.
DIVAMANAGER_DBHOST=

# The Oracle Listener port configured during the DIVArchive Database
# installation.
# Default value is 1521.
# This is not a mandatory parameter.
DIVAMANAGER_DBPORT=1521

# The DIVArchive Database Instance Identifier (SID) in Oracle where DIVArchive Manager connects.
# Typically lib5.world in most DIVArchive installations. Consult your delivery plan if you are not sure.
# Default value is lib5.world
# THIS VALUE OR DIVAMANAGER_DBSID MUST BE SET, when DIVAMANAGER_DBHOST & DIVAMANAGER_DBPORT is used for Database connections. IF BOTH ARE SET, SERVICENAME TAKES PRECEDENCE OVER SID.
DIVAMANAGER_DBSERVICENAME=lib5.world

# Max simultaneous DIVA Manager requests run by DIVAmigrate.
# Default value is 15.
# This is not mandatory parameter.
MAX_SIMULTANEOUS_REQUESTS=15
# DB scan periodicity (seconds). Determines how often DIVAmigrate 
# looks for new jobs in Database.
# This is not mandatory parameter.
# Default value is 60 seconds
DB_SCAN_PERIODICITY=60

# Time in seconds between reconnect attempts in case if connection to
# Manager was lost.
DIVA_RECONNECT_PERIODICITY=30
# Max requests failed in a row before Pause
# DIVAmigrate will always pause if configured number of requests fails
# sequentially.
# Default: 10
MAX_FAILED_REQUESTS_PAUSE=10

# Migration plan max inactive time
# If after service is restarted it finds running jobs with last access
# time greater then this parameter, then migration plan for such jobs
# will be recreated. If there are multiple destination job will switch
# to next destination.
# Default: 24 hours
JOB_MAX_INACTIVE_TIME=24

##### Windows Service Wrapper Configuration Section (not included in this example) #####

#********************************************************************
# DIVA Migrate Logging
#********************************************************************
##### Logging #####
LOGGING_DIRECTORY=../../log/migrate/

# Levels can be: DEBUG, INFO, WARN, ERROR, FATAL
# The default value is INFO.
LOGGING_ROOT_LEVEL=INFO
LOGGING_TRACE_LEVEL=INFO
LOGGING_SERVICE_LEVEL=INFO

# File size should be specified using the convention: #KB|MB
# The default value is 10MB.
LOGGING_MAXFILESIZE=10MB

# All files (trace, service and .zip) older than this will be removed
# hours
# The default value is 50.
LOGGING_LIFETIME=50
#********************************************************************
# DIVA Service Options
# The following service parameters should not be changed without
# the consent of Oracle Support.
#********************************************************************

# Level can be: DEBUG, INFO, STATUS, ERROR, NONE
# To include thread dumps, set to DEBUG or INFO.
# The default value is INFO.
wrapper.logfile.loglevel=INFO
# The maximum size to allow Wrapper log files to reach before
# rolling. File size should be specified using the convention: #k|m
# The default value is 1m.
wrapper.logfile.maxsize=1m

# Mode in which the service is installed. AUTO_START starts the
# service automatically when the system is rebooted. DEMAND_START
# which requires that the service be started manually.
# The default value is AUTO_START.
wrapper.ntservice.starttype=AUTO_START

# Time without CPU before JVM will issue warning and extend timeout
# (in sec). Timeout will be extended by a few seconds at least once
# before the service shuts down.
#wrapper.cpu.timeout=30

# Number of seconds to allow between the time that the Wrapper
# launches the JVM process and the time that the JVM side of the
# Wrapper responds that the application has started.
# The default value is 60.
wrapper.startup.timeout=60

# Number of seconds to allow between the wrapper pinging the JVM
# and the response
# The default value is 60.
wrapper.ping.timeout=60

# Number of seconds to allow between the time that the Wrapper asks
# the JVM to shutdown and the time that the JVM side of the Wrapper
# responds that it is stopping.
# The default value is 60.
wrapper.shutdown.timeout=60

# Java Library Path (Add location of OCI driver ex: ocijdbc11.dll if using DIVAMANAGER_TNSNAME.
# Ex: wrapper.java.library.path=.;C:\app\oracle\product\11.1.0)
# The default value is .
#wrapper.java.library.path=../lib/.