[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20020815: Problem with 5.2 ldmfail script
- Subject: Re: 20020815: Problem with 5.2 ldmfail script
- Date: Thu, 15 Aug 2002 16:51:15 -0600
James Murakami wrote:
>
> Anne,
>
> I've attached a copy of both my ldmd.conf for "aeolus" (primary feed) and
> "sunny" (failover). The omission of "edu" was a typo in the email only. You'll
> find the requested contents for "sunny" is less than for "aeolus" (problems
> with
> latency).
>
> James
>
Hi James,
Thanks for the conf files.
Using the command
0,20,40 * * * * /unidata/ldm/bin/ldmfail -p aeolus.ucsd.edu -f
sunny.atmos.washington.edu >/dev/null 2>&
(from your previous email) will cause ldmfail to look for the name
"sunny.atmos.washington.edu" in the current ldmd.conf file. But, when
you failed over, ldmfail swapped ldmd.sunny.atmos.washington.edu into
place for ldmd.conf. That file uses the name
sunny89.atmos.washington.edu in its request entries, so the names don't
match.
You can fix this by modifying either (1) both the call to ldmfail and
conf file name, changing sunny to sunny89, or (2) modify
ldmd.sunny.atmos.washington.edu to request from sunny, not sunny89. As
long as they're all consistent...
But, wasn't this working for you before? Did you change something?
Anne
>
> ---------------------------------------
> James Murakami
> Staff Meteorologist/Student Affairs
> Department of Atmospheric Sciences
> University of California, Los Angeles
> 405 Hilgard Ave.
> Los Angeles, CA 90095-1565
>
> e-mail: address@hidden
> telephone: 310-825-2418
> Fax: 310-206-5219
> ---------------------------------------
>
> ------------------------------------------------------------------------
> #####
> # $Id: ldmd.conf,v 1.11 1999/08/05 16:18:09 rkambic Exp $
> # Sample ldmd.conf for ldm5
> #####
> #
> # This is the main configuration file for the LDM server. All lines that start
> # with a "#" sign are comments.
> #
> # To debug an LDM that hangs on start up, run the following from LDM home:
> # % /home/ldm/bin/rpc.ldmd -vl - -q /gempak/data/ldm.pq
> /home/ldm/etc/ldmd.conf
> #
> # If the LDM still hangs, comment out all lines in this file, try again.
> #
> ###############################################################################
> # Exec Entries
> ###############################################################################
> #
> # Programs that can share a queue with rpc.ldmd server, these programs
> # are started by the "exec" command and are in the same process group.
> #
> #
> #exec "pqexpire"
> exec "pqbinstats -d /home/ldm/logs -q /data/ldm/ldm.pq"
> exec "pqact -d /home/ldm /home/ldm/etc/pqact.conf"
> # rtstats uses the LDM to send product latency statistics to the UPC.
> # We are currently evolving from pqbinstats to rtstats, but in the
> # mean time we hope sites will run both. For more info on rtstats
> # please see the man page.
> exec "rtstats -d /home/ldm/logs -h rtstats.unidata.ucar.edu"
> #exec "pqsurf"
> #
> ###############################################################################
> # Request Entries: Where we get data from
> ###############################################################################
> #
> # LDM5 servers request data from Data Sources
> #
> # request <feedset> <pattern> <hostname pattern>
> #
> # Feed off upsteam tier site (primary feed)
> request UNIDATA|FSL ".*" aeolus.ucsd.edu
> request NNEXRAD "/p(N0R|N1R|N0S|N0V|N1V|N0Z|NET|NTP)" 132.239.114.58
> request DIFAX ".*" aeolus.ucsd.edu
> #
> # Lightning data
> request NLDN ".*" striker.atmos.albany.edu
> #
> #
> ###############################################################################
> # Begin Access control
> ###############################################################################
> ###############################################################################
> # ALLOW Entries: Who we are willing to feed
> # Giving permission for a Data Sink to perform a request to your LDM
> #
> # allow <feedset> <hostname pattern>
> ###############################################################################
> #
> # Giving permission to your own machine and Unidata
> allow ANY
>
> ^((localhost|loopback)|(127\.0\.0\.1\.?$)|([a-z].*\.unidata\.ucar\.edu\.?$))
> #
> # atm23.ucdavis.edu= 169.237.35.23
> # rossby.met.sjsu.edu= 130.65.97.148
> allow ANY aeolus.ucsd.edu
> allow UNIDATA atm12.ucdavis.edu
> allow UNIDATA atm23.ucdavis.edu
> allow UNIDATA|NNEXRAD 169.237.35.23
> #allow UNIDATA atm25.ucdavis.edu
> allow UNIDATA atm20.ucdavis.edu
> allow UNIDATA rgps1.jpl.nasa.gov
> allow UNIDATA sparc1k.images.alaska.edu
> allow UNIDATA|NNEXRAD inisas02.inis.iarc.uaf.edu
> allow UNIDATA|NNEXRAD yukon.iarc.uaf.edu
> allow UNIDATA lar.ce.wsu.edu
> allow UNIDATA aracmcidas.llnl.gov
> allow UNIDATA|NNEXRAD vortex.met.sjsu.edu
> allow UNIDATA nimbus.atmo.arizona.edu
> allow UNIDATA vortex.ncacm.nevada.edu
> allow UNIDATA 131.216.72.35
> allow UNIDATA 198.60.3.128
> allow UNIDATA 172.20.10.7
> allow UNIDATA|NMC3|NNEXRAD 130.65.97.148
> #allow WSI sysu1\.uni\.wsicorp\.com
> #allow WSI sysu1\.wsicorp\.com
> #allow WSI sysu1\.wsi\.com
>
> ###############################################################################
> # ACCEPT Entries : Who can feed us (currently this action is ONLY needed
> # for WSI data)
> # WSI is using ldm4 protocol so the accept is still required
> #
> # accept <feedset> <pattern> <hostname pattern>
> ###############################################################################
> #
> # accept anything from yourself
> #accept ANY
> # .*
> # ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> #
> # accept from your upstream site
> #accept UNIDATA
> # .*
> # ^foo\.bar\.edu$
> # WSI
> accept WSI .* sysu1\.uni\.wsicorp\.com
> accept WSI .* sysu1\.wsicorp\.com
> accept WSI .* sysu1\.wsi\.com
> ###############################################################################
> # End Access control
> ###############################################################################
>
> ------------------------------------------------------------------------
> #####
> # $Id: ldmd.conf,v 1.11 1999/08/05 16:18:09 rkambic Exp $
> # Sample ldmd.conf for ldm5
> #####
> #
> # This is the main configuration file for the LDM server. All lines that start
> # with a "#" sign are comments.
> #
> # To debug an LDM that hangs on start up, run the following from LDM home:
> # % /home/ldm/bin/rpc.ldmd -vl - -q /gempak/data/ldm.pq
> /home/ldm/etc/ldmd.conf
> #
> # If the LDM still hangs, comment out all lines in this file, try again.
> #
> ###############################################################################
> # Exec Entries
> ###############################################################################
> #
> # Programs that can share a queue with rpc.ldmd server, these programs
> # are started by the "exec" command and are in the same process group.
> #
> #
> #exec "pqexpire"
> exec "pqbinstats -d /home/ldm/logs -q /data/ldm/ldm.pq"
> exec "pqact -d /home/ldm /home/ldm/etc/pqact.conf"
> # rtstats uses the LDM to send product latency statistics to the UPC.
> # We are currently evolving from pqbinstats to rtstats, but in the
> # mean time we hope sites will run both. For more info on rtstats
> # please see the man page.
> exec "rtstats -d /home/ldm/logs -h rtstats.unidata.ucar.edu"
> #exec "pqsurf"
> #
> ###############################################################################
> # Request Entries: Where we get data from
> ###############################################################################
> #
> # LDM5 servers request data from Data Sources
> #
> # request <feedset> <pattern> <hostname pattern>
> #
> # Feed off upsteam tier site (back-up feed)
> request MCIDAS|DDPLUS|FSL ".*" sunny89.atmos.washington.edu
> request HDS "^PGW...|/mNGM|/mAVN|/mSSIAVN|/mECMWF" 128.95.89.38
> request HDS "^Y.[AI]... KWBH|^H.[EF][A-Z][0-9][0-9] KWB." 128.95.89.38
> request NNEXRAD "/p(N0R|N1R|N0S|N0V|N1V|N0Z|NET|NTP)" 128.95.89.38
> request DIFAX ".*" sunny89.atmos.washington.edu
> #
> # Lightning data
> request NLDN ".*" striker.atmos.albany.edu
> #
> #
> ###############################################################################
> # Begin Access control
> ###############################################################################
> ###############################################################################
> # ALLOW Entries: Who we are willing to feed
> # Giving permission for a Data Sink to perform a request to your LDM
> #
> # allow <feedset> <hostname pattern>
> ###############################################################################
> #
> # Giving permission to your own machine and Unidata
> allow ANY
>
> ^((localhost|loopback)|(127\.0\.0\.1\.?$)|([a-z].*\.unidata\.ucar\.edu\.?$))
> #
> # atm23.ucdavis.edu= 169.237.35.23
> # rossby.met.sjsu.edu= 130.65.97.148
> allow ANY sunny89.atmos.washington.edu
> allow UNIDATA atm12.ucdavis.edu
> allow UNIDATA atm23.ucdavis.edu
> allow UNIDATA|NNEXRAD 169.237.35.23
> #allow UNIDATA atm25.ucdavis.edu
> allow UNIDATA atm20.ucdavis.edu
> allow UNIDATA rgps1.jpl.nasa.gov
> allow UNIDATA sparc1k.images.alaska.edu
> allow UNIDATA|NNEXRAD inisas02.inis.iarc.uaf.edu
> allow UNIDATA|NNEXRAD yukon.iarc.uaf.edu
> allow UNIDATA lar.ce.wsu.edu
> allow UNIDATA aracmcidas.llnl.gov
> allow UNIDATA|NNEXRAD vortex.met.sjsu.edu
> allow UNIDATA nimbus.atmo.arizona.edu
> allow UNIDATA vortex.ncacm.nevada.edu
> allow UNIDATA 131.216.72.35
> allow UNIDATA 198.60.3.128
> allow UNIDATA 172.20.10.7
> allow UNIDATA|NMC3|NNEXRAD 130.65.97.148
> #allow WSI sysu1\.uni\.wsicorp\.com
> #allow WSI sysu1\.wsicorp\.com
> #allow WSI sysu1\.wsi\.com
>
> ###############################################################################
> # ACCEPT Entries : Who can feed us (currently this action is ONLY needed
> # for WSI data)
> # WSI is using ldm4 protocol so the accept is still required
> #
> # accept <feedset> <pattern> <hostname pattern>
> ###############################################################################
> #
> # accept anything from yourself
> #accept ANY
> # .*
> # ^((localhost|loopback)|(127\.0\.0\.1\.?$))
> #
> # accept from your upstream site
> #accept UNIDATA
> # .*
> # ^foo\.bar\.edu$
> # WSI
> accept WSI .* sysu1\.uni\.wsicorp\.com
> accept WSI .* sysu1\.wsicorp\.com
> accept WSI .* sysu1\.wsi\.com
> ###############################################################################
> # End Access control
> ###############################################################################
--
***************************************************
Anne Wilson UCAR Unidata Program
address@hidden P.O. Box 3000
Boulder, CO 80307
----------------------------------------------------
Unidata WWW server http://www.unidata.ucar.edu/
****************************************************