User's Manual

Table Of Contents
Using Resource Types
Inventory Management 5-19
To define resource-level setup and teardown scripts, you must define the inventory parameters called
resourceSetUpScript and resourceTearDownScript at the resource type level, and then associate a runable
script with them in the resource instance. In each resource instance associated with the resource type, you
can specify default values for these scripts.
Note Do not encrypt system-level inventory parameters, like resourceSetUp or resourceTearDown, that
will be used by resource integrations.
Note Inventory parameters are automatically available for custom resource instance filtering and
grouping when using the Resource Instances view
.
Note These parameters are case-sensitive and must be entered exactly as shown.
Adding Inventory Parameters for Capacity-Based Scheduling
Capacity-based scheduling is used in the context of virtualized resources. The scheduler must identify the
host resource that is responsible for creating and destroying the virtual resources based on its internal
capacity. It can be CPU-bound, disk-bound, or memory-bound.
To add an inventory parameter for resource scheduling, perform the following steps:
1. In the Resource Types view, right-click a resource type and select Open.
The resource type core properties display within the specified perspective.
2. Scroll down to the Inventory Parameters section (see Figure 5-14 on page 5-18) and click Add to add
a blank parameter.
3. Modify the inventory parameters as follows:
a. A default name is already provided. Click the Name and Description fields and modify, as
appropriate.
b. Click the Type field and select the Numeric type.
Only numerical data is allowed in the inventory parameter value.
c. Optional. Click the Unit field and type a unit that best associates to the parameter name.
d. Click the Capacity check box to use the resource type for capacity-based scheduling.
4. Click File > Save to save your changes to the server.