Comet

Configuration parameters

You can specify configurations by editing the config.sh file.

Variable name Description Default value
COMET A sub-domain name of Comet (empty)
CYGNUS A sub-domain name of Cygnus (empty)
COMET_FORMAL_MODE Set comet mode when Cygnus is enabled. false: minimal mode (STH-Comet only), true: formal mode (Cygnus + STH-Comet) (true)
COMET_EXPOSE_PORT Expose port for Comet. (none, local, all) none
COMET_LOGOPS_LEVEL Set logging level for Comet. (DEBUG, INFO, WARN, ERROR or FATAL) INFO

How to setup

Minimal mode (STH-Comet ONLY)

The minimal mode persists Time Series Context Data into MongoDB through Comet. To set up Comet with minimal mode (STH-Comet ONLY), configure an environment variable in config.sh. Set a sub-domain name for Comet to COMET= as shown:

COMET=comet

Formal mode (Cygnus + STH-Comet)

The formal mode persists Time Series Context Data into MongoDB through Cygnus. To set up Comet with formal mode (Cygnus + STH-Comet), configure an environment variable in config.sh. Set a sub-domain name for Comet and Cygnus to COMET= and CYGNUS= as shown:

COMET=comet
CYGNUS=cygnus

When set a sub-domain name for Comet and Cygnus to COMET= and CYGNUS= and set COMET\_FORMAL\_MODE to false, Comet runs in the minimal mode.