Onteon Node Manager - Configuration¶
Overview¶
Default configuration file path: onteon-node/conf/conf.yml
.
If configuration file does not exist, the node will use the default values.
Default configuration file¶
applicationManager:
version: '1.0.0'
appDirectory: 'app'
isStartEmbeddedApp: true
waitTimeBeforeClose: 10000
entryPointManager:
name: 'entryPointManager'
version: '1.0.0'
entryPoints:
- entryPoint:
name: "commandEntryPoint"
version: '1.0.0'
protocol: 'cdtp-1.0'
serializers:
- name: 'jackson-json'
seImpl: 'tech.onteon.onteon.libcomponent.serializer.impl.JacksonJsonSerializerImpl'
deImpl: 'tech.onteon.onteon.libcomponent.serializer.impl.JacksonJsonDeserializerImpl'
index: 1
server: 'tech.onteon.onteon.libcomponent.server.ont.blocking.synchronous.impl.OntBlockingSynchronousServerImpl'
#serviceProducer: 'empty'
serverSettings:
ontBlockingSynchronousServer:
version: 1.0.0
factory:
- name: 'noSecure'
isActive: true
- name: 'secureOneWaySSL'
isActive: false
x509ServerCertificatePathToFile: 'ssl/server/serverX509Certificate.crt'
rsaPKCS8ServerPrivateKeyPathToFile: 'ssl/server/serverPrivateKey.pk'
- name: 'secureTwoWaySSL'
isActive: false
x509ServerCertificatePathToFile: 'ssl/server/serverX509Certificate.crt'
rsaPKCS8ServerPrivateKeyPathToFile: 'ssl/server/serverPrivateKey.pk'
x509ClientCertificatePathToDirectory: 'ssl/client/certificates'
settings:
port: 8030
readTimeout: 480000
waitForFinishExecuteAllRequests: true
waitToShutdownThreadsOnStop: 1000
backlog: 256
receiveBufferSize: 256
isReuseAddress: true
logPeriodicOnDebug: true
serverSocketTimeout: 120000
isReuseWorkers: true
pooledWorkerTimeout: 120000
workerPoolSize: 128
workerThreadTimeout: 120000
destroyWorkerThreadOnTimeout: false
clientSocketKeepAliveTimeout: 120000
clientSocketReadTimeout: 90000
chunkSize: 8192
threadPool:
queueType: 'arrayBlockingQueue'
queueLength: 1024
maxWaitingClient: 1000
computeMinMaxAutomatically: false
min: 18
max: 18
- entryPoint:
name: 'serviceRepoEntryPoint'
version: '1.0.0'
protocol: 'http-1.1'
server: 'tech.onteon.onteon.libcomponent.server.jetty.blocking.synchronous.impl.JettyBlockingSynchronousServerImpl'
serverSettings:
jettyBlockingSynchronousServer:
version: 1.0.0
settings:
port: 8031
mainContext: '/getRepo'
eventLogManager:
version: '1.0.0'
howOftenCheckingExpireTime: 5000
logExpireTime: 60000
maximumSizeInMegabytes: 5
osProcessProviderBase:
version: '1.0.0'
waitAfterStopOperationTime: 6000
readStreamsWaitOnStartTime: 90000
readStreamsWaitOnStopTime: 15000
processBufferStartSizeInMB: 4
oSProcessProviderDocker:
version: '1.0.0'
readStreamsWaitOnStartTime: 90000
logging:
enabled: false
forwardPort: 24224
oSProcessProviderGeneric:
version: '1.0.0'
oSProcessProviderJVM:
version: '1.0.0'
placeHolderManager:
version: '1.0.0'
relativePathToLogs: 'log,app'
relativePathToApps: 'app'
selfHealingManager:
version: '1.0.0'
howOftenCheckingProcess: 5000
restartOSProcessDelay: 0
checkOsProcesses: true
tcpPortManager:
version: '1.0.0'
portRange:
min: 10000
max: 20000
transferManager:
version: '1.0.0'
uploadAppDirectory: 'upload-app'
uploadNodeDirectory: 'upload-node'
resourceManager:
version: '1.0.0'
isActive: true
register:
url: 'http://127.0.0.1:8050/onteon-api-access/api/nodes/register'
probeAmount: 5
waitTime: 20000
nodeApiPort: 8030
serviceRepositoryManager:
version: '1.0.0'
localIp: '127.0.0.1'
exposeAllIpAddresses: false
healthCheckInterval: 1000
timeWaitAfterInstanceUnregister: 45000
Configuration keys¶
applicationManager¶
version¶
Description
Version of application manager.
Key
Type: String
Default value: 1.0.0
appDirectory¶
Description
Directory where applications will be stored.
Key
Type: String
Default value: app
isStartEmbeddedApp¶
Description
If true, embedded applications will be started, after the startup.
Key
Type: Boolean
Default value: true
entryPointManager¶
name¶
Description
Name of entry point manager.
Key
Type: String
Default value: entryPointManager
version¶
Description
Version of entry point manager.
Key
Type: String
Default value: 1.0.0
entryPoints¶
Description
List of entry points.
Key
Type: Array of entry points
eventLogManager¶
version¶
Description
Version of event log manager.
Key
Type: String
Default value: 1.0.0
howOftenCheckingExpireTime¶
Description
Time between checking if log expired, in milliseconds.
Key
Type: Integer
Default value: 5000
logExpireTime¶
Description
Time after the log expires, in milliseconds.
Key
Type: Integer
Default value: 60000
maximumSizeInMegabytes¶
Description
Maximum size of logs, in megabytes.
Key
Type: Integer
Default value: 5
osProcessProviderBase¶
version¶
Description
Version of os process provider base.
Key
Type: String
Default value: 1.0.0
waitAfterStopOperationTime¶
Description
Waiting time after stop operation, in milliseconds.
Key
Type: Integer
Default value: 6000
readStreamsWaitOnStartTime¶
Description
Time after which the application is considered to be started. You can also use success line.
Key
Type: Integer
Default value: 90000
readStreamsWaitOnStopTime¶
Description
Time after which the application is considered to be stopped.
Key
Type: Integer
Default value: 90000
processBufferStartSizeInMB¶
Description
Size of process buffer start size in Megabytes.
Key
Type: Integer
Default value: 4
oSProcessProviderDocker¶
version¶
Description
Version of os process provider docker.
Key
Type: String
Default value: 1.0.0
logging¶
enabled¶
Description
Enables logging.
Key
Type: Boolean
Default value: false
enabled¶
Description
Forwards docker logs port.
Key
Type: Integer
Default value: 24224
oSProcessProviderGeneric¶
version¶
Description
Version of os process provider generic.
Key
Type: String
Default value: 1.0.0
oSProcessProviderJVM¶
version¶
Description
Version of os process provider jvm.
Key
Type: String
Default value: 1.0.0
placeHolderManager¶
version¶
Description
Version of placeholder manager.
Key
Type: String
Default value: 1.0.0
relativePathToLogs¶
Description
Relative paths to logs directories.
Key
Type: String
Default value: log,app
relativePathToApps¶
Description
Relative path to applications directory.
Key
Type: String
Default value: app
selfHealingManager¶
version¶
Description
Version of tcp port manager.
Key
Type: String
Default value: 1.0.0
howOftenCheckingProcess¶
Description
Interval between checking process, in milliseconds.
Key
Type: Integer
Default value: 5000
restartOSProcessDelay¶
Description
Delay after os process restart, in milliseconds.
Key
Type: Integer
Default value: 0
checkOsProcesses¶
Description
If true, self healing manager will check the os processes.
Key
Type: Boolean
Default value: true
checkOsProcesses: true
tcpPortManager¶
version¶
Description
Version of tcp port manager.
Key
Type: String
Default value: 1.0.0
portRange¶
min¶
Description
Lower value of the port range.
Key
Type: Integer
Default value: 10000
max¶
Description
Upper value of the port range.
Key
Type: Integer
Default value: 20000
transferManager¶
version¶
Description
Version of transfer manager.
Key
Type: String
Default value: 1.0.0
uploadAppDirectory¶
Description
Path to application upload directory.
Key
Type: String
Default value: upload-app
uploadNodeDirectory¶
Description
Path to node upload directory.
Key
Type: String
Default value: upload-node
resourceManager¶
version¶
Description
Version of resource manager.
Key
Type: String
Default value: 1.0.0
isActive¶
Description
If false, resourceManager will not be activated.
Key
Type: Boolean
Default value: true
register¶
url¶
Description
The URL where the node will try to register.
Key
Type: String
Default value: http://127.0.0.1:8050/onteon-api-access/api/nodes/register
probeAmount¶
Description
Number of registration attempts.
Key
Type: Integer
Default value: 5
waitTime¶
Description
Delay between attempts in milliseconds.
Key
Type: Integer
Default value: 20000
nodeApiPort¶
Description
Node api port.
Key
Type: Integer
Default value: 8030
serviceRepositoryManager¶
version¶
Description
Version of Service Repository Manager.
Key
Type: String
Default value: 1.0.0
localIp¶
Description
Local ip address used when application is running on local node.
Key
Type: String
Default value: 127.0.0.1
exposeAllIpAddresses¶
Description
If true, all available ip addresses will be exposed for other nodes.
Key
Type: Boolean
Default value: false
healthCheckInterval¶
Description
Interval between health checks, in milliseconds.
Key
Type: Integer
Default value: 1000
timeWaitAfterInstanceUnregister¶
Description
Waiting time after unregistering instance, in milliseconds.
Key
Type: Integer
Default value: 45000