cpd2.send.conf
This file controls where data.localdata.get looks for data as well as the behavior of cpd2.senddata. Only a global version exists in $DB/etc/cpd2.send.conf.
Format
Lines beginning with '#' are treated as comments. The format consists of a CSV separated list of key and optional value pairs. Keys are case insensitive.
The valid keys are listed below.
CPDConfLocation
Overrides the default location of CPD2's main configuration file, from the default of /aer/prg/cpd2/etc/cpd.conf. Altering this value is strongly discouraged, as LiveCPD2 does not respect this override nor do a number of other control scripts for (Live)CPD2.
SendLocation
Defines the location to create files queued for sending in, defaulting to the subdirectory “send” in the log directory. As above alteration is strongly discouraged. If it does not begin with a “/” it is treated as relative to the log directory.
SentLocation
Defines the location to move files once successfully sent to, defaulting to the subdirectory “sent” in the log directory. As above alteration is strongly discouraged. If it does not begin with a “/” it is treated as relative to the log directory.
WaitSwitchTime
Defines the time in seconds to wait after issuing a switch files command to CPD2 before inspecting data files. Defaults to five seconds.
MinDataAge
Defines the time in seconds that a data file must have not been altered before it is considered valid for sending. Defaults to five seconds.
MaxDataWait
Defines the maximum time in seconds to wait for in progress file writes to be completed. Defaults to 30 seconds.
SendRetries
The number of times to retry failed data sends, defaulting to five times.
SendRetrySleep
Defines the number of seconds to sleep after a failed send before trying again. Default 60 seconds.
SendProgram
Override the program used to send data. By default “ftp2$STATION” is used if it exists otherwise “ftp2cmdl” is used. The program is called like “ftp2cmdl -s $STATION $FILE”.
LogDirectory
Override the log directory. By default it is looked up from cpd.conf.
StationID
Override the station ID (strongly discouraged) to use when sending data. By default it is looked up from cpd.conf.