Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Demo of.

Similar presentations


Presentation on theme: "Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Demo of."— Presentation transcript:

1 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Demo of STAF and STAX Ted Hesselroth Fermilab

2 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage STAF Software Testing Automation Framework  STAF is an Open Source automation framework designed around the idea of reusable components. It is intended to make it easier to create automated testcases and workloads. Supported Testing Scenarios  Orchestrating a series of tests Call external user-written scripts Loops, conditionals Parallel execution Event listening, cron Move input and output files  Running tests in a distributed environment

3 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage STAF Features Distributed, peer-to-peer Authz by uid or machine name Monitoring Logging Control by  STAF shell, Java, Perl, Python, Tcl, STAX

4 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage The STAF Project IBM  3 developers  Version 0.10: 02/16/1998  Version 3.3.5: 09/30/2009  C++ Many documents google “staf ibm” -> 88,100 hits

5 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Setup Tarball, install script  Target: /opt/staf Extensions  Download, place in directory  Edit services file Run Services  < 5 MB mem

6 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage STAX XML-based execution language Installs as extension of STAF Uses jython Set variables using python syntax Java console for STAX invocation, messages, results

7 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Example - nop

8 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage System Call 'local' 'nedit'

9 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Checking Return Code 'local' 'echo wow' 'Error: RC=%s, STAXResult=%s' % (RC, STAXResult) 'Process RC was 0. STAXResult=%s' % STAXResult

10 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Setting Variables, Importing STAX scripts ImportMachine = 'local' ImportDirectory = '{STAF/Config/STAFRoot}/services/stax' from random import randint

11 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage Loops, Calling python, Setting Status … r = randint(1, 100) { 'parms' : '1 1 %s' % r }

12 Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Ted Hesselroth OSG Storage Forum Ted Hesselroth STAF/STAX OSG Storage End …


Download ppt "Ted Hesselroth USCMS T3 Meeting 2008-03-03 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage 2009-11-18 Demo of."

Similar presentations


Ads by Google