2022-05-05 12:34:50 -05:00
|
|
|
### EDEX localization related variables ###
|
|
|
|
export AW_SITE_IDENTIFIER=OAX
|
|
|
|
## Cluster id can be set to the cluster's id (example:tbw for dv1-tbwo)
|
|
|
|
## it will be autogenerated if not set
|
2022-09-21 15:14:18 -07:00
|
|
|
export EXT_ADDR=external.fqdn
|
|
|
|
|
2022-05-05 12:34:50 -05:00
|
|
|
export CLUSTER_ID=
|
|
|
|
|
|
|
|
# database names
|
|
|
|
export DC_DB_NAME=dc_ob7oax
|
|
|
|
export FXA_DB_NAME=fxatext
|
|
|
|
export HM_DB_NAME=hmdb
|
|
|
|
export IH_DB_NAME=hd_ob92oax
|
|
|
|
export CLIMATE_DB_NAME=climate
|
|
|
|
|
|
|
|
# Resolve conflict on AFOS PILs by finding site with first letter in the following order.
|
|
|
|
export PREFERRED_AFOS_FIRST_LETTER="KCPTXM"
|
|
|
|
### end of localization variables ###
|
|
|
|
|
|
|
|
# setup environment for HPE
|
|
|
|
export DATA_ARCHIVE_ROOT=/tmp/sbn
|
|
|
|
|
|
|
|
# setup db connections
|
|
|
|
export DB_HOST=localhost
|
|
|
|
export DB_PORT=5432
|
|
|
|
export DB_SSLMODE=verify-ca
|
|
|
|
|
|
|
|
# setup connection to qpid
|
|
|
|
export BROKER_HOST=localhost
|
|
|
|
export BROKER_PORT=5672
|
|
|
|
export BROKER_HTTP=8180
|
|
|
|
|
|
|
|
# setup ignite
|
2022-09-21 15:14:18 -07:00
|
|
|
#export DATASTORE_PROVIDER=${DATASTORE_PROVIDER:-ignite}
|
|
|
|
export DATASTORE_PROVIDER=pypies
|
2022-05-05 12:34:50 -05:00
|
|
|
# Server that redirects PYPIES http requests to ignite
|
|
|
|
export PYPIES_COMPATIBILITY_HOST=localhost
|
|
|
|
export PYPIES_COMPATIBILITY_PORT=9586
|
|
|
|
export PYPIES_COMPATIBILITY_SERVER=http://${PYPIES_COMPATIBILITY_HOST}:${PYPIES_COMPATIBILITY_PORT}
|
|
|
|
# The following two values are comma-delimited lists of the machines that are
|
|
|
|
# hosting each of the ignite cluster's servers (example: cache1,cache2,cache3
|
|
|
|
# and cache4,cache5,cache6). Leaving the second value blank indicates that only
|
|
|
|
# one cluster is being used. These values should be the same on all machines.
|
|
|
|
export IGNITE_CLUSTER_1_SERVERS=localhost
|
|
|
|
export IGNITE_CLUSTER_2_SERVERS=
|
|
|
|
# The address that other ignite nodes should use to communicate with this ignite client
|
|
|
|
export LOCAL_ADDRESS=127.0.0.1
|
|
|
|
export IGNITE_SSL_CERT_DB=/awips2/edex/conf/ignite/auth
|
|
|
|
|
|
|
|
# setup hdf5 connection
|
2022-09-21 15:14:18 -07:00
|
|
|
export PYPIES_HOST=${EXT_ADDR}
|
2022-05-05 12:34:50 -05:00
|
|
|
export PYPIES_PORT=9582
|
|
|
|
export PYPIES_SERVER=http://${PYPIES_HOST}:${PYPIES_PORT}
|
|
|
|
|
|
|
|
# moved here from environment.xml
|
|
|
|
# these values are returned to clients that contact the localization service
|
2022-09-21 15:14:18 -07:00
|
|
|
export HTTP_HOST=${EXT_ADDR}
|
2022-05-05 12:34:50 -05:00
|
|
|
export HTTP_PORT=9581
|
|
|
|
export HTTP_SERVER_PATH=services
|
|
|
|
export HTTP_SERVER=http://${HTTP_HOST}:${HTTP_PORT}/${HTTP_SERVER_PATH}
|
|
|
|
export JMS_SERVER=${BROKER_HOST}:${BROKER_PORT}
|
|
|
|
export JMS_VIRTUALHOST=edex
|
|
|
|
export JMS_SSL_ENABLED=true
|
|
|
|
export QPID_SSL_CERT_DB=/awips2/edex/conf/jms/auth
|
|
|
|
export QPID_SSL_CERT_NAME=guest
|
|
|
|
export RADAR_HOST=localhost
|
|
|
|
export RADAR_PORT=8813
|
|
|
|
export RADAR_SERVER=tcp://${RADAR_HOST}:${RADAR_PORT}
|
|
|
|
|
|
|
|
# set the AWIPS II shared directory
|
|
|
|
export SHARE_DIR=/awips2/edex/data/share
|
|
|
|
|
|
|
|
# set the AWIPS II temporary directory
|
|
|
|
export TEMP_DIR=/awips2/edex/data/tmp
|
|
|
|
|
|
|
|
# set hydroapps directory path
|
|
|
|
export apps_dir=${SHARE_DIR}/hydroapps
|
|
|
|
|
2022-10-28 11:51:10 -07:00
|
|
|
# site identifier for hydroapps
|
|
|
|
export SITE_IDENTIFIER=${AW_SITE_IDENTIFIER}
|
|
|
|
|
2022-05-05 12:34:50 -05:00
|
|
|
# set Fax environment variables pointing to ldad@ls1
|
|
|
|
export LDAD_EXTERNAL_HOME=/ldad
|
|
|
|
export LDAD_EXTERNAL_PUBLIC=/data/ldad/public
|
|
|
|
export AWIPS2_TEMP=/awips2/tmp
|