Important:
Make sure to edit the configuration files under the $K2_HOME/config directory and not under the template directory. Configuration files should be edited on all Fabric nodes so it will become effective on the cluster level.
Configuration File |
Description |
|
Fabric's main configuration file holding different sections of parameters where each section has its own parameters. Default Fabric values are set for commented parameters. |
iifConfig.ini |
The IIDFinder mechanism's main configuration file. |
List of Fabric node identifiers for the Affinity mechanism. Supports several Fabric clusters on one Cassandra cluster. |
|
logback.xml, logback-iid_finder.xml, and logback-init_finder.xml |
Fabric logs configuration files. |
jvm.options |
Sets the flags used by Fabric to startup the JVM (Java Virtual Machine). For example: To use the machine's local timezone, uncomment the -DFABRIC_LOCAL_TIMEZONE parameter and set it to true to use the local time-zone of the Fabric server. |
jmxremote.access and jmxremote.password |
Remote JMX API access to monitoring. |
modules |
List of internal Fabric modules. Each module depends on the previous modules in the file. You can comment some internal Fabric modules and restart the Fabric node to avoid starting the commented modules and have a lightweight start on Fabric. For example: comment the jobs module to avoid running jobs on the Fabric node. The following modules can be commented:
|
Fabric's main configuration file which holds different sections of parameters where each section has it own parameter. Default Fabric values for commented parameters.
Parameters Category |
Section Names |
Main Parameters |
Cassandra Connection |
|
Configurations for creating a connection to the Cassandra cluster:
|
Fabric Settings |
|
|
|
|
|
|
|
|
Parsers |
|
|
IIDFinder |
|
|
Cassandra Loader- loader configuration |
|
Cassandra Loader configuration. The default setting of default_loader for parsers, batch processes, or IIDFinder activities can be overridden. |
Cassandra loader- session configuration |
|
Overrides the default_session for the sessions, created for Cassandra Loader operations (parsers, batch process, IIDFinder) |
CommonDB Reference Tables |
|
|
LUI Storage |
|
|
Fabric Security Hardening |
|
|
|
|
|
Consistency Level |
|
|
Fabric is a multi-node, multi Datacenter (DC) system which interacts and exchanges data with target and source systems and exposes APIs. This may present a challenge when dealing with time zones.
By default, Fabric is configured to use the Coordinated Universal Time (UTC) zone, regardless of the time zone of the host server. UTC is roughly equivalent to GMT time but does not observe Day Light Saving.
When getting data from source systems and storing it in Fabric, the best practice is to normalize all timestamps (populated in Fabric) to UTC and store any additional time zone information in separate fields.
When exposing or exporting data to upstream systems that require a different time presentation, the conversion should be done during the data movement (not stored in Fabric) and planned per consumer. This behavior makes it easier to process logs and analyze data interchange of cross time zones datacenters, nodes and external systems.
Fabric does allow changing this default behavior and changing the process time zone from UTC to the server's local time:
To change how data is saved to Fabric, open the config.ini file in the config folder and change the DATETIME_FORMAT_LOCAL_TIMEZONE parameter as follows:
DATETIME_FORMAT_LOCAL_TIMEZONE=true
This affects the conversion of Date objects to a table field entry in the Fabric database and formats them according to the Wall Time of the local time zone.
Note that you must restart Fabric after making these updates.
Since these entries affect different stages of data intake and exposure, it is important to test the Date format after changing them to make sure the required format is achieved against all sources and data types. Changes will not affect data already in the database.
This file lists Fabric node identifiers for the Affinity mechanism. The following identifiers can be set in the node.id file:
Fabric adds a notification to the k2fabric.log if the updates are loaded automatically to Fabric. If the changes require a restart of the Fabric node, Fabric adds a warning to the log file.
Examples:
Fabric must be restarted to apply the updates.
When updating the iifConfig.ini, do the following:
Click for more information about the IIDFinder Process.
Important:
Make sure to edit the configuration files under the $K2_HOME/config directory and not under the template directory. Configuration files should be edited on all Fabric nodes so it will become effective on the cluster level.
Configuration File |
Description |
|
Fabric's main configuration file holding different sections of parameters where each section has its own parameters. Default Fabric values are set for commented parameters. |
iifConfig.ini |
The IIDFinder mechanism's main configuration file. |
List of Fabric node identifiers for the Affinity mechanism. Supports several Fabric clusters on one Cassandra cluster. |
|
logback.xml, logback-iid_finder.xml, and logback-init_finder.xml |
Fabric logs configuration files. |
jvm.options |
Sets the flags used by Fabric to startup the JVM (Java Virtual Machine). For example: To use the machine's local timezone, uncomment the -DFABRIC_LOCAL_TIMEZONE parameter and set it to true to use the local time-zone of the Fabric server. |
jmxremote.access and jmxremote.password |
Remote JMX API access to monitoring. |
modules |
List of internal Fabric modules. Each module depends on the previous modules in the file. You can comment some internal Fabric modules and restart the Fabric node to avoid starting the commented modules and have a lightweight start on Fabric. For example: comment the jobs module to avoid running jobs on the Fabric node. The following modules can be commented:
|
Fabric's main configuration file which holds different sections of parameters where each section has it own parameter. Default Fabric values for commented parameters.
Parameters Category |
Section Names |
Main Parameters |
Cassandra Connection |
|
Configurations for creating a connection to the Cassandra cluster:
|
Fabric Settings |
|
|
|
|
|
|
|
|
Parsers |
|
|
IIDFinder |
|
|
Cassandra Loader- loader configuration |
|
Cassandra Loader configuration. The default setting of default_loader for parsers, batch processes, or IIDFinder activities can be overridden. |
Cassandra loader- session configuration |
|
Overrides the default_session for the sessions, created for Cassandra Loader operations (parsers, batch process, IIDFinder) |
CommonDB Reference Tables |
|
|
LUI Storage |
|
|
Fabric Security Hardening |
|
|
|
|
|
Consistency Level |
|
|
Fabric is a multi-node, multi Datacenter (DC) system which interacts and exchanges data with target and source systems and exposes APIs. This may present a challenge when dealing with time zones.
By default, Fabric is configured to use the Coordinated Universal Time (UTC) zone, regardless of the time zone of the host server. UTC is roughly equivalent to GMT time but does not observe Day Light Saving.
When getting data from source systems and storing it in Fabric, the best practice is to normalize all timestamps (populated in Fabric) to UTC and store any additional time zone information in separate fields.
When exposing or exporting data to upstream systems that require a different time presentation, the conversion should be done during the data movement (not stored in Fabric) and planned per consumer. This behavior makes it easier to process logs and analyze data interchange of cross time zones datacenters, nodes and external systems.
Fabric does allow changing this default behavior and changing the process time zone from UTC to the server's local time:
To change how data is saved to Fabric, open the config.ini file in the config folder and change the DATETIME_FORMAT_LOCAL_TIMEZONE parameter as follows:
DATETIME_FORMAT_LOCAL_TIMEZONE=true
This affects the conversion of Date objects to a table field entry in the Fabric database and formats them according to the Wall Time of the local time zone.
Note that you must restart Fabric after making these updates.
Since these entries affect different stages of data intake and exposure, it is important to test the Date format after changing them to make sure the required format is achieved against all sources and data types. Changes will not affect data already in the database.
This file lists Fabric node identifiers for the Affinity mechanism. The following identifiers can be set in the node.id file:
Fabric adds a notification to the k2fabric.log if the updates are loaded automatically to Fabric. If the changes require a restart of the Fabric node, Fabric adds a warning to the log file.
Examples:
Fabric must be restarted to apply the updates.
When updating the iifConfig.ini, do the following:
Click for more information about the IIDFinder Process.