Yes, repools are immutable so you do not have to re-create resource pools
with resources when STAF is restarted. The ResPool service stores
resource pool data persistently.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Tennis Smith <ten...@tripit.com>
01/27/2010 12:14 PM
To
Sharon Lucas/Austin/i...@ibmus
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] Possible Use For STAF/STAX?
Hi Sharon,
THanks again for the info. Are respools immutable, or do they need to be
re-added every time star is restarted?
-T
On Tue, Jan 26, 2010 at 3:19 PM, Sharon Lucas <luc...@us.ibm.com> wrote:
Yes, one of the services that STAF provides (with your typical STAF
install) is the Resource Pool (ResPool) service. The purpose of the
ResPool service is to manage exclusive access to the entries within
resource pools. For more information, see section "8.14 Resource Pool
(ResPool) Service" in the STAF User's Guide at
http://staf.sourceforge.net/current/STAFUG.htm#HDRRESSRV. I think the
ResPool service is what you're looking for.
C:\>STAF local RESPOOL HELP
Response
--------
*** RESPOOL Service Help ***
CREATE POOL <PoolName> DESCRIPTION <Pooltext>
DELETE POOL <PoolName> CONFIRM [FORCE]
QUERY POOL <PoolName>
REQUEST POOL <PoolName> [TIMEOUT <Number>[s|m|h|d|w]]
[FIRST | RANDOM | ENTRY <Entry>]
[GARBAGECOLLECT <Yes | No>]
ADD POOL <PoolName> ENTRY <Value> [ENTRY <Value>]...
REMOVE POOL <PoolName> ENTRY <Value> [ENTRY <Value>]... CONFIRM [FORCE]
RELEASE POOL <PoolName> ENTRY <Value> [FORCE]
LIST [POOLS | SETTINGS]
VERSION
HELP
Note that another STAF service that allows you to synchronize access to a
particular resource or to synchronize two or more tasks is the Semaphore
(SEM) service. The SEM service is one of the internal STAF services that
allows you to manipulate and manage two kinds of semaphores:
A mutex semaphore allows you to synchronize access to a particular
resource. You may request exclusive access of the semaphore, release
exclusive access of the semaphore, query the semaphore, and delete the
semaphore.
An event semaphore is a signaling mechanism used to synchronize two or
more tasks. You may post an event semaphore to signal that the event has
happened, reset an event semaphore in preparation for the next event,
pulse the event semaphore (which performs an atomic post and reset on the
semaphore), wait on an event semaphore, delete an event semaphore, and
query an event semaphore.
For more information, see section "8.15 Semaphore (SEM) Service" in the
STAF User's Guide at
http://staf.sourceforge.net/current/STAFUG.htm#HDRSEMSRV.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Tennis Smith <ten...@tripit.com>
01/26/2010 05:02 PM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Possible Use For STAF/STAX?
Hi,
Right now, I'm using CruiseControl
with selenium to drive a collection of php-based browser tests.
There are numerous problems w/this setup. The biggest one is finding some
kind of resource control mechanism. That is, some way to allocate
resources as needed for tests from a common pool of resources.
For example, if I want to start a test which uses a windows-based browser,
I need to know if a windows machine is available. Its up the the *user* to
know that -- the harness has no dynamic knowledge of topology. This makes
parallel tests extremely difficult.
Is that possible with STAF/STAX?
--
Tks,
-T
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
--
Tks,
-T
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users