Onteon Control Center - Configuration¶
Onteon Control Center main configuration file (onteon-control-center/conf/conf.yml) has exactly the same structure as Onteon Node Manager Configuration file.
Core Microservice Configuration¶
To configure Core Microservice edit startJvmCommand in the onteon-control-center/app/core-microservice/${version}/${applicationId}/conf/conf.yml.
For example:
Example startJvmCommand:
startJvmCommand: 'java -jar -Dlog-directory=${application-instance-logs-path} -Dhttp-port=${application-instance-port-1} -Ddb-uris=http://localhost:7021/_by_name/falcon-db-core-occ-microservice -Dwait-for-start-db-time-in-millis=120000 -Dtime-to-remove-inaccessible-nodes=60000 -Dtime-to-release-result-of-asynchronous-operations=14400000 -Dis-log-operation-on-node-manager=true -Dconnection-timeout-to-check-node-manager=500 -Dconnection-timeout-to-execute-command-on-node-manager=500 -Dread-timeout-to-execute-command-on-node-manager=180000 -Dis-return-register-response-asynchronously=true -Dwait-time-between-operations-on-node-managers-in-millis=20000 -Dnumber-of-simultaneous-registrations=3500 -Dis-check-connection-to-node-managers-during-register-process=false -Dis-execute-operation-default-in-asynchronous-mode=false -Dis-execute-operation-default-in-force-mode=false -Dasynchronous-execution-thread-pool-size=8 -Dregister-execution-thread-pool-size=16 -Dnode-manager-contract-version=1.1 -Dvertx.options.workerPoolSize=16 -Dvertx.options.maxWorkerExecuteTime=30 -Dvertx.options.maxWorkerExecuteTimeUnit=MINUTES -Dvertx.options.eventLoopPoolSize=8 -Dvertx.options.maxEventLoopExecuteTime=30 -Dvertx.options.maxEventLoopExecuteTimeUnit=SECONDS -Dstartup-occ-api-token=a9f3c2e8b47d6a1f09ce5d24b8a7e3f2 -Dstartup-occ-api-secure-token=7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8c -Dstartup-onm-api-token=a9f3c2e8b47d6a1f09ce5d24b8a7e3f1 -Dstartup-onm-api-secure-token=7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8f -Dcdtp-connection-type=one-way -Dcdtp-path-to-server-trust=${node-manager-path}/tls/server-trusts/occ/server-trusts.crt -Dlocal-node-api-port=7030 -Dlocal-node-ip=127.0.0.1 -Dservice-repository-loop-enabled=true -Dservice-repository-loop-frequency-in-millis=10000'
-Ddb-uris¶
Description
Database URIs.
Key
Type: String
Default value: http://localhost:7021/_by_name/falcon-db-core-occ-microservice
-Dwait-for-start-db-time-in-millis¶
Description
Timeout for database start in milliseconds
Key
Type: Long
Default value: 120000
-Dnode-manager-contract-version¶
Description
CDTP communication version.
Key
Type: String
Default value: 1.1
-Dstartup-occ-api-token¶
Description
Startup OCC API Token. Token used in the Authorization header to authorize user for operations (client -> Onteon Control Center).
Key
Type: String
Default value: a9f3c2e8b47d6a1f09ce5d24b8a7e3f2
-Dstartup-occ-api-secure-token¶
Description
Startup OCC API Secure Token. Token used in Refresh-Token header used for security credentials purposes (client -> Onteon Control Center).
Key
Type: String
Default value: 7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8c
-Dstartup-onm-api-token¶
Description
Startup ONM API Token. Token for authorization of internal operations (Onteon Control Center -> Onteon Node Manager).
Key
Type: String
Default value: a9f3c2e8b47d6a1f09ce5d24b8a7e3f1
-Dstartup-onm-api-secure-token¶
Description
Startup ONM API Secure Token. Authorization token for internal security credentials rotation operations (Onteon Control Center -> Onteon Node Manager).
Key
Type: String
Default value: 7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8f
-Dcdtp-connection-type¶
Description
CDTP connection type (plain, one-way, two-way).
Key
Type: String
Default value: one-way
-Dcdtp-path-to-server-trust¶
Description
Path to the startup CDTP server trust file. Defines, what CDTP SSL certificates should Onteon Control Center trust in communication with Onteon Node Managers. Key
Type: String
Default value: ${node-manager-path}/tls/server-trusts/occ/server-trusts.crt
-Dconnection-timeout-to-execute-command-on-node-manager¶
Description
Connection timeout to execute command on Onteon Node Manager.
Key
Type: Integer
Default value: 500
-Dread-timeout-to-execute-command-on-node-manager¶
Description
Read timeout to execute command on Onteon Node Manager.
Key
-Dtime-to-remove-inaccessible-nodes¶
Description
If Onteon Node Manager does not communicate in given period of time, it is removed from registered list.
Key
Type: Integer
Default value: 60000
-Dtime-to-release-result-of-asynchronous-operations¶
Description
Asynchronous operations results will be removed from the database after given amount of time.
Key
Type: Integer
Default value: 14400000
-Dconnection-timeout-to-check-node-manager¶
Description
Connection timeout for checking Onteon Node Manager
Key
Type: Integer
Default value: 500
-Dis-return-register-response-asynchronously¶
Description
Is regiter response, returned asynchronously.
Key
Type: Boolean
Default value: true
-Dwait-time-between-operations-on-node-managers-in-millis¶
Description
Default wait time between operations executed on Onteon Node Managers in milliseconds.
Key
Type: Integer
Default value: 0
-Dnumber-of-simultaneous-registrations¶
Description
Number of simultaneous Onteon Node Manager registrations. If this limit is reached, Onteon Control Center does not allow Onteon Node Managers to register in that particular moment. Onteon Node Managers will retry the registration process later, until Onteon Control Center allows registration again.
Key
Type: Integer
Default value: 3500
-Dis-check-connection-to-node-managers-during-register-process¶
Description
Whether to check connection to all Onteon Node Managers addresses, while they are registering synchronously. In case of huge environments with a lot of Onteon Node Managers registering, it is recommended to keep this flag false as this operation can be very demanding. For smaller environments, it does not have any effect on the system.
Key
Type: Boolean
Default value: false
-Dis-execute-operation-default-in-asynchronous-mode¶
Description
Is execute operation in asynchronous mode by default (when not specified).
Key
Type: Boolean
Default value: false
-Dis-execute-operation-default-in-force-mode¶
Description
Is execute operation in force mode by default (when not specified).
Key
Type: Boolean
Default value: false
-Dasynchronous-execution-thread-pool-size¶
Description
Size of asynchronous execution thread pool.
Key
Type: Integer
Default value: 8
-Dregister-execution-thread-pool-size¶
Description
Size of registration operations thread pool.
Key
Type: Integer
Default value: 16
-Dlocal-node-api-port¶
Description
CDTP API port of a local Onteon Control Center node.
Key
Type: Integer
Default value: 7030
-Dlocal-node-ip¶
Description
IP address of a local node.
Key
Type: String
Default value: 127.0.0.1
-Dservice-repository-loop-enabled¶
Description
If service repository loop (sending service repository across Onteon Node Managers) should be enabled.
Key
Type: Boolean
Default value: true
-Dservice-repository-loop-frequency-in-millis¶
Description
How often to run service repository loop in milliseconds.
Key
Type: Integer
Default value: 10000
-Dvertx.options.workerPoolSize¶
Description
Worker thread pool size.
Key
Type: Integer
Default value: 16
-Dvertx.options.maxWorkerExecuteTime¶
Description
Maximum worker execution time.
Key
Type: Integer
Default value: 30
-Dvertx.options.maxWorkerExecuteTimeUnit¶
Description
Maximum worker execution time unit.
Key
Type: String
Default value: MINUTES
-Dvertx.options.eventLoopPoolSize¶
Description
Event loop thread pool size.
Key
Type: Integer
Default value: 8
-Dvertx.options.maxEventLoopExecuteTime¶
Description
Maximum event loop execution time.
Key
Type: Integer
Default value: 30
-Dvertx.options.maxEventLoopExecuteTimeUnit¶
Description
Maximum event loop execution time unit.
Key
Type: String
Default value: SECONDS
Streaming Microservice Configuration¶
To configure Core Microservice edit startJvmCommand in the onteon-control-center/app/streaming-microservice/${version}/${applicationId}/conf/conf.yml.
For example:
Example startJvmCommand:
startJvmCommand: 'java -jar -Dlog-directory=${application-instance-logs-path} -Dhttp-port=${application-instance-port-1} -Ddb-uris=http://${node-manager-public-ip}:7021/_by_name/falcon-db-core-occ-microservice -Dwait-for-start-db-time-in-millis=120000 -Dexecution-command-thread-pool-size=16 -Dhttp-server-thread-pool-size=16 -Dnode-manager-contract-version=1.1 -Dbucket-size-in-one-thread=100 -Dstartup-occ-api-token=a9f3c2e8b47d6a1f09ce5d24b8a7e3f2 -Dstartup-occ-api-secure-token=7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8c -Dstartup-onm-api-token=a9f3c2e8b47d6a1f09ce5d24b8a7e3f1 -Dstartup-onm-api-secure-token=7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8f -Dcdtp-connection-type=one-way -Dcdtp-path-to-server-trust=${node-manager-path}/tls/server-trusts/occ/server-trusts.crt -Dconnection-timeout-to-execute-command-on-node-manager=500 -Dread-timeout-to-execute-command-on-node-manager=180000'
-Ddb-uris¶
Description
Database URIs.
Key
Type: String
Default value: http://localhost:7021/_by_name/falcon-db-core-occ-microservice
-Dwait-for-start-db-time-in-millis¶
Description
Timeout for database start in milliseconds
Key
Type: Long
Default value: 120000
-Dnode-manager-contract-version¶
Description
CDTP communication version.
Key
Type: String
Default value: 1.1
-Dstartup-occ-api-token¶
Description
Startup OCC API Token.
Key
Type: String
Default value: a9f3c2e8b47d6a1f09ce5d24b8a7e3f2
-Dstartup-occ-api-secure-token¶
Description
Startup OCC API Secure Token.
Key
Type: String
Default value: 7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8c
-Dstartup-onm-api-token¶
Description
Startup ONM API Token.
Key
Type: String
Default value: a9f3c2e8b47d6a1f09ce5d24b8a7e3f1
-Dstartup-onm-api-secure-token¶
Description
Startup ONM API Secure Token.
Key
Type: String
Default value: 7e4a9c2f1b8d0e6c5a3f9d2b4e7a1c8f
-Dcdtp-connection-type¶
Description
CDTP connection type (plain, one-way, two-way).
Key
Type: String
Default value: one-way
-Dcdtp-path-to-server-trust¶
Description
Path to the startup CDTP server trust file.
Key
Type: String
Default value: ${node-manager-path}/tls/server-trusts/occ/server-trusts.crt
-Dconnection-timeout-to-execute-command-on-node-manager¶
Description
Connection timeout to execute command on Onteon Node Manager.
Key
Type: Integer
Default value: 500
-Dread-timeout-to-execute-command-on-node-manager¶
Description
Read timeout to execute command on Onteon Node Manager.
Key
Type: Integer
Default value: 180000
-Dexecution-command-thread-pool-size¶
Description
Execute command thread pool size.
Key
Type: Integer
Default value: 16
-Dhttp-server-thread-pool-size¶
Description
Http server thread pool size.
Key
Type: Integer
Default value: 16
-Dbucket-size-in-one-thread¶
Description
Bucket size in single thread.
Key
Type: Integer
Default value: 100