Skip to main content
Version: 6.1

Node Configuration

Node configuration parameters are specified in /app/smrtc/config/smrtc.yml. The installer populates the values during installation. See Installation. The smrtc process reads them once at startup.

Important

Changing node configuration parameters requires restarting the smrtc service and must be performed separately on each node. These parameters cannot be viewed or edited in the Smart Monitor interface.

Each parameter can be specified either as a key in smrtc.yml or as an environment variable. Both methods are equivalent.

Network and Ports

ParameterPath in smrtc.ymlDescriptionDefault
NODE_PORTnode.portPublic port for event ingestion, the management API, and /health9919
TRANSPORT_PORTnode.transport_portInter-node communication port9910
CLUSTER_NAMEcluster.nameCluster name; must be the same on all nodes and match the OU field in the node certificatesmrtc_cluster
NODE_ROLESroles (top-level list without a section)Node roles; master indicates a metadata quorum member, while an empty value indicates a non-voting replicaempty
CLUSTER_NODEScluster.nodes (list)Node addresses used to join the clusterempty
CLUSTER_ADVERTISE_URLnode.advertise_urlAddress that the node advertises to other nodesempty

TLS

ParameterPath in smrtc.ymlDescriptionDefault
TLS_ENABLEDtls.enabledEnables TLSfalse
TLS_CERT_FILEtls.cert_fileNode certificateempty
TLS_KEY_FILEtls.key_fileNode private keyempty
TLS_CA_CERT_FILEtls.ca_cert_fileCertificate authority certificateempty

Authentication and Keystore

ParameterPath in smrtc.ymlDescriptionDefault
DEFAULT_ADMIN_USERadmin.userLocal administrator username; the password is stored in the keystoreadmin
KEYSTORE_FILEkeystore.fileEncrypted secret file/app/smrtc/config/keystore
KEYSTORE_PASSPHRASEkeystore.passphraseKeystore passphrasenot set

Data Directories

ParameterPath in smrtc.ymlDescriptionDefault
METADATA_DATA_DIRdata.metadata_dirMetadata directory/app/smrtc/data/metadata
CLUSTER_DATA_DIRcluster.data_dirCluster state directory/app/smrtc/data/cluster
TELEMETRY_DATA_DIRdata.telemetry_dirTelemetry directory/app/smrtc/data/telemetry
FIRES_DATA_DIRdata.fires_dirFiring log directory/app/smrtc/data/fires
ACTIVE_LISTS_DATA_DIRdata.active_lists_dirActive lists directory/app/smrtc/data/active-lists

Engine and Queue

ParameterPath in smrtc.ymlDescriptionDefault
WORKER_COUNTengine.worker_countWorker pool size and number of internal correlation shards; 0 uses the number of CPU cores0
STATE_MAX_GROUPSengine.state_max_groupsMaximum number of correlation groups in memory5000000

Memory Circuit Breaker

ParameterPath in smrtc.ymlDescriptionDefault
INGEST_MEMORY_CB_ENABLEDmemory_circuit_breaker.enabledMemory circuit breaker for event ingestiontrue
INGEST_MEMORY_CB_LIMIT_BYTESmemory_circuit_breaker.limit_bytesMemory limit in bytes; 0 is determined automatically0
INGEST_MEMORY_CB_SOFT_PCTmemory_circuit_breaker.soft_pctSoft limit threshold as a percentage of the limit85
INGEST_MEMORY_CB_HARD_PCTmemory_circuit_breaker.hard_pctHard limit threshold as a percentage of the limit92
INGEST_MEMORY_CB_RELEASE_PCTmemory_circuit_breaker.release_pctLimit release threshold as a percentage of the limit75

Logging

ParameterPath in smrtc.ymlDescriptionDefault
LOG_FILElog.fileLog file; an empty value sends output to journaldempty
LOG_MAX_SIZE_MBlog.max_size_mbLog file size before rotation, MB100
LOG_MAX_BACKUPSlog.max_backupsNumber of retained log archives14
LOG_COMPRESSlog.compressCompresses log archivestrue