You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

psonar_auto.pl

This script automates the whole process of finding new PerfSonar landmarks. It works as follows:

  1. Fetch the list of all PerfSONAR sites from http://132.160.6.186/toolkit/gui/perfAdmin/directory.cgi
  2. Find the sites that have working traceroute server.
  3. Then find the sites that also have location information at http://ipaddress/toolkit, e.g.  http://132.160.6.186/toolkit/
  4. Compare the final list of working nodes to the ones in TULIP database to list the new sites.

The script is located at : /afs/slac.stanford.edu/package/pinger/tulip/psonar_auto.pl

Multiple text files are generated in the /tmp directory

  • perfsonar_list.txt -> complete list of PerfSONAR sites
  • perfsonar_list_working.txt -> sites with working traceroute server
  • perfsonar_list_working_wl.txt -> sites with working traceroute server and location information

The following file is the most important and is generated in /afs/slac.stanford.edu/package/pinger/tulip/ .

  • perfsonar_list_new.txt -> working Perfsonar sites that are not in TULIP DB. The format is: ipaddr | city | state | country | lat | long

Since it requires access to TULIP DB, it must be run from pinger@pinger.

History

  • 92 landmarks added on 4-3-14 (Asad)
  • 94 landmarks added on 1-8-14 (Asad)
  • 56 landmarks added on 1-9-14 (Asad)
  • 7 landmarks added on 1-10-14 (Asad)

trscrontab

This script runs at the start of each month from trscrontab.

perfdb.pl

This script is written to facilitate the process of adding newly found perfSONAR landmarks to TULIP MySQL database. Before running perfdb.pl one must load perfsonar_list_new.txt (generated by psonar_auto.pl) in MS Excel. The text file should be manually check to ensure that all the landmarks entries are correct. It is not uncommon for the coordinates to be incorrect. In most of the cases the error would be due to a typo and can be fixed easily. Check for the following:

  • Latitude and Longitude swapped
  • Missing - negative sign
  • one digit typo

--to be continued

  • No labels