Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using the results from the Tulip log analysis script we can identify the hosts and their success percentages. We opted to disable all the hosts which were having success less than 20%, and to enable the ones with success rate greater than 20%. The above mentioned script is in /afs/slac.stanford.edu/package/pinger/tulip and it performs the listed functions. It uses the LWP package to access the webpage, downloads the analyzed tulip log file for enabled landmarks, saves it in a file and then parses the output to get either : for option ability=1,the faulty (landmarks (i.e. the ones below 20% success rate by default) updating the database to disable such hosts; or finds toption ability=0 the landmark with a success rate greater than 20% and re-enables, it enable them in the database. It is run twice nightly (see the trscrontab) before the sites.xml or sites-disabled.xml is created and specifies using the tulip log file for the last 3 days.  http://www-dev.slac.stanford.edu/cgi-wrap/scriptdoc.pl?name=landmark-laundering.pl