Versions Compared

Key

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

...

Using the results from the 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%. 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, download the file and then parse the output to get the faulty landmarks. It is run nightly (see the trscrontab) before the sites.xml is created.

  landmark-laundering.pl

After solving the cleaning up process, we need to address another situation and that is whether any of those hosts would come back and if yes how we would know. Should we disable them forever or should we build up some mechanism to bring them back ? To solve this problem we devised a notification process, which can help us in identifying the landmarks which are up.

...

Now to achieve the above mentioned steps we have done modifications in tulip database. We have created a new table named maintenance. The description of the table is as follows.

Code Block
 +----------+-------------+------+-----+---------+-------+
| Field    | Type        | Null | Key | Default | Extra |
+----------+-------------+------+-----+---------+-------+
| ipv4Addr | varchar(15) |      | PRI |         |       |
| downDays | int(11)     | YES  |     | NULL    |       |
| upDays   | int(11)     | YES  |     | NULL    |       |
| comments | varchar(11) | YES  |     | NULL    |       |
+----------+-------------+------+-----+---------+-------+

...