From: Charles R. <ra...@us...> - 2004-04-07 13:45:32
|
sta...@li... wrote on 04/05/2004 01:35:10 PM: > Charles, > > Hopefully this will add some clarity to my question: > > The primary problem that I am attempting to address with STAF is the > ability to run a suite of tests where a portion of those tests take > place on one machine and a portion of them are executed on a second > machine. I'd also like to scale this such that multiple machines > could be tested in this manner at the same time. That does help clarify the question. You can absolutely do this with STAF/STAX. This is one of the primary things they are designed for. STAX, in particular has some elements like <iterate>, <parallel>, and <paralleliterate> which make it pretty easy to scale things across a number of tests or systems. For example, if you want to run a set of tests simultaneously on a set of systems, it would look something like the following in STAX. <sequence> <script> machines = [ 'system1', 'system2', 'system3' ] </script> <paralleliterate var="machine" in="machines"> <process> <location>machine</location> <command>'some_test'</command> </process> </paralleliterate> </sequence> This would execute "some_test" simultaneously on each of "system1", "system2", and "system3". If you didn't want this to occur in parallel, you would simply change the <paralleliterate> to an <iterate>. Take a look at our education materials and the User's Guides for STAF and STAX. It would probably be good to follow through the Getting Started with STAF document, as well as trying out the sample job shipped with STAX. Feel free to post if you have questions. Charles Rankin |