Skip to content

Directory Structure

Abdullah Shah edited this page Jan 5, 2018 · 1 revision

The /opt/iccr/data directory contains a comma separted value (CSV) formattted file: iota-event.csv. The iota-event.csv file contains a record of the events that the ICCR executed when controlling and configuring the IOTA IRI process.

For example

2017-01-11T07:19:49.926,download,http://85.93.93.110/iri-1.1.2.3.jar,/opt/iccr/download/iri-1.1.2.3.jar.20170111071940 (5475212 bytes) 2017-01-11T07:19:50.046,install,/opt/iccr/download/iri-1.1.2.3.jar.20170111071940,/opt/iota/IRI.jar 2017-01-11T07:19:52.225,IOTA addNeighbors,,Neighbors configuration is empty 2017-01-11T07:19:52.225,start,java -jar IRI.jar -p 2017-01-11T07:22:35.061,stop, 2017-01-11T07:23:19.239,IOTA addNeighbors,,Neighbors configuration is empty 2017-01-11T07:23:19.239,start,java -jar IRI.jar -p 2017-01-11T07:24:34.422,stop,

The /opt/iccr/conf directory contains the iccr.properties file and the ICCR pki files that enable secure HTTPS transport.

The /opt/iccr/logs directory is the location where the ICCR log file iccr.log is written to.

The /opt/iccr/lib directory is the location containing the single ICCR uber-JAR file that is executed when the iccr-ctl script is used to start ICCR.

The /opt/iccr/bin directory contains scripts used by ICCR.

The /opt/iccr/tmp directory is used by ICCR, when downloading new versions of the IRI. Newly downloaded IRI files are first written to this temporary directory before being copied to the final /opt/iota.

The /opt/iccr/bak directory contains backup copies of previous versions of the IOTA IRI file. After downloading a new version of the IOTA IRI file, ICCR will copy the previous version into /opt/iccr/bak to provide for a disaster recovery possibility. ICCR will not automatically restore any previous IRI version, it only makes copies of previous versions to allow the system administrator to manually execute a previous version if needed.

The /opt/iccr/download directory contains the newly downloaded copy of the IOTA IRI file, while ICCR is downloading and installing a new version of the IOTA IRI. The newly downloaded IRI will be written into this directory, then copied into the configured IOTA directory.

Clone this wiki locally