The following scripts are called by trscrontab  to manage and update the tulip data

####################### TULIP #########################################################
#Exercise reflector.cgi so as to update the logs, these should run before tulip-tuning2.pl and landmark-laundering.pl
pinger;120 05 1 * * * /afs/slac/package/pinger/tulip/reflector.pl
pinger 50 15 * * * /afs/slac/package/pinger/tulip/pakcall.pl  # This script just calls the South Asia landmarks to ping slac. It helps laundering.
pinger;100 50 15 * * * /afs/slac/package/pinger/tulip/vtracefromchk.pl

#Update TULIP sites.xml from the NODEDETAILS & TULIP databases
# See https://confluence.slac.stanford.edu/display/IEPM/TULIP+Analysis
# Creating /afs/slac/www/comp/net/wan-mon/tulip/sites.xml
# and /afs/slac/www/comp/net/wan-mon/tulip/sites-disabled.xml must be after creating nodes.cf
#Clean up non-responding landmarks, and restore responding landmarks, tulip-tuning.pl takes about 15 minute.
pinger;30 00 2 * * * /afs/slac/package/pinger/tulip/tulip-tuning2.pl -d 2 -a 1 -t 20 2>&1
pinger;30 07 2 * * * /afs/slac/package/pinger/tulip/tulip-tuning2.pl -d 2 -a 0 -t 35 2>&1
pinger 15 2 * * * /afs/slac/package/pinger/tulip/tier0-tuning.pl
pinger 19 2 * * * /afs/slac/package/pinger/tulip/tulip-dup.pl 2>&1
pinger;120 30 2 1 * * /afs/slac.stanford.edu/package/pinger/tulip/psonar_auto.pl 2>&1 #fetch the list of perfsonar nodes from the lookup servers, then find the ones with working ping server and known location

#the following are run after tulip-tuning.pl since it can enable and disable nodes.
#pinger 20 2 * * * /afs/slac/package/pinger/tulip/landmark-laundering.pl 2>&1
pinger 15 2 * * * /afs/slac/package/pinger/tulip/maintainPL.pl #takes ~ 8 mins. Corrects lat/long of TULIP database using GeoIP Tools
pinger 31 2 * * * /afs/slac/package/pinger/tulip/create_sites-xml.pl > /afs/slac/www/comp/net/wan-mon/tulip/sites.xml #Takes 2 seconds, Must be exected on pinger.
pinger 33 2 * * * /afs/slac/package/pinger/tulip/create_sites-xml.pl --ability 0 > /afs/slac/www/comp/net/wan-mon/tulip/sites-disabled.xml #Must be executed on pinger
pinger 35 3 * * * /afs/slac/package/pinger/tulip/generatePL.pl 2>&1 #Takes 3 mins.
###########################################################################
#The following scripts generate xml files for all of pinger (+perfsonar) and planet lab nodes and just the active ones too.
pinger 51 2 * * * /afs/slac/package/pinger/tulip/generatexmlnodes.pl 2>&1 # Must run on pinger
###########################################################################
#Backup Tulip database, Umar needs to look at this, it is not found on pinger-new, must run on pinger
#pinger 00 8 * * * /bin/bash /afs/slac/package/pinger/tulip/backup_tulip_mysql.sh
pinger 00 8 * * * /afs/slac/package/pinger/tulip/backup_tulip_mysql.pl -b /afs/slac/package/pinger/tulip/DB_backup/ #Must run on pinger
#wanmon 04 0,6,12,19 * * * /afs/slac/package/pinger/tulip/tulip-log-analyze.pl >/afs/slac/u/sf/cottrell/tulip_log #wanmon not available to trscrontab on pinger
#There is a commented out trscrontab entry  on www-wanmon. This job analyzes the /tmp/tulip.log file on wanmon from the execution of reflector.cgi (or its wrapper reflector.pl) to provide a summary table of
#ping successes from PingER, perfSONAR and PlanetLab MAs. Output is to STDOUT.

#wanmon 04 0,6,12,19 * * * /afs/slac/package/pinger/tulip/tulip-log-analyze.pl >/afs/slac/u/sf/cottrell/tulip_log #tulip_log is empty

 

  • No labels