A selector describes the kind of server that is appropriate for
the project or step. It can specify a server by name or by a property
that a collector collects and stores in the manifest. It can specify
multiple properties, both required and optional.
There are multiple approaches possible for setting up selectors:
- Select server resources by name. Create selectors and name the
selectors after your server resources. The selector specifies the
server resource by its BF_NAME value, the unique name used in the
system. Use one of these selectors when you want to specify the server
resource to run a project or step.
- Select servers by server pool. You can organize servers into named
pools and create a collector for each pool. Define a pool name as
a property in the collector (a set-value property). Then create a
selector for each pool name. The server resource for a project or
step is selected based on its current load.
- Select servers by server attributes. You can choose servers based
on functional properties, such as available hard-disk space, operating
system, or number of CPUs. To implement dynamic selection, do the
following:
- Create collectors that collect and assign appropriate properties.
- Assign the collectors to the appropriate servers.
- Create a selector for each property or set of properties that
represent a server choice
For example, you can create selectors to make selections according
to these criteria:
- Server resources with an operating system that includes "Windows®".
- Server resources with more than one CPU.
- Server resources running at less than a specified load.
- Select server resources by nested collectors. Use the Type property
of Include to create a collector that points to another collector.
A collector itself can be made up of a set of collector pointers.
You may want to create individual collectors for each server, for
example, so that each server can have some unique properties that
you specify. You can use the Include type to point to utility collectors.
For example, you can create a collector called Version that specifies
the version numbers for key resources in your environment, such as
Perl and Java.