|
|
|||
|
||||
The following comprises workshop-specific instructions and details for the Summer 2005 LDM Training Workshop.
An account for the LDM user should already exist on your workstation.
/etc/servicesDo it.
/etc/rpcDo it.
Change the line
to*.info;mail.none;news.none;authpriv.none;cron.none /var/log/messages
The "local0.none" entry ensures that no LDM log-messages are written to the system logfile.*.info;mail.none;news.none;authpriv.none;cron.none;local0.none /var/log/messages
Add the line
The "local0.*" entry ensures that LDM messages are written to the LDM logfile.local0.* /usr/local/ldm/logs/ldmd.log
If you became root by executing the su command as the LDM user in a terminal window, then simply execute the command exit in the terminal window; otherwise, log off the computer and log in as the LDM user.
Depending on your user-shell, do one of the following:
export LDMHOME=$HOME export MANPATH=$LDMHOME/man:/usr/share/man export PATH=$LDMHOME/bin:$PATH
setenv LDMHOME $HOME setenv MANPATH $LDMHOME/man:/usr/share/man set path=($LDMHOME/bin $path)
Assuming standard-shell (e.g., bash(1)) syntax, then do the following:
cd $HOME/ldm-6.4.6/src make distclean ./configure &>configure.log && make &>make.log && make install &>install.log && su root -c 'make install_setuids' && make clean
From monitoring the product-queue, it is known that the following are good values for the queue parameters for receiving data-products of the feedtype IDS|DDPLUS|NNEXRAD:
$pq_size = "200M";
$pq_slots = "50000";
Execute the commands
cd mkdir data logs
Add the following entry to the file $HOME/etc/ldmd.conf to allow all workshop LDM-s to obtain data from any workshop LDM:
ALLOW ANY ^workshop[0-9]{2}\.ucar\.edu$
For reference, see LDM Basics: ldmd.conf.
Un-comment-out the "EXEC pqact" entry to enable local processing of received data-products.
Add the following entries to the LDM configuration file, ldmd.conf, to request the IDS|DDPLUS and NNEXRAD data-feeds:
REQUEST IDS|DDPLUS .* workshop19.ucar.edu REQUEST NNEXRAD .* workshop19.ucar.edu
For reference, see LDM Basics: ldmd.conf.
Because we will only process data-products of the IDS|DDPLUS data-feed, have the following entry be the only active one in the configuration-file:
Remember to start the continuation-lines with a tab character.IDS|DDPLUS ^(..)(..).. .... (..)(..) FILE data/IDS_DDPLUS/\1/\2/(\3:yyyy)(\3:mm)(\3:dd)T\4.txt
For reference, see LDM Basics: pqact.conf.
Add the following line to the scour(1) configuration-file, etc/scour.conf:
This will remove all files in the data directory hierarchy that are older than one day.data/IDS_DDPLUS 1
For reference, see LDM Basics: scour.conf.
Add the following lines via the command "crontab -e":
0 * * * * bin/ldmadmin scour >/dev/null 0 0 * * * bin/ldmadmin newlog
We're not concerned about restarting the LDM at boot-time for this workshop. So we'll skip this step.
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||