Mapping resources to environments

Specify where components are deployed by adding a resource or resource group to the environment.

About this task

Resources and resource groups identify the agents that do the work of deploying components, and provide other configuration information.

If you are using IBM® WebSphere® Application Server, you can import information from cells as resources; see Importing resources from WebSphere Application Server.

Procedure

  1. Display the Add Resource to Environment window for the selected environment by clicking Applications > [selected application] > Environments > [selected environment] > Resources > Add Base Resources. All previously defined resources are available for use.
    Figure 1. Add Resource to Environment window
  2. Select the check box that is associated with the resource or resource group you want to use. You can select more than one resource. Selecting a resource previously added to the environment has no effect.
  3. Click OK. The selected resource or resource group is added to the environment.
  4. To remove resources from the environment, highlight the top-level resource and use the Remove from Environment action. For information about adding, moving, deleting, or tagging resources, see Resources.

Results

The following figure shows the result of the selection that is made in Figure 1.
Figure 2. Selected resources added to the environment
All resources in the group hierarchy below the selection are added to the environment. The top-level resource corresponds to the selection and displays the high-level grouping, myCompanyEast/QA. The dev1 resource is not added to the environment.

Given the resources in the accompanying illustration, a single application could deploy the tomcat and tomcat-e components on different machines (the machines where the agents tph1 and tph-2 are located). An application might also use the blue and green tags as well. For information about tags, see Tagging resources

What to do next

After mapping components and resources, create an application process. For information about creating application processes, see Creating application processes.

Feedback