2020-06-30 16:22:26 -06:00
# EDEX Settings
2018-09-05 11:41:31 -06:00
## Plugin Configuration
2020-06-30 16:22:26 -06:00
The directory ** /awips2/edex/conf/resources** contains configuration text files for specific plugins, which allow for user-defined values which are read by AWIPS plugins on EDEX start:
2018-09-05 11:41:31 -06:00
2020-06-30 16:22:26 -06:00
acarssounding.properties
autobldsrv.properties
2018-09-05 11:41:31 -06:00
com.raytheon.edex.plugin.gfe.properties
com.raytheon.edex.text.properties
2020-06-30 16:22:26 -06:00
com.raytheon.uf.common.registry.ebxml.properties
2018-09-05 11:41:31 -06:00
com.raytheon.uf.edex.archive.cron.properties
com.raytheon.uf.edex.database.properties
com.raytheon.uf.edex.registry.ebxml.properties
distribution.properties
edex-localization-http.properties
edex-requestsrv.properties
2020-06-30 16:22:26 -06:00
edex-uengine.properties
eventBus.properties
ftp.properties
2018-09-05 11:41:31 -06:00
goesr.properties
2019-03-21 15:54:02 -06:00
grib.properties
2020-06-30 16:22:26 -06:00
maintenance.properties
proxy.properties
2018-09-05 11:41:31 -06:00
purge.properties
2020-06-30 16:22:26 -06:00
quartz.properties
2019-03-21 15:54:02 -06:00
radar.properties
2020-06-30 16:22:26 -06:00
stats.properties
textdbsrv.properties
2018-09-05 11:41:31 -06:00
warning.properties
2020-06-30 16:22:26 -06:00
Look at **purge.properties** for example:
2018-09-05 11:41:31 -06:00
# Master switch to enable and disable purging
purge.enabled=true
# Interval at which the purge job kicks off
purge.cron=0+0/15+*+*+*+?
# Interval at which the outgoing files are purged
purge.outgoing.cron=0+30+*+*+*+?
# Interval at which the logs are purged
purge.logs.cron=0+30+0+*+*+?
# Interval at which hdf5 orphans are purged
purge.orphan.period=24h
# Number of days older than the earliest known data to delete.
purge.orphan.buffer=7
2020-06-30 16:22:26 -06:00
...
2018-09-05 11:41:31 -06:00
2020-06-30 16:22:26 -06:00
In **grib.properties** , **goesr.properties** , and **radar.properties** you can adjust the number of decoder threads for each plugin.
2018-09-05 11:41:31 -06:00
2019-03-21 15:54:02 -06:00
cat radar.properties
2018-09-05 11:41:31 -06:00
# Number threads for radar products ingested from the SBN
radar-decode.sbn.threads=5
---
## Ingest Modes
By default, EDEX starts three "modes": *ingest* , *ingestGrib* , and *request* (each as its own JVM).
2020-06-30 16:22:26 -06:00
The file ** /awips2/edex/conf/modes/modes.xml** contains all available mode definitions, including some specific modes for Hydro Server Applications, ebXML Registries, Data Delivery, and more.
2018-09-05 11:41:31 -06:00
EDEX services are registered through spring, and by including or excluding specific spring files (usually by datatype plugin name) we can finely customize EDEX startup.
2020-06-30 16:22:26 -06:00
In ** /awips2/edex/conf/modes/modes.xml** there are a number of unused plugin decoders excluded because the data are not available outside of the SBN:
2018-09-05 11:41:31 -06:00
...
< mode name = "ingest" >
< exclude > .*request.*< / exclude >
< exclude > edex-security.xml< / exclude >
< exclude > ebxml.*\.xml</ exclude >
< exclude > grib-decode.xml< / exclude >
< exclude > grid-staticdata-process.xml< / exclude >
2020-06-30 16:22:26 -06:00
< exclude > .*(dpa|taf|nctext).*< / exclude >
2018-09-05 11:41:31 -06:00
< exclude > webservices.xml< / exclude >
< exclude > .*datadelivery.*< / exclude >
< exclude > .*bandwidth.*< / exclude >
< exclude > .*sbn-simulator.*< / exclude >
2020-06-30 16:22:26 -06:00
< exclude > hydrodualpol-ingest.xml< / exclude >
2018-09-05 11:41:31 -06:00
< exclude > grid-metadata.xml< / exclude >
< exclude > .*ogc.*< / exclude >
2020-06-30 16:22:26 -06:00
< exclude > obs-ingest-metarshef.xml< / exclude >
< exclude > ffmp-ingest.xml< / exclude >
< exclude > scan-ingest.xml< / exclude >
< exclude > cwat-ingest.xml< / exclude >
< exclude > fog-ingest.xml< / exclude >
< exclude > vil-ingest.xml< / exclude >
< exclude > preciprate-ingest.xml< / exclude >
< exclude > qpf-ingest.xml< / exclude >
< exclude > fssobs-ingest.xml< / exclude >
< exclude > cpgsrv-spring.xml< / exclude >
2018-09-05 11:41:31 -06:00
< / mode >
...
2020-06-30 16:22:26 -06:00
In this example, request, ebXML, grib plugins, OGC and other plugins are excluded because they are included in their own mode/JVM.
2018-09-05 11:41:31 -06:00
2020-06-30 16:22:26 -06:00
> **Note**: TAF and NCTEXT plugins are disabled here due to performance issues.
2018-09-05 11:41:31 -06:00
---
## JVM Memory
2020-06-30 16:22:26 -06:00
The directory ** /awips2/edex/etc/** contains files which define the amount of memory used for each of the three EDEX JVMs (ingest, ingestGrib, request):
2018-09-05 11:41:31 -06:00
ls -al /awips2/edex/etc/
-rw-r--r-- 1 awips fxalpha 1287 Jul 24 18:41 centralRegistry.sh
-rw-r--r-- 1 awips fxalpha 1155 Jul 24 18:42 default.sh
-rw-r--r-- 1 awips fxalpha 1956 Jul 24 18:41 ingestGrib.sh
-rw-r--r-- 1 awips fxalpha 337 Jul 24 18:36 ingest.sh
-rw-r--r-- 1 awips fxalpha 848 Jul 24 18:42 profiler.sh
-rw-r--r-- 1 awips fxalpha 1188 Jul 24 18:41 registry.sh
-rw-r--r-- 1 awips fxalpha 601 Jul 24 18:36 request.sh
Each file contains the **Xmx** definition for maximum memory:
2020-06-30 16:22:26 -06:00
...
export INIT_MEM=512 # in Meg
export MAX_MEM=4096 # in Meg
...
2018-09-05 11:41:31 -06:00
2020-06-30 16:22:26 -06:00
After editing these files, you must restart : `service edex_camel restart` .
2018-09-05 11:41:31 -06:00
---