[EHPweb] PDL sender configuration

Peter Lombard lombard at seismo.berkeley.edu
Wed Apr 4 18:06:27 UTC 2012


Yeah, I guess so. I'll find out when the next ShakeMap event happens if it
really works.

Pete


Jeremy M Fee writes:
 > Hi Pete,
 > 
 > The configuration file is an INI style configuration file.  The global  
 > property "senders" is a comma delimited list of INI section names to  
 > load as Product Senders.  What is inside those sections is the same.   
 > The key is that the name listed in the senders property matches a  
 > section name later in the INI file.  So, what I emailed and what you  
 > already have configured are equivalent:
 > 
 > A senders list like:
 > 	senders = ehppdl1, ehppdl2
 > Expects 2 sections later in the INI file:
 > 	[ehppdl1]
 > 	[ehppdl2]
 > 
 > A senders list like:
 > 	senders = sender_ehppdl1, sender_ehppdl2
 > Expects 2 sections later in the INI file:
 > 	[sender_ehppdl1]
 > 	[sender_ehppdl2]
 > 
 > http://ehppdl1.cr.usgs.gov/userguide/configuration.html
 > 
 > 
 > The main problem is that now a configuration file is required to send  
 > products, and most senders aren't using the --configFile= argument to  
 > specify which configuration file to load.
 > 
 > 
 > Does that answer you question?
 > 
 > 
 > Jeremy
 > 
 > 
 > On Apr 4, 2012, at 11:19 AM, Peter Lombard wrote:
 > 
 > > Jeremy,
 > >
 > > There is something I am not understanding about what you want me to  
 > > do with my
 > > ProductClient config.ini file. The file included in the zip archive  
 > > for
 > > version 1.7.1 and 1.7.3 contains these lines, among others:
 > >
 > > ## ProductSenders are used when creating and sending products for  
 > > distribution
 > > # a comma delimited list of section names
 > > # NOTE: most users should NOT change this
 > > senders = sender_ehppdl1, sender_ehppdl2
 > > ...
 > > ###
 > > ## SENDERS
 > > ##
 > > ## Senders send products to hubs for Product Creators.
 > > #
 > >
 > >
 > > [sender_ehppdl1]
 > > type = gov.usgs.earthquake.distribution.SocketProductSender
 > > host = ehppdl1.cr.usgs.gov
 > > port = 11235
 > >
 > >
 > > [sender_ehppdl2]
 > > type = gov.usgs.earthquake.distribution.SocketProductSender
 > > host = ehppdl2.wr.usgs.gov
 > > port = 11235
 > >
 > >
 > > Why aren't these line sufficient for ProductClient.jar 1.7.3?
 > >
 > > Your instructions say:
 > >> - in the globals, set the senders list and trackerURL property:
 > >>
 > >> senders = ehppdl1, ehppdl2
 > >> trackerURL = http://ehppdl1.cr.usgs.gov/tracker/
 > >>
 > >>
 > >> - add sections for each sender
 > >>
 > >> [ehppdl1]
 > >> type = gov.usgs.earthquake.distribution.SocketProductSender
 > >> host = ehppdl1.cr.usgs.gov
 > >> port = 11235
 > >>
 > >> [ehppdl2]
 > >> type = gov.usgs.earthquake.distribution.SocketProductSender
 > >> host = ehppdl2.wr.usgs.gov
 > >> port = 11235
 > >
 > >
 > > Am I supposed to have two sets of sender lines? Or am I supposed to  
 > > change the
 > > lines that says "most users should NOT change this"?
 > >
 > > It's not clear to me why this has to be so confusing!
 > >
 > > Pete
 > >
 > >
 > > Jeremy M Fee writes:
 > >> Hello,
 > >>
 > >> Several users have reported problems sending products using the new
 > >> PDL client (version 1.7.3).  If you only receive products using PDL
 > >> this does not affect you.
 > >>
 > >>
 > >> If you send products, please double check that senders and trackerURL
 > >> are configured explicitly in config.ini:
 > >>
 > >> - in the globals, set the senders list and trackerURL property:
 > >>
 > >> senders = ehppdl1, ehppdl2
 > >> trackerURL = http://ehppdl1.cr.usgs.gov/tracker/
 > >>
 > >>
 > >> - add sections for each sender
 > >>
 > >> [ehppdl1]
 > >> type = gov.usgs.earthquake.distribution.SocketProductSender
 > >> host = ehppdl1.cr.usgs.gov
 > >> port = 11235
 > >>
 > >> [ehppdl2]
 > >> type = gov.usgs.earthquake.distribution.SocketProductSender
 > >> host = ehppdl2.wr.usgs.gov
 > >> port = 11235
 > >>
 > >>
 > >>
 > >> Thanks,
 > >>
 > >> Jeremy
 > >>
 > >> _______________________________________________
 > >> EHPweb mailing list
 > >> EHPweb at geohazards.usgs.gov
 > >> https://geohazards.usgs.gov/mailman/listinfo/ehpweb
 > 


More information about the EHPweb mailing list