[Shake-dev] [EHPweb] PDL sender configuration

Bruce Worden cbworden at gmail.com
Tue Apr 3 19:57:26 UTC 2012


Hi Pete,

I don't know what is meant by "current directory." My understanding is that the client comes with a default configuration file. Maybe Jeremy can elaborate.

There is an as-yet unannounced ShakeMap update in the repository. One of the changes is the addition of a parameter "pdl_config" to transfer.conf. The parameter is not documented in transfer.conf (at the moment), but is available for use, and will set the --configFile option for PDL.

Bruce


On Apr 3, 2012, at 10:55 AM, Peter Lombard wrote:

> 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
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev



More information about the Shake-dev mailing list