Configuring multi-tier Terremark Provider resources in BMC Cloud Lifecycle Management
After you have installed and configured the Terremark Provider in the environment, you can begin managing the Terremark Provider resources within BMC Cloud Lifecycle Management. This topic describes how to register and configure the multi-tier Terremark resource provider offering.
This topic contains the following information:
Before you begin
Ensure that you have the required Terremark template URIs for creating an installable resource Definitive Media Library (DML) entry in the Product Catalog.
To configure Terremark resources
Create an installable resource DML entry in the Product Catalog.
- Create a tenant company.
- Create blueprints according to the Terremark Cloud provider template specifications:
- In the Service Definition tab of the Service Blueprints Definition editor, create a component.
- In the Service Deployment Definitions tab of the Service Blueprints Definition editor, add resource sets.
- Edit the resource set details to specify the components, the compute resources, and the network resources.
The resource set contains the installable resources that point to virtual machine templates in Terremark.- In the Installable Resource field in the Compute Resources pane, select the installable resource DML entry that you created in step 1.
In the Network Resources pane, specify the values for Network Interface Cards (NICs) according to the network labels defined in BMC Cloud Lifecycle Management.
- Create a Service Catalog.
- Onboard a tenant.
- Select the required entitlement packages.
To generate template URIs from Terremark Cloud API Explorer
Terremark template URIs are required when you create an installable resource DML entry in the Product Catalog.
For Terremark Templates
- Log on to the Terremark Cloud API Explorer.
- Select Services > Organization > Get Organizations.
- Click Execute.
Note the environmentId from the response that is generated. - Select Services > Compute Pool > Get Compute Pools.
- Specify the environmentId and click Execute.
Note the computePoolId from the response that is generated. - Select Services > Template > Get Templates.
- Specify the computePoolId and click Execute.
The generated response lists all the template URIs.
For Custom Templates
- Log on to the Terremark Cloud API Explorer.
- Select Services > Organization > Get Organizations.
- Click Execute.
Note the organzationId from the response that is generated. - Select Services > Catalog > GetCatalog.
- Specify the organzationId and click Execute.
The generated response lists all the custom template URIs in the CatalogEntry tag.
To use the TemplateExport utility
- Download the TemplateExportUtility.zip file.
- Extract the zip file contents.
In the Configuration.propertiesfile, set the following property values:
Property
Value
SERVER_URLservices.enterprisecloud.terremark.com
USERNAME<email of the user>
PASSWORD<password of the user>
RESULT_FILE<file name to be used for the .xls file>
Execute the following command from the directory where you have extracted the downloaded ExportTemplates.jarfile.
java -jar ExportTemplates.jarThis creates the .xls file listing the URls for all the Terremark templates in the same directory.
- Use the template URl attribute to create the DML entries.