Created specific ldmd.conf files for our separate EDEX systems (main, radar, sat) so we weren't pulling more data than needed

This commit is contained in:
ucar-tmeyer 2023-05-23 16:55:43 +00:00
parent 8a8fba9b6f
commit ae1776a306
3 changed files with 478 additions and 0 deletions

View file

@ -0,0 +1,161 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
EXEC "pqact -e -k R -s e /awips2/ldm/etc/pqact.conf.priority"
EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-priority.log -s localhost --key-proj-id R --sem-proj-id e"
#EXEC "pqact -e -k S -s f /awips2/ldm/etc/pqact.conf"
#EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-std.log -s cpsbn1-oma.oma.us.ray.com --key-proj-id S --sem-proj-id f"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
#
# DEFAULT - Satellite Ancillary EDEX
#
REQUEST NIMAGE "CloudAndMoistureImagery" 10.0.0.233 # GOES Stiched Channels (Unidata)
REQUEST NIMAGE "GLMISatSS" 10.0.0.233 # GOES Stitched GLM from NWS ISatSS (Unidata)
REQUEST NIMAGE "CIRA" 10.0.0.233 # GOES CIRA RGBs (Unidata)
REQUEST HDS|NOTHER "IXT.[8-9]9" 10.0.0.233 # GOES Derived Products & Wind (SBN)
REQUEST NOTHER "^IXT[WXY]01" 10.0.0.233 # GOES Derived products-different WMO (COD, CPS, CTP) (SBN)
#REQUEST NOTHER "^TI[A-W]... KNES" 10.0.0.233 # VIIRS and GOES CMI (SBN)
#REQUEST DIFAX "OR_GLM-L2" 10.0.0.233 # GOES GLM Level 2 (SBN)
#REQUEST UNIWISC|NIMAGE ".*" 10.0.0.233 # AREA/GINI and GOES (NIMAGE feedtype includes DIFAX)
#REQUEST DIFAX "OR_ABI" 10.0.0.233 # GOES ABI netCDF4 (Unidata tiles - not using)
#REQUEST NOTHER "^TI[PRS]... KNES" 10.0.0.233 # GOES ABI gini (not using)
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
#
# Give permission to the Unidata Program Center
#ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -0,0 +1,167 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
EXEC "pqact -e -k R -s e /awips2/ldm/etc/pqact.conf.priority"
EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-priority.log -s localhost --key-proj-id R --sem-proj-id e"
#EXEC "pqact -e -k S -s f /awips2/ldm/etc/pqact.conf"
#EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-std.log -s cpsbn1-oma.oma.us.ray.com --key-proj-id S --sem-proj-id f"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
# DEFAULT
#REQUEST LIGHTNING ".*" 10.0.0.233 # USPLN
#REQUEST LIGHTNING ".*" striker.atmos.albany.edu # NLDN
REQUEST FNEXRAD ".*" 10.0.0.233 # MRMS - Unidata feed via NCEP
REQUEST WMO ".*" 10.0.0.233 # WMO Feedtype includes HDS|IDS|DDPLUS
REQUEST UNIWISC|NIMAGE ".*" 10.0.0.233 # AREA/GINI and GOES (NIMAGE feedtype includes DIFAX)
REQUEST NOTHER "^TI[A-Q]... KNES" 10.0.0.233 # VIIRS via SBN
REQUEST NGRID ".*" 10.0.0.233
#REQUEST HDS ".*" 10.0.0.233 # Duplicate
#REQUEST CMC ".*" 10.0.0.233 # CMC is an alias for GEM
#REQUEST FNMOC ".*" 10.0.0.233
REQUEST CONDUIT "nam" 10.0.0.233 # NAM12
REQUEST CONDUIT "pgrb2" 10.0.0.233 # GFS
#REQUEST CONDUIT "nwstg" 10.0.0.233 # NDFD
#REQUEST CONDUIT "awp252" 10.0.0.233 # RAP20
#REQUEST FSL2 "HRRR" 10.0.0.233 # HRRRX sub-hourly
REQUEST EXP "WwWind" 10.0.0.233 # ESPL/PSD Profilers
#REQUEST NGRID "^YAU[CDLMPQS]" 10.0.0.233 # MRMS-NOAAPort
REQUEST FSL2 "HRRR\.Smoke" 10.0.0.233 # HRRR Smoke
#
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
#
# Give permission to the Unidata Program Center
#ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################

View file

@ -0,0 +1,150 @@
#####
# $Id: ldmd.conf,v 1.18.12.5 2007/02/16 17:29:47 steve Exp $
# Sample ldmd.conf for ldm
####
#
# This is the main configuration file for the LDM server. All lines that start
# with a "#" sign are comments.
#
# To debug an LDM that hangs on start up, run the following from LDM home:
# % bin/rpc.ldmd -vl - -q data/ldm.pq etc/ldmd.conf
#
# If the LDM still hangs, comment out all lines in this file except noted
# allow line entry below, try again.
#
###############################################################################
# WARNING: Pathological Product-ID Patterns
###############################################################################
#
# The REQUEST and ACCEPT entries both have product-ID patterns that are regular
# expressions (RE-s). It is EXTREMELY IMPORTANT that these patterns not have a
# ".*" prefix because: 1) such a prefix accomplishes nothing (i.e., the set of
# possible matches is unaltered by the prefix); and 2) such a prefix causes the
# RE to take MUCH, MUCH LONGER TO EXECUTE (by 3 orders of magnitude in some
# cases). Therefore, DO NOT USE RE-s like
#
# ".*UFPBA"
#
# Instead, simply use
#
# "UFPBA"
#
# The regex(1) utility of this package can be used to examine the efficiency
# of an RE.
#
###############################################################################
# Include Statements
###############################################################################
#
# It's possible to include other files by uncommented-out statements
# like the following:
#
#INCLUDE pathname
#INCLUDE "pathname with spaces"
#
# Non-absolute pathnames are relative to the directory that contains the
# configuration-file with the include statement.
#
###############################################################################
# Exec Entries
###############################################################################
#
# Programs that can share a queue with rpc.ldmd server, these programs
# are started by the "exec" command and are in the same process group.
#
EXEC "pqact -e -k R -s e /awips2/ldm/etc/pqact.conf.priority"
EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-priority.log -s localhost --key-proj-id R --sem-proj-id e"
#EXEC "pqact -e -k S -s f /awips2/ldm/etc/pqact.conf"
#EXEC "edexBridge -vl /awips2/ldm/logs/edexBridge-std.log -s cpsbn1-oma.oma.us.ray.com --key-proj-id S --sem-proj-id f"
#
# rtstats uses the LDM to send product latency statistics to the UPC.
# For more info on rtstats please see the man page.
EXEC "rtstats -h rtstats.unidata.ucar.edu"
#EXEC "pqsurf"
#
###############################################################################
# Request Entries
###############################################################################
#
# Request data-products from upstream LDM-s. The syntax is
#
# REQUEST <feedset> <pattern> <host>[:<port>]
#
# where:
# <feedset> Is the union of feedtypes to request.
# <pattern> Is an extended regular-expression for the product-
# identifiers to match.
# <host> Is the host identifier: either a hostname or IP
# address in "dotted-quad" format.
# <port> Is the (optional) port on <host> to which to connect
# (the square brackets denote an option and should be
# omitted).
#
# If the same feedtype and pattern is requested from multiple hosts, then
# the host of the first such request will be the initial primary source
# of data-products (i.e., data-products will be rapidly sent using the
# HEREIS message) and the other hosts will initially be alternate sources of
# data-products (i.e., data will be sent using the COMMINGSOON and BLKDATA
# messages). The primary host will probably change over time -- depending on
# which host can deliver the data-products most quickly on average.
#
# DEFAULT Radar Ancillary EDEX
REQUEST NEXRAD3 ".*" 10.0.0.233 # Radar Level3
REQUEST HDS "^SDUS6.*" 10.0.0.233 # Radar Level3 - specific files
#
#REQUEST WMO ".*" initial-secondary-host.another.domain
#REQUEST WMO ".*" another-secondary-host.yet_another.domain:3152
#
###############################################################################
# Allow Entries
###############################################################################
#
# Give permission to downstream LDM-s to request data-products from your LDM.
#
# ALLOW <feedset> <hostname pattern> [<OK pattern> [<not pattern>]]
#
# where:
# <feedset> is the set of feedtypes for this entry
# <hostname pattern> is an extended regular-expression that specifies
# which hosts are allowed to receive data-products
# whose feedtype is in <feedset>.
# <OK pattern> is an optional extended regular-expression that
# a product-identifier must match in order to be
# sent to the requesting LDM. The default value
# is ".*".
# <not pattern> is an optional extended regular-expression that
# a product-identifier must NOT match in order to
# be sent to the requesting LDM. If this field is
# empty, then such matching will be disabled for
# this entry.
#
# Under no circumstances comment out the next allow entry to localhost
# The LDM will NOT start if the entry is commented-out.
ALLOW ANY ^((localhost|loopback)|(127\.0\.0\.1\.?$)) .*
#
# Give permission to the Unidata Program Center
#ALLOW ANY ^[a-z].*\.unidata\.ucar\.edu\.?$ .*
#
###############################################################################
# Accept Entries
###############################################################################
# ACCEPT: Who can feed us without be requested by a REQUEST entry, currently
# this action is ONLY needed for WSI data
#
# ACCEPT <feedset> <pattern> <hostname pattern>
#
# ACCEPT anything from yourself
#
#ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
#
# accept from your upstream site
#
# WSI is using ldm4 protocol so the accept is still required
#ACCEPT WSI
# .*
# ^[a-z].*\.uni\.wsicorp\.com$
#
###############################################################################
# End
###############################################################################