Managing the capacity of your RHEV infrastructure


Excerpt named hoco_goals was not found in document xwiki:IT-Operations-Management.Continuous-Optimization.BMC-Helix-Capacity-Optimization.hco2002.Implementing.Managing-the-capacity-of-your-vSphere-infrastructure.WebHome.

As a Capacity Planner or RHEV Technology Specialist, you can use BMC Helix Capacity Optimization to configure, administer, and manage the capacity of your RHEV (Red Hat Enterprise Virtualization) infrastructure. BMC Helix Capacity Optimization enables you to collect and analyze data from RHEV infrastructure elements:

  • Providers (hosts)
  • Consumers (virtual machines)
Descriptions: Provider, Consumer

Provider: Infrastructure element with the physical resources, such as CPU, memory, storage, and that provides these resources to a Consumer. For example, virtual machine host.

Consumer: Logical or virtual infrastructure element that consumes or uses the resources from a Provider. For example, virtual machine.

manage_rhev.png

The BMC Helix Capacity Optimization data source collects data from the RHEV infrastructure elements. The collected data is transferred to the BMC Helix Capacity Optimization data warehouse where it is processed, and then displayed on the user interface. You can use the product functionalities to review, analyze, and manage capacity of your RHEV infrastructure providers and consumers.

The following sections describe how you can achieve these goals:

Managing the capacity of RHEV infrastructure providers

RHEV uses KVM as an underlying hypervisor. Therefore, data about KVM hosts that are managed by RHEV is displayed in the KVM views. You can analyze and manage the capacity of your RHEV infrastructure providers by using the KVM views. For the infrastructure data to be available in the view, the Administrator must first set up the data source to collect data.

Step 1. Collect data and install the views

As an Administrator, configure and use one of the following methods for data collection:

After data collection starts, data is loaded in the data warehouse daily and Indicators are available in the Workspace. 

As an Administrator, you must install the KVM views and Capacity Pools view and grant the necessary permissions to Capacity Planners and RHEV Technology Specialists to access these views.

Step 2. Analyze the collected data

To get a high-level view of the infrastructure usage and health, use the out-of-the-box capacity pools in the Capacity-Pools-view.

For detailed analysis, see KVM Overview view.

The following common use cases are described here:

Understand the usage and health of your KVM hosts managed by RHEV

Review and analyze the out-of-the-box capacity pools for KVM hosts for a high-level understanding of their health and usage. For more information, see Capacity-Pools-view

You can drill down into a specific host for detailed analysis.

An Administrator can create capacity pools as per your requirement. You can then view and analyze them in the Capacity Pools view.

Understand resource availability, utilization, and utilization trend of your KVM hosts managed by RHEV

Review and analyze the resource metrics of KVM hosts on the Host-page-in-the-KVM-Overview-view page in the KVM Overview view.

Identify the KVM hosts managed by RHEV that have exhausted or exhausting resources

Use the Future-Saturations-page-in-the-KVM-Overview-view to get a quick view of the KVM hosts that have exhausted or exhausting resources (CPU, memory, and storage).

Managing the capacity of RHEV infrastructure consumers

RHEV uses KVM as an underlying hypervisor. Therefore, configuration and performance data of KVM virtual machines that are managed by RHEV is displayed in the KVM views. You can analyze and manage the capacity of your RHEV virtual machines by using the KVM views. For the infrastructure data to be available in the view, the Administrator must first configure data collection.

Step 1. Collect data and install the views

As an Administrator, you can use the following data sources to collect data from the KVM virtual machines managed by RHEV:

Before you use this ETL, you must instrument the VMs. 

Instrumenting VMs

The memory utilization value that is collected from an instrumented VM is based on the actual memory of the VM. The Agent collects resource consumption breakdown at process or workload level and helps you to detect specific in-guest OS level resource constraints (for example, in-guest paging due to the physical memory configuration of the VM being too low).
BMC recommends that you instrument your business-critical VMs to collect OS-level memory usage values. 
To instrument a VM: 
 1. Install a Capacity Agent inside the VM from which you want to collect metrics
 2. Configure the Gateway Server and Capacity Agent to initiate data collection. For more information, see Collecting-data-via-Capacity-Agents
 3. Configure and use the out-of-the-box BMC-TrueSight-Capacity-Optimization-Gateway-VIS-files-parser to collect the required metrics from the VM.

After data collection starts, data is loaded in the data warehouse daily and Indicators are available in the Workspace. 

In the Workspace:

  • Virtual machines whose data is collected by the Red Hat Enterprise Virtualization - Extractor service ETL are represented by the Virtual Machines - RHEV system type.
  • Instrumented VMs are represented by the Virtual Node - RHEV system type.
  • If you have configured the ETLs to share the same entity catalog, then these two system types, Virtual Machine - RHEV and Virtual Node - RHEV, are internally linked and you can view their relationship for each VM.

As an Administrator, you must install the KVM views and Capacity Pools view and grant the necessary permissions to Capacity Planners and RHEV Technology Specialists to access these views.

Step 2. Analyze the collected data

Use the capacity views to analyze the imported data of KVM virtual machines managed by RHEV. Depending on the data source, you can use the KVM Overview view or the Servers Overview view for analysis.

To view and analyze the key capacity metrics and charts for KVM VMs, use the KVM-Overview view. 

To view and analyze the granular metrics (actual memory utilization value, workload data, and process level data) that are collected from the VM, use the Servers-Overview-view

The following common use cases are described here.

Determine and analyze the available resources and their utilization per VM

Review and analyze the relevant metrics on the Virtual-Machines-page-in-the-KVM-Overview-view to determine the available resources and their utilization per VM. For example, utilization metrics for CPU and memory.

Identify the KVM VMs managed by RHEV that have exhausting resources

Review the Future-Saturations-page-in-the-KVM-Overview-view to identify KVM virtual machines that have exhausting resources (CPU, memory, storage). The page also provides actionable recommendations to help you handle them.

Analyze the trend and behavior of the actual (OS-level) memory utilization of KVM VMs managed by RHEV

Review the Servers views to review and analyze the trend and behavior of the actual memory utilization of the KVM virtual machines.

These views display data that is collected from instrumented VMs.

Performing advanced analysis

The earlier sections explained how you can use the out-of-the-box capacity views to manage your environment. These capacity views help you analyze your RHEV infrastructure using a predefined set of metrics.

To perform advanced analysis on the imported KVM data managed by RHEV, such as identifying specific performance issues, trends, and bottlenecks, you can use Analysis.

About Analysis

An analysis is a visual tool that you can use to identify the behavior of a set of metrics and the relationships among them. Each analysis can focus on the business driver metrics of an application, on the performance of an application's systems, and on the events related to an application. Analyses can also be used to compare performance and business driver metrics to determine a system's behavior under load. 

Here are some use cases for which you can create and use Analysis:

For more examples, see Creating-an-analysis.

Analyze the CPU utilization of the host over time and understand the trend

Analyze the resource utilization pattern of KVM hosts managed by RHEV

  1. Create an analysis. 
    See sample configuration values: 
    kvm_host_real_mem_used_01.png
    kvm_host_real_mem_used_02.png

  2. Review the analysis results.
    The analysis results are shown in a tabular format. The summary table shows the resource utilization metric values for a host. The page shows the memory usage of the host.
    kvm_host_real_mem_used_03.png


Managing the future demand

By using the capacity views and analysis charts, you can analyze the data of your existing capacity. 

Use Models to predict service performance and obtain forecasts of historical series of metrics, including deep details on the modeling techniques used in forecasts and how to interpret the results of model runs.

About models

A model is a simplified mathematical description of service components that evaluates historical data, predicts future behavior, and simulates what-if scenarios. Models are always built on existing data and analysis. After you create a model, define scenarios to perform multiple predictions under different conditions. With Models you can forecast and model changes in service demands.

How to determine when a resource of a host completely saturates

For more information, see Modeling-capacity-usage.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*