命令行界面的 properties 文件 - Teradata Data Mover

Teradata® Data Mover 用户指南

Product
Teradata Data Mover
Release Number
17.11
Published
2021 年 10 月
Language
中文 (简体)
Last Update
2021-11-08
dita:mapPath
zh-CN/cai1626458602965.ditamap
dita:ditavalPath
zh-CN/mpm1591127278842.ditaval
dita:id
B035-4101
Product Category
Analytical Ecosystem

commandline.properties 文件用于配置命令行界面。它会随 Data Mover 命令行安装过程一起安装。

前半部分输出指定了 Data Mover REST 服务器 URL。如果要在运行时连接到其他 REST 服务器(进而连接到其他守护程序),可以通过在 Data Mover 命令中输入相关参数来更改这些缺省值。
# Copyright (C) 2009-2021 by Teradata Corporation.
# All Rights Reserved.
# TERADATA CORPORATION CONFIDENTIAL AND TRADE SECRET
#----------------------------------------------------------------------------------------------
# File: "commandline.properties"
#
# Purpose: This file contains all of the properties used by the DM CommandLine.
#
# Caution: Do not modify the property names/values in this file unless absolutely sure
# of the implications to the DM CommandLine.
#
# Note: Any line of text in this document that begins with a '#' character is a comment and
# has no affect on the DM CommandLine. However, comments should not be modified.
#
# All properties under LOGGING Comment are used for logging purposes
#
#----------------------------------------------------------------------------------------------
# Purpose: Data Mover Rest Interface
# Default: https://localhost:1443/datamover
# For automatic failover support:
# dm.rest.endpoint=https://activeServer:1443/datamover,https://standbyServer:1443/datamover
dm.rest.endpoint=https://localhost:1443/datamover

#----------------------LOGGING-------------------------------

# Purpose: Set Logging level to info.  User has 6 options.
# From most amount of logging to least: trace < debug < info < warn < error < fatal
rootLogger.level=info

# Purpose: Informs the logging application to use a specific appender and it's properties.  DO NOT CHANGE
appender.rolling.type=RollingFile
appender.rolling.name=RollingFile
appender.rolling.layout.type=PatternLayout
appender.rolling.layout.pattern=%d [%t] %-5p %c{3}(%L) - %m%n
appender.rolling.policies.type=Policies
appender.rolling.policies.size.type=SizeBasedTriggeringPolicy
appender.rolling.strategy.type=DefaultRolloverStrategy
logger.rolling.name=com.teradata
logger.rolling.appenderRef.rolling.ref=RollingFile

# Purpose: Allow's user the ability to change the location of the log file.
# If changing log file location, please give the absolute path of the file;
# for example, /var/log/dmCommandLine.log
# for windows os: use slash instead of back slash:
# For Example: C:/Program File/Teradata/Log/dmCommandLine.log
appender.rolling.fileName=dmCommandLine.log
appender.rolling.filePattern=dmCommandLine.log.%i

# Purpose: The max size of the logging file before being rolled over to backup files.
appender.rolling.policies.size.size=20MB
# Purpose: The number of backup logging files created, after the max number, the oldest file is erased.
appender.rolling.strategy.max=5


#------------------------------------------------------------