The expression for calculating the disk usage required by the CEP Server is shown below.
Disk usage required = (A + B + C + D + E + F + G + H) x 1.2
Item | Explanation | Directory | Estimated disk usage |
---|---|---|---|
A | Base disk usage | The directories are as follows: /opt /etc/opt /var/opt | The estimated disk usage is as follows: /opt: 900 MB /etc/opt: 30 MB /var/opt: 60 MB |
B | Event log (Before the high-speed filter is used) | Refer to "5.6.4.1 Output Destination and File Format of an Event Log". | (*1) |
C | Event log (After complex event processing) | Refer to "5.6.4.1 Output Destination and File Format of an Event Log". | (*2) |
D | Resource log | High-speed filter: /var/opt/FJSVcep/cep/flt/logs/ResourceLog/cepEngineName Complex event processing: /var/opt/FJSVcep/cep/cep/logs/ResourceLog/cepEngineName | The estimation expression is shown below. (MB) 2 MB x numberOfCepEngines |
E | Engine log | High-speed filter: /var/opt/FJSVcep/cep/flt/logs/EngineLog/cepEngineName Complex event processing: /var/opt/FJSVcep/cep/cep/logs/EngineLog/cepEngineName | The estimation expression is shown below. (MB) 200 MB x numberOfCepEngines |
F | Custom log | /var/opt/FJSVcep/cep/cep/logs/EngineLog/cepEngineName | The estimation expression is shown below. (MB) 100 MB x numberOfCepEnginesToBeUsed |
G | Master data | This will be the path specified in "dataFile" in the master definition file. Refer to "9.2.3 Master Definition File" for details. | This will be the master data file size. |
H | Maintenance log of the high-speed filter | /var/opt/FJSVisjee/nodeagents/ijna/cepEngineName_Flt_Ins/current | The estimation expression is shown below. (MB) (totalNumberOfFilterStatementsDescribedInHighSpeedFilterRules x 1.6 + 0.2) x 4 MB |
I | Other maintenance logs (except for the above logs) | Logs in the following directories: /var/opt/FJSVisjee | The estimation expression is shown below. (MB) 1301 MB + 618 MB x numberOfCepEngines |
J | File output by the user-developed Java class (excluding the custom log) | Depends on the implementation of the user-developed Java class. | Disk usage depends on the implementation of the user-developed Java class. |
*1: Calculate the events to be logged by the input adapter. The expression is shown below.
Disk usage of event log (B) (KB) = Total amount of each diskUsageOfEventsToBeLogged
diskUsageOfEventsToBeLogged (KB)
= numberOfEventsReceivedPerSecond x averageDataSize (KB) x eventLogAccumulationPeriod (Seconds) x 1.2
*2: Calculate the data (events or processing results of rules) to be logged by complex event processing. The expression is shown below.
Disk usage of event log (C) (KB) = Total amount of each diskUsageOfDataToBeLogged
diskUsageOfDataToBeLogged (KB)
= numberOfDataOccurrencesPerSecond x averageDataSize (KB) x eventLogAccumulationPeriod (Seconds) x 1.2