The daemon.properties File - Teradata Data Mover

Teradata Data Mover Installation, Configuration, and Upgrade Guide for Customers

Product
Teradata Data Mover
Release Number
16.00
Published
December 2016
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
fsa1467305282096.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-4102
Product Category
Analytical Ecosystem
The following table shows the properties in daemon.properties.
Property Description Default Value
arcserver.port=port A long-lived server port on the machine running the DMDaemon, which is used for inbound socket connections from DM Agents. 25168
broker.port=port The port number of the machine where the Java Message Service (JMS) message broker is listening. 61616
broker.url=url The hostname or IP address of the machine running the Java Message Service (JMS) message broker. localhost
cluster.enabled=setting for cluster When set to True, establishes a connection to a secondary Java Message Service (JMS) broker in case the primary JMS broker fails. False
viewpoint.url The hostname or IP address for the Viewpoint Authentication server.

Example: viewpoint.url=http://localhost

http://localhost
viewpoint.port The port number for the Viewpoint Authentication server.

Example: viewpoint.port=80

80
logger.useTviLogger=setting for TVI messages The Server Management logger can be set to true or false. If set to true, fatal error messages are sent to Server Management. Dynamic property.1 True
jobExecutionCoordinator.maxConcurrentJobs=maximum number of jobs The maximum number of jobs allowed to run on the daemon at the same time. Additional jobs are placed on the queue and run when slots become available. Dynamic property. 1 20
jobExecutionCoordinator.maxQueuedJobs=maximum number of jobs allowed in queue The maximum number of jobs allowed in the job queue. Additional jobs are placed in a higher level memory queue until slots are available in the job queue. Dynamic property. 1n 20
log4j.appender.logfile=org.apache.log4j.RollingFileAppender Informs the logging application to use a specific appender.

It is recommended that this property value not be changed.

 
log4j.appender.logfile.file=file path name Relative or absolute path of the log file. If changing log file location, specify the absolute path of the file. For Windows, specify back slash instead of forward slash, for example, C:\Program File\Teradata\Log\dmDaemon.log.

Both file path and file name can be set dynamically.1

dmDaemon.log
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout Dynamic property. 1
Do not edit. This is an internal setting for logging infrastructure.
 
log4j.appender.logfile.maxBackupIndex=<number of backup files> The number of backup logging files that are created. After the maximum number of files has been created, the oldest file is erased. Dynamic property. 1

Example

If Max Backups = 3, three backup logs are created:
  • dmDaemon.log.1
  • dmDaemon.log.2
  • dmDaemon.log.3
If the current dmDaemon.log size exceeds 10MB, it rolls to become the new dmDaemon.log.1 and a new dmDaemon.log is created. The previous dmDaemon.log.2 becomes the new dmDaemon.log.3. The previous dmDaemon.log.3 is deleted.
3
log4j.appender.logfile.maxFileSize=<maximum size of log files> The maximum size of the logging file before being rolled over to backup files. Dynamic property. 1 10MB
log4j.appender.logfile.layout.ConversionPattern=<log file pattern layout> The pattern of the log file layout, where:
  • d = date
  • t = thread
  • p = log level
  • c = class name
  • m= message
  • n = platform dependent line separator

Dynamic property when layout is PatternLayout.1

Information for creating a layout is at: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

%d [%t] %-5p %c{3} - %m%n
log4j.rootLogger=<level of logging> 6 levels of logging, TRACE | DEBUG | INFO | WARN | ERROR | FATAL. From trace level to application error. LOG_LEVEL can be updated dynamically, but not logfile.1

Value is:

LOG_LEVEL, logfile

Do not remove the term logfile.
INFO,logfile

If the Viewpoint Authentication server has HTTPS enabled, you can set the following if you want to authenticate via HTTPS instead: viewpoint.url to https://localhost and viewpoint.port to 443.

1Dynamic Properties

For properties that can be set dynamically, the changes take effect one minute after the updated daemon.properties file is saved. There is no need to restart the daemon service if you are only updating dynamic properties. For example:
  • If you changed the value of log4j.rootLogger from the default of INFO, logfile to DEBUG, logfile, any debug messages generated would start appearing in the log file one minute after saving the updated properties file.
  • If you changed the value of jobExecutionCoordinator.maxConcurrentJobs from the default value of 20 to a new value of 25, the new value of 25 would take effect one minute after saving the updated daemon.properties file.