Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

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:

  • The platform manager host name, port number, user name and password
  • The Enterprise CMDB host name, port number, user name and password
Integrating with BMC Cloud Lifecycle Management
2Verify the integration with BMC Cloud Lifecycle ManagementVerifying 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
4Run the ETL task in simulation modeConfiguring an ETL task to import data for BMC Cloud Lifecycle Management services (Scheduling the ETL task section)
5Schedule the ETL task for future executionsConfiguring 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

This section is applicable for BMC Cloud Lifecycle Management 4.5 only. In version 4.6, the issue was fixed.

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)
  1. 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).  
  2. When you successfully register the TrueSight Capacity Optimization-BMC Cloud Lifecycle Management integration, stop the CSM service on Platform Manager.
  3. 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"

    },

  4. 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. 
    1. Modify the name from BCM_SERVER_HOST to BCM_SERVER_PROTOCOL.
    2. 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"

      },

  5. Validate the modified JSON with any JSON validator utility (for example, http://jsonlint.com/).
  6. 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

1Register the BCM Provider to enable CAPA for BMC Cloud Lifecycle Management

Registering and installing CAPA on Windows

Registering and installing CAPA on Linux

2Verify the Capacity-Aware Placement Advice integrationVerifying and managing the Capacity-Aware Placement Advice integration
3Configure placement options and Affinity settings for Compute and Storage resourcesConfiguring placement options and Affinity settings for Compute and Storage resources
4Configure datastore overprovisioningViewing 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

1Install the Cloud Capacity Visibility viewInstalling and verifying the Cloud Capacity Visibility View
2Verify that the installation was successful and that the view is working properlyInstalling 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

1Install and deploy the Chargeback view in TrueSight Capacity OptimizationTo install the Chargeback view
2Verify whether or not the Chargeback view was successfully installed and deployed in TrueSight Capacity OptimizationTo verify a successful install of the Chargeback view
3Review the scheduled Chargeback system tasksTo view Chargeback system tasks

To enable or disable launching TrueSight Capacity Optimization from BMC Cloud Lifecycle Management

  1. From the vertical Workspaces menu in the BMC Cloud Lifecycle Management Administration Console, click Configuration.
  2. In the Configuration Options workspace, click the Console Preferences tab.
  3. 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

  1. From the vertical Workspaces menu in the Administration Console, click Resources.
  2. In the Resources workspace, click and select a launch option.

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments