Integrating with TrueSight Capacity Optimization
Note
BMC Cloud Lifecycle Management version 4.5.00 supports BMC TrueSight Capacity Optimization 10.0 with the hot fix referenced in Knowledge Article ID 000111140.
See also Component BMC product service pack and patch levels.
This topic explains how to integrate TrueSight Capacity Optimization into your cloud environment
This topic contains the following sections:
Benefits of the integration
When you integrate TrueSight Capacity Optimization into your cloud environment, you gain access to the following features:
- Capacity-Aware Placement Advice (CAPA) that enables BMC Cloud Lifecycle Management to intelligently place workloads based on current CPU, memory, and disk utilization
- Cloud Capacity Visibility (CCV) view that displays utilization and capacity of cloud resources
- Chargeback view for defining and visualizing chargeback information, for example, cost models and target hierarchies, and automatically generating chargeback reports in different formats
Direct launch of TrueSight Capacity Optimization from the BMC Cloud Lifecycle Management – Administration Console Dashboards workspace
Note
From TrueSight Capacity Optimization 11.3.01, the following features are deprecated for BMC Cloud Lifecycle Management:
- Capacity-Aware Placement Advice (CAPA)
- Cloud Capacity Visibility (CCV) view
- Chargeback view
To configure BMC Cloud Lifecycle Management to use TrueSight Capacity Optimization features
To integrate TrueSight Capacity Optimization with BMC Cloud Lifecycle Management, the BCM Provider and other components required for integration are distributed OOTB along with the setup, and a separate field kit is not required. To enable the CAPA and TrueSight Capacity Optimization Cross Launch features, and to install the integration on Windows and Linux platforms, you are required to register the BMC Provider in Windows and Linux Platform Managers.
The following sections describe the steps for integrating the TrueSight Capacity Optimization features with BMC Cloud Lifecycle Management.
Before you integrate the features
Step | TrueSight Capacity Optimization online documentation | |
---|---|---|
1 | Install the BMC Cloud Lifecycle Management integration in TrueSight Capacity Optimization. To complete this procedure, you will need:
| Integrating with BMC Cloud Lifecycle Management |
2 | Verify the integration with BMC Cloud Lifecycle Management | Verifying the integration |
3 | Configure the appropriate ETL tasks to import BMC Cloud Lifecycle Management data into TrueSight Capacity Optimization. TrueSight Capacity Optimization needs this data to provide Capacity-Aware Placement Advice (CAPA) and Cloud Capacity Visibility (CCV) services to BMC Cloud Lifecycle Management. You can configure a TrueSight Capacity Optimization ETL task to import performance and resource utilization data from the following data sources: | See the topics in the following rows: |
To configure ETL tasks for virtualization environments (VMware vCenter and Citrix XenServer) | Configuring an ETL task to import data for BMC Cloud Lifecycle Management services | |
To configure ETL tasks for Cloud services data | BMC - Cloud Lifecycle Management 4.x - Cloud Services extractor | |
To configure ETL tasks for Cloud infrastructure data | BMC - Cloud Lifecycle Management 4.x - Cloud Infrastructure extractor | |
4 | Run the ETL task in simulation mode | Configuring an ETL task to import data for BMC Cloud Lifecycle Management services (Scheduling the ETL task section) |
5 | Schedule the ETL task for future executions | Configuring an ETL task to import data for BMC Cloud Lifecycle Management services (Scheduling the ETL task section) |
To enable secure HTTPS communication between BMC Cloud Lifecycle Management 4.5 and TrueSight Capacity Optimization
Note
Previous integrations between TrueSight Capacity Optimization and BMC Cloud Lifecycle Management only supported HTTP communication, not HTTPS. Use the following instructions to enable secure HTTPS communication by adding a new node to the accessValues section in the JSON. You are changing the following attributes in the JSON:
- AccessAttributeValue.Name (BCM_SERVER_PROTOCOL)
- AccessAttributeValue.Guid (new unique guid1)
- AccessAttribute.Name (BCM_SERVER_PROTOCOL)
- AccessAttributeValue.Guid (new unique guid2 different than guid1)
Use the Windows or Linux BCMProviderInstallerUI utility to install and register the TrueSight Capacity Optimization provider.
The utility is located, for example, at C:\Program Files\BMC Software\BMCCloudLifeCycleManagement\Platform_Manager\bcmprovider-registration-1.0.0. For more information, see Registering the BCM provider to enable CAPA for BMC Cloud Lifecycle Management 4.x.Note
Review the bcmprovider-registration-1.0.0 README for complete instructions (attached for your convenience).- When you successfully register the TrueSight Capacity Optimization-BMC Cloud Lifecycle Management integration, stop the CSM service on Platform Manager.
- Copy the BCM_SERVER_HOST attribute in providers.json (for example, C:\Program Files\BMC Software\BMCCloudLifeCycleManagement\Platform_Manager\configuration) from the accessValues section.
For example:{
"cloudClass" : "com.bmc.cloud.model.beans.AccessAttributeValue",
"accessAttribute" : {
"cloudClass" : "com.bmc.cloud.model.beans.AccessAttribute",
"datatype" : "STRING",
"guid" : "f32ac81d-101f-43dc-90fb-db9a5e40899d",
"isOptional" : true,
"isPassword" : false,
"modifiableWithoutRestart" : false,
"name" : "BCM_SERVER_HOST"
},
"attributeValue" : "<server_name_where_BCO_is_installed>",
"guid" : "4180dba8-fa11-4727-b6b1-3386549e8b4c",
"name" : "BCM_SERVER_HOST"
},
- Paste this snippet into the providers.json into the accessValues section to create the new BCM_SERVER_PROTOCOL node. You then must make two additional changes (shown in bold) to create the new node.
- Modify the name from BCM_SERVER_HOST to BCM_SERVER_PROTOCOL.
- Generate two new unique guids and add them to the new node.
Use an online utility like https://www.guidgenerator.com/ to generate the guids. These guids cannot be already used in providers.json or cloudservices.json.{
"cloudClass" : "com.bmc.cloud.model.beans.AccessAttributeValue",
"accessAttribute" : {
"cloudClass" : "com.bmc.cloud.model.beans.AccessAttribute",
"datatype" : "STRING",
"guid" : "c272fee9-a4b2-41c1-bef8-5f774969b3e3",
"isOptional" : true,
"isPassword" : false,
"modifiableWithoutRestart" : false,
"name" : "BCM_SERVER_PROTOCOL"
},
"attributeValue" : "HTTPS",
"guid" : "b40c4001-ea6d-4606-8395-fc101225a971",
"name" : "BCM_SERVER_PROTOCOL"
},
- Validate the modified JSON with any JSON validator utility (for example, http://jsonlint.com/).
- Start the CSM service.
To enable Capacity-Aware Placement Advice
This feature provides real-time recommendations for placement of new workloads on your cloud when provisioning it with BMC Cloud Lifecycle Management. These recommendations are based on available and forecasted capacity.
Step | TrueSight Capacity Optimization online documentation | |
---|---|---|
1 | Register the BCM Provider to enable CAPA for BMC Cloud Lifecycle Management | |
2 | Verify the Capacity-Aware Placement Advice integration | Verifying and managing the Capacity-Aware Placement Advice integration |
3 | Configure placement options and Affinity settings for Compute and Storage resources | Configuring placement options and Affinity settings for Compute and Storage resources |
4 | Configure datastore overprovisioning | Viewing and configuring datastore overprovisioning |
To enable Cloud Capacity Visibility
This feature enables you to view and manage the capacity of cloud entities such as virtual clusters, network containers, pools, and pods in your cloud environment. Also provides an overview of available capacity, utilization, trends, and residual capacity in terms of CPU, virtual CPU, memory, and data storage space.
Step | TrueSight Capacity Optimization online documentation | |
---|---|---|
1 | Install the Cloud Capacity Visibility view | Installing and verifying the Cloud Capacity Visibility View |
2 | Verify that the installation was successful and that the view is working properly | Installing and verifying the Cloud Capacity Visibility View |
To enable Chargeback
This feature provides support for defining and visualizing chargeback information, for example, cost models and target hierarchies, and automatically generating chargeback reports in different formats.
Step | TrueSight Capacity Optimization online documentation | |
---|---|---|
1 | Install and deploy the Chargeback view in TrueSight Capacity Optimization | To install the Chargeback view |
2 | Verify whether or not the Chargeback view was successfully installed and deployed in TrueSight Capacity Optimization | To verify a successful install of the Chargeback view |
3 | Review the scheduled Chargeback system tasks | To view Chargeback system tasks |
To enable or disable launching TrueSight Capacity Optimization from BMC Cloud Lifecycle Management
- From the vertical Workspaces menu in the BMC Cloud Lifecycle Management Administration Console, click Configuration.
- In the Configuration Options workspace, click the Console Preferences tab.
- In the Cloud Administrator Console Configuration section, set the BCO Console Launch preference:
- Select Show to enable launching TrueSight Capacity Optimization from the Resources workspace.
- Select Hide to disable launching TrueSight Capacity Optimization from the Resources workspace.
To launch TrueSight Capacity Optimization from BMC Cloud Lifecycle Management
- From the vertical Workspaces menu in the Administration Console, click Resources.
- In the Resources workspace, click and select a launch option.
Comments
Log in or register to comment.