[Shake-dev] [EHPweb] PDL sender configuration

Peter Lombard lombard at seismo.berkeley.edu
Tue Apr 3 17:55:39 UTC 2012


Bruce,

Jeremy Fee reports a possible change to the way we are using PDL in
Shakemap. Specifically, he seems to be saying that we should set up a
configuration file when using ProductClient.jar to send products to USGS.

It's not clear to me how if we are supposed to do this in ShakeMap; and if so,
how we do it.  According to the help built into ProductClient.jar, there is a
command-line option "--configFile=FILE" to identify the config file. Yet there
is no provision in transfer or transfer.conf for giving the file name. Without
this option, ProductClient attempts to read "config.ini" from the "current
directory". I have no idea what is the current directory when transfer invokes
ProductClient.jar, and I'm pretty sure there is no config.ini in any directory
that transfer might be using.

Can you please clarify with Jeremy what ShakeMap producers are supposed to do
regarding ProductClient and its config file?

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 Shake-dev mailing list