[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990329: waldo's ldm at stc



>From: address@hidden
>Organization: St. Cloud State
>Keywords: 199903292224.PAA15843 ldmfail configuration

Alan-

>Thanks; one item seems puzzling.  After the problems I noted in my first
>message today, I am pretty sure no one has been back to waldo, so am 
>curious about pqsurf starting up again.

I figured out what was happening.  The ldmfail script was running
and it copies over that ldmd.primaryhost or ldmd.secondaryhost files
and those do not have pqsurf commented out.

For now, I commented out ldmfail in ldm's crontab.  You will
need to set this up again when you start having waldo feed from
the outside.  While it is feeding from hobbes, there is no need
to run it.

However, it was set up wrong anyway.  The entry was:

0,20,40 * * * * bin/ldmfail -p "waldo" -f "aqua.atmos.uah.edu"

This would indicated that you want your primary feed to come from
waldo and your backup feed to come from aqua.atmos.uah.edu.  For
this to work, you would need two files: ldmd.waldo and 
ldmd.aqua.atmos.uah.edu.  There is an ldmd.waldo in ~ldm/etc, but
not ldmd.aqua.atmos.uah.edu.

Even so, you don't want waldo as your primary feed because that would
mean that waldo would be feeding from itself which would give you no data.

What you want to do is set up ldmfail so that your primary feed
is set to your designated primary feed site (chinook.unl.edu) with
an appropriate ldmd.chinook.unl.edu and a secondary file that
will be set up for your failover site (aqua.atmos.uah.edu).  So the
entry would be:

0,20,40 * * * * bin/ldmfail -p "chinook.unl.edu" -f "aqua.atmos.uah.edu"

and you would have ldmd.chinook.unl.edu and ldmd.aqua.atmos.uah.edu
file with the appropriate lines to feed from the respective hosts.
You also will need to make sure that both your primary and secondary
sites have allow lines for waldo once you want to feed directly from
them.  If you have any suggestions for how to make the documentation
clearer (if it isn't) for configuring ldmfail, let us know.

Sounds like it's time to come to the LDM workshop this summer, eh?

Let us know if you more questions.

Don