Managing components
A component is a logically distinguishable part of an application. An application can be composed of several components, some of which might be optional (for example, an application might need a load balancer to function). After you have created an application, you can create new components for this application.
For example, an application with a three-tier architecture might have the following components:
- Application server
- Database
- Load balancer
In BMC Release Process Management, each component must have a unique name. You can use the same component in different applications. For each application, you can assign different versions the components or map the component to different servers.
For some applications, it is significant to have the strict order for the application components. With BMC Release Process Management, you can control the order of components within an application.
Starting with BMC Release Process Management version 4.3.01.08 and later, you can use the alphabetical sorting for components and environments associated with the application. In a request that uses this application, the same order of components and environments is preserved .
To create a component
- In BMC Release Process Management, go to Environments > Components.
- Click Add a new component.
The Create Component page opens. - In the Name field, enter the name for a new component.
(Optional) Select the Strict version control check box to turn on the strict version control for the component.
- Click Create.
To create component for application
- In BMC Release Process Management, on the Applications tab, click the appropriate application name.
- Click the add/remove components.
The Add/Remove Components dialog box displays. - Click create new component.
Click multiple times to add more than one component. - Enter a name for each component in the displayed fields.
- Click Save.
The new components are added to the list of components.
To reorder components in an application
- From the Applications tab, click the relevant application for which you want to reorder components.
- Click the Reorder Components link on the right.
- In the Reorder Components page, drag and drop the component to the correct position in the order.
- When you are finished adjusting the order, click done grouping.
To edit a component name
- From Environment > Component, click the relevant component.
- In the Name field, change the name of the component.
- Click Update.
The Components page displays the new name of the component.
To associate components with environments
- From Dashboard > My Applications or from the Applications tab, click the relevant application name.
- To copy all component associations from one environment to any number of target environments, perform the following actions:
- Click the source environment to expand it and display its list of associated components.
- Click Clone Environment Components under the list of components.
- Select the target environments (to which to copy component associations), and then click Save.
- To associate individual components with a single environment, perform the following actions:
- Click the target environment to expand it and display its list of associated components.
- Drag each component that you want to associate from the components list on the right, and drop it on the list of environment components on the left.
- To remove a component from the list of components associated with an environment (in the environment's expanded display), click the Remove installed component icon in the right-most column, and then click OK.
To map a component to an external object
- On the Applications tab, click one of the applications showing in the list to open it.
- On the list of components, click the Map link next to the component that you want to map with an external object.
- On the Map Component to an External Object dialog box, provide the following details:
- Select an integration server from the list available for Select Target Server.
This list displays integration servers that you must have created earlier to establish an integration between various external systems. You must select that integration server which you created for establishing an integration with the external system to which you want to connect for performing this mapping. Select the resource automation script from the list available for selecting a resource automation.
This list is available only after you select an integration server. You must select that resource automation that you have created for the purpose of mapping. For more information on creating a resource automation script, see Creating-resource-automation-scripts.
- Select an integration server from the list available for Select Target Server.
- On selecting the integration server and the resource automation script, you might see multiple objects that are automatically generated. The objects that you see and the output in which you see it (whether it is a tree of objects or a list of objects) depends on the resource automation script that you selected. The resource automation script retrieves data about the external objects and provides it to you so that you can select one of them for mapping with a component.
- Click Save Mapping to save your changes.
- To modify or delete the mapping that you already created, perform the following steps:
- Click the Edit Map link next to the component under the Actions column.
- On the Map Component to an External Object dialog box, select the integration server in the list displayed for Select Target Server, for which you want to make changes or delete the mapping. Also, select the same resource automation script that you used for creating the mapping. On doing this, the current mapping is displayed.
- Modify your mapping and click Save Mapping.
- To delete the mapping, click Delete Mapping and then click OK.
For more information about mapping components with component templates of BMC Application Automation, see Mapping-components-with-component-templates.
To use the alphabetical sorting for components in an application
- From the Applications tab, click the relevant application for which you want to reorder components.
- On the application page:
- To turn on the alphabetical sorting for components, make sure that the Enable Alpha sort for Components check box is selected.
- To turn off the alphabetical sorting for components, make sure the Enable Alpha sort for Environment check box is not selected.
Related topics
Associating-components-with-environments