Use > Sequenced Designs > Resource offerings for sequenced designs

Resource offerings for sequenced designs

Note Resource offerings are only used with sequenced designs.

A resource offering links the capabilities of providers to the provisioning requirements of a service design. For example, you can create a resource offering that corresponds to a specific VMware vCenter VM template that can be cloned to create a VM.

A resource offering includes a user-specified set of lifecycle actions that is executed during the provisioning of the resource offering. A resource offering can also include actions that will be exposed to a subscriber in the Marketplace Portal.

A resource offering may include one or more user-created properties that can be used to pass or exchange information with Operations Orchestration during the provisioning of the resource offering.

Tasks

When you access My Applications > Designs > Sequenced > Resources Offerings to display the Resource Offerings landing page, you can refresh the page, and you can perform the following tasks from the gear icon:

Scenarios

The following scenarios describe a few of the ways you can use resource offerings:

  • A resource offering can be used to configure a specific capability offered by a provider (or a group of providers of the same provider type). For example, you can create a resource offering named Red Hat 5.3 64-bit that corresponds to a specific VMware vCenter VM template named rhel53x64, which when provisioned results in a Red Hat 5.3 64-bit VM being created. Such a resource offering would likely contain a user-created property, such as VM_TEMPLATE_NAME, that specifies the precise VM template name associated with the resource offering (in this case, rhel53x64). In this use of resource offerings, you need to create a resource offering for every VM template you wish to use in a service design.
  • A resource offering can be used to configure a general capability offered by a provider (or a group of providers). For example, you can create a resource offering named vCenter VM Template that can be used to provision any VMware vCenter VM template. Such a resource offering requires that you create service component properties in the associated service designs that specify the precise VM template to be created. In this use of resource offerings, only a single resource offering is needed to expose VM template functionality to service designs.
  • A resource offering can be used for the primary purpose of selecting a provider. Most resource offerings include lifecycle actions that are used to provision the resource offering, but some resource offerings have no such lifecycle actions and exist primarily to force provider selection. Typically, you would use this style of resource offering to select a provider at a group level in a service design (for example, for a Server Group) that is shared by all child components (for example, by all Server child components).

    In this approach, you create one resource offering for the Server Group (for example vCenter Server Group) and a separate resource offering for the Servers (for example, vCenter VM Template). When associating vCenter Server Group to a Server Group, specify the provider selection actions to execute. When associating vCenter VM Template to a Server, specify the Select Resource Provider from Parent or the Select Resource Provider and Pool from Parent action. In such an approach, the vCenter Server Group probably will not have lifecycle actions that are invoked automatically during provisioning; however, this resource offering may include actions to be exposed to a subscriber (for example, an action such as Restart All VMs).

A resource offering has a single provider type and a single category. For example, each of the resource offerings discussed above would have a provider type of VMware vCenter and a category of Compute.

A resource offering can be exported to a .zip file and imported to the same or different CSA installation. An exported resource offering includes all of its lifecycle actions and properties.

A resource offering can also be copied, which allows you to share a set of lifecycle actions and properties across a number of resource offerings.

Best Practices

From the Cloud Service Management Console dashboard, navigate to Resource Offerings by clicking Design >Sequenced >Resource Offerings.

Note Don't confuse a resource offering with a service offering. A service offering is a service design that is made available to a service catalog after additional information (such as pricing) has been added.