2 User Guide
Copyright 2006, 2010 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Acknowledgments HP-UX Release 10.20 and later and HP-UX Release 11.00 and later (in both 32 and 64-bit configurations) on all HP 9000 computers are Open Group UNIX 95 branded products. UNIX is a registered trademark of The Open Group. Intel and Itanium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Revision history
Edition 2 1
Supported Operating Systems See the HP Insight Software 6.2 Support Matrix. See the HP Insight Software 6.2 Support Matrix.
Table of Contents
1 Introduction...................................................................................................................11
Setup considerations.............................................................................................................................12 Licensing requirements...................................................................................................................12 Installation.......................................................................................................................................12 Collection methods..........................................................................................................................12 Disk space requirements..................................................................................................................12 Credentials.......................................................................................................................................13 Dependencies...................................................................................................................................13 Upgrades and reinstallation.................................................................................................................13 Upgrading agents on HP-UX or OpenVMS managed systems......................................................13 Navigating within HP SIM, Virtualization Manager, and Capacity Advisor......................................13
2 Features.........................................................................................................................15
Data collection.......................................................................................................................................16 Data collection infrastructure..........................................................................................................16 Supported collection configurations...............................................................................................17 Comparison of agentless and UP data collection............................................................................18 HP PMP data differs from Utilization Provider data......................................................................19 Differences in memory data ......................................................................................................19 Differences in network data ......................................................................................................19 Related topics........................................................................................................................19 Experimentation....................................................................................................................................20 Sizing for service level objectives..........................................................................................................21 Modeling considerations......................................................................................................................22 Capacity Advisor commands...............................................................................................................22
With percentage of time limits..............................................................................................29 Scope of utilization limits...........................................................................................................29 Adjusting power...................................................................................................................................30 Power cap data.................................................................................................................................30 Automating solution generation: HP Smart Solver..............................................................................31 HP Smart Solver: Types of solutions...............................................................................................31 Determining trends in Capacity Advisor.............................................................................................31 Aggregation of points in business interval bins..............................................................................32 Choosing an appropriate business interval...............................................................................32 Exclusion of data points..................................................................................................................32 Factors that affect data validity..................................................................................................32 Linear regression.............................................................................................................................33 Error analysis...................................................................................................................................33 Forecasting growth...............................................................................................................................33 The forecast model hierarchy..........................................................................................................33 Forecast model attributes................................................................................................................34
5 Procedures....................................................................................................................55
Accessing Capacity Advisor.................................................................................................................55 Gathering data for Capacity Advisor...................................................................................................55 Impact of data collection on managed system performance...........................................................56 Data collection options....................................................................................................................56 First data collection (or the automated nightly collection).............................................................58 Interpreting task results...................................................................................................................59 Error notification on the standard out tab.................................................................................59 Scheduling a data collection............................................................................................................60 Modifying a collection schedule......................................................................................................61 Removing a collection schedule......................................................................................................61 Updating collected data...................................................................................................................61 Updating collected data on all systems......................................................................................62 Updating collected data on selected systems.............................................................................62 Updating data displayed in a profile viewer.............................................................................62 Collecting data without using an agent..........................................................................................62 Listing systems currently in the configuration file....................................................................62 Setting advanced options in the agentless data collection file...................................................63
4 Table of Contents
Data collection and the HP Insight Capacity Advisor Consolidation software..............................63 Using Capacity Advisor with consolidation software server data............................................64 Viewing the licensed servers in HP SIM....................................................................................64 Importing data for use in Capacity Advisor...................................................................................64 From the Optimize menu Import HP OVPA data.................................................................64 From the Optimize menu Import HP PMP data...................................................................65 From the command line.............................................................................................................66 Ascertaining the data collection availability for a set of servers................................................66 Possible sources of discrepancies in collected data.........................................................................66 No data collected for a managed node......................................................................................66 Data timestamp appears to be incorrect....................................................................................66 Dynamic memory in HP Integrity virtual machines.................................................................67 Producing graphs and reports..............................................................................................................67 Using the Profile Viewer..................................................................................................................67 Using the report wizard..................................................................................................................71 The report wizard.......................................................................................................................71 Creating an historic utilization report........................................................................................72 Creating a scenario utilization report........................................................................................73 Using the report wizard to create a scenario comparison.........................................................74 An example scenario comparison report..............................................................................74 Calculating a virtualization consolidation ratio...................................................................75 Creating a consolidation candidates report...............................................................................76 Creating a cost allocation report................................................................................................76 Creating a peak summary report...............................................................................................76 Creating a population report.....................................................................................................77 Creating a trend report...............................................................................................................77 Creating a power report.............................................................................................................78 Setting utilization limits........................................................................................................................78 Setting global utilization limits.......................................................................................................79 Adding a utilization limit...........................................................................................................79 Removing a utilization limit......................................................................................................79 Setting workload utilization limits..................................................................................................80 Adding a utilization limit...........................................................................................................80 Enabling or disabling the limit...................................................................................................80 Removing a utilization limit......................................................................................................80 Setting scenario-wide utilization limits...........................................................................................80 Adding a utilization limit...........................................................................................................80 Enabling or disabling the limit...................................................................................................81 Removing a utilization limit......................................................................................................81 Setting scenario workload utilization limits....................................................................................81 Adding a utilization limit...........................................................................................................81 Enabling or disabling the limit...................................................................................................81 Removing a utilization limit......................................................................................................82 Forecasting utilization..........................................................................................................................82 Defining forecast models.................................................................................................................82 Accessing the Global Forecast Model........................................................................................82 Defining the Global Forecast Model.....................................................................................83 Accessing the forecast model for a workload or system............................................................83 Defining the forecast model for a workload or system........................................................84 Accessing the forecast model for a scenario..............................................................................84 Accessing the forecast model for a workload within a scenario................................................85 Defining a forecast model..........................................................................................................85 Disabling a forecast model.........................................................................................................85 Enabling a forecast model..........................................................................................................85 Generating forecasts........................................................................................................................85
Table of Contents 5
Viewing forecast data in a profile viewer..................................................................................86 Viewing forecast data in a utilization report.............................................................................86 Working with scenarios........................................................................................................................86 Creating a planning scenario...........................................................................................................86 Editing a scenario............................................................................................................................88 Controlling the data display............................................................................................................88 Change the meter style selection................................................................................................88 Change the data collection period by setting the data range.....................................................88 Change the meter representation...............................................................................................90 Copying a scenario..........................................................................................................................90 Renaming a scenario........................................................................................................................90 Undo/edit/review applied what-if actions in a scenario.................................................................91 To view applied what-if actions.................................................................................................91 To edit applied what-if actions...................................................................................................91 Modifying resource utilization values..................................................................................92 Deleting a scenario..........................................................................................................................92 Working with systems..........................................................................................................................93 Creating a system............................................................................................................................93 Adding an existing system..............................................................................................................94 Editing a system..............................................................................................................................94 Changing VMs to be servers............................................................................................................94 Change VMs to server................................................................................................................95 Changing servers to be VMs (manually).........................................................................................95 Change servers to be VMs..........................................................................................................95 Assigning VM hosts to a VMware DRS cluster in a scenario..........................................................96 Initially converting VM hosts to simulate a VMware DRS cluster............................................96 Adding VM hosts to a converted cluster...................................................................................97 Removing a VM host from a VMware DRS cluster...................................................................97 Removing a VMware DRS cluster from a scenario....................................................................97 Moving a virtual machine...............................................................................................................98 Removing a system..........................................................................................................................99 Editing network and disk I/O capacity...........................................................................................99 Getting there...............................................................................................................................99 Setting the upper bound values.................................................................................................99 Working with workloads....................................................................................................................100 Introduction...................................................................................................................................100 Creating a workload......................................................................................................................100 Editing a workload........................................................................................................................101 Moving a workload........................................................................................................................102 Move considerations.................................................................................................................102 Parking a workload........................................................................................................................104 Deleting a workload......................................................................................................................104 Working with power...........................................................................................................................104 Calibrating power within Virtualization Manager........................................................................105 Calibrating a single system......................................................................................................105 Calibrating multiple systems at once.......................................................................................107 Calibrating power within a scenario.............................................................................................107 Getting there.............................................................................................................................108 Calibrating a single system......................................................................................................108 Calibrating multiple systems at once.......................................................................................109 Automating time-consuming simulations..........................................................................................109 Automated solution finding: System consolidation to VMs.........................................................109 Begin with a scenario................................................................................................................110 Choose the systems to consolidate...........................................................................................110 Step 1 of 3: Define the destination system(s) and attributes....................................................110
6 Table of Contents
Step 2 of 3: Set level of effort for Smart Solver calculation.......................................................111 Step 3 of 3: View Smart Solver solutions..................................................................................111 Results: Automated consolidation to VMs.........................................................................112 Automated solution finding: Load balance of servers or VM hosts .............................................113 Begin with a scenario................................................................................................................113 Choose the VM hosts or servers to load-balance.....................................................................113 Step 1 of 3: Define the solution constraints..............................................................................114 Step 2 of 3: Set level of effort for Smart Solver calculation.......................................................114 Step 3 of 3: View Smart Solver solutions..................................................................................114 Results: Automated load balancing of servers or VM hosts...............................................114 Automated solution finding: Workload stacking..........................................................................115 Begin with a scenario................................................................................................................116 Choose the workloads to stack.................................................................................................116 Step 1 of 3: Stack the specified workloads onto servers...........................................................116 Step 2 of 3: Set level of effort for Smart Solver calculation.......................................................117 Step 3 of 3: View Smart Solver solutions..................................................................................117 Results: Automated workload stacking..............................................................................117 Getting more detail........................................................................................................................118
A Calculation assistance..............................................................................................123
Cost calculation...................................................................................................................................123 Cost per kilowatt-hour...................................................................................................................123 Cooling calculation.............................................................................................................................123 Cooling multiplier.........................................................................................................................123 Adjusting for platform changes..........................................................................................................123 Memory multiplier........................................................................................................................124 Adjusting for change in a workload...................................................................................................124 CPU workload multiplier..............................................................................................................124 Memory workload multiplier........................................................................................................125 Network I/O workload multiplier.................................................................................................125 Disk I/O workload multiplier........................................................................................................125 Determining estimated utilization assumptions for a workload..................................................125 Adjusting for virtualization changes..................................................................................................127 CPU Virtualization Overhead %....................................................................................................127 CPU Virtualization Overhead %..............................................................................................128 Hypervisor memory overhead......................................................................................................128 Hypervisor memory overhead.................................................................................................128 Doing the math for hypervisor memory overhead..................................................................128 HP Virtual Machine............................................................................................................128 VMware ESX 3.....................................................................................................................128 VMware vSphere (ESX 4)....................................................................................................129 Microsoft Hyper-V..............................................................................................................129
Table of Contents 7
Power calibration calculations............................................................................................................129 Determining idle/max values for non-Blade servers ....................................................................129 Determining idle/max values for Blade servers............................................................................130 P-class HP Blades and HP Blade system sizer:........................................................................130 C-class HP Blades and HP Blade system sizer:........................................................................131
B Command reference..................................................................................................133
capagentlesscfg (1M)...........................................................................................................................134 capcollect (1M)....................................................................................................................................136 capcustombenchmark(1M).................................................................................................................139 capcustombenchmark (4)....................................................................................................................141 capovpaextract (1M)............................................................................................................................142 capprofile (1M)....................................................................................................................................144 capprofile (4).......................................................................................................................................148 cappmpextract ....................................................................................................................................151
E Graphed data in Capacity Advisor reports............................................................161 F Example of the Undo/Edit/View Applied What-If Actions screen.......................163 G Troubleshooting in Capacity Advisor ....................................................................165
When there is no connection...............................................................................................................165 Data is not being collected..................................................................................................................166 Data may appear to be old when it is not...........................................................................................167 Data seems to be incorrect or lost.......................................................................................................168 Data cannot be imported.....................................................................................................................170 Out-of-memory errors in the Java heap..............................................................................................170 When working with reports................................................................................................................171 When working in the scenario editor..................................................................................................171 When working with power.................................................................................................................172 Workload and system relationships may not match when comparing Capacity Advisor and Virtualization Manager information...................................................................................................173 Miscellaneous user interface issues....................................................................................................173
Glossary.........................................................................................................................183
8 Table of Contents
Index...............................................................................................................................191
Table of Contents
10
1 Introduction
This document describes how to use Capacity Advisor to plan for changes in resource usage in a virtualized server environment. Checklists and examples help you with common planning tasks. This document is for technical professionals working in data center operations, administration, and planning. Some understanding of system administration is assumed. HP Insight Capacity Advisor software is a program that allows you to monitor and evaluate system and workload utilization of CPU cores, memory, network and disk I/O, and power. With this information, you can load your systems to make best use of the available resources. You can monitor and evaluate one or more systems that are connected in a cluster configuration or to a network. A single system can include multi-core or hyper-threaded processors. Capacity Advisor helps you evaluate system consolidations, load balancing, changing system attributes, and varying workloads to decide how to move workloads to improve utilization. The quantitative results from Capacity Advisor can aid the planner in estimating future system workloads and in planning for changes to system configurations. With Capacity Advisor, you can perform the following tasks within an easy-to-navigate, clearly notated graphical user interface: Collect utilization data on CPU cores, memory, network and disk I/O, and power. View historical resource utilization for whole-OS and monitored workloads on HP-UX and OpenVMS systems and whole-OS workload resource utilization on Microsoft Windows and Linux systems. View historical workload resource utilization and aggregate utilization across the partitioning continuum (see the HP Insight Software 6.2 Support Matrix for a complete list of supported platforms). Generate resource utilization reports. Plan workload or system changes, and assess impact on resource utilization. Assess resource utilization impact for proposed changes in workload location or size. Evaluate trends for forecasting resource needs.
Capacity Advisor can be used to simulate changes in system configuration, such as the following: Consolidating several systems into one system Re-sizing a system for an upgrade Re-sizing the demands on a system to reflect a forecast Replacing older, small to mid-sized systems with virtual machines Capacity Advisor can use data collected over time to show the results of these configuration changes in many ways. Graphical views are available so you can see what the effects of the changes are over time. Tables are available that give the percentage of time and the degree to which the system is busy; this information is valuable in comparing resource utilization and quality of service before and after a change. Other tables show how many minutes per month the system is unacceptably busya measure valuable for both quality of service and for estimating TiCAP bills. Because Capacity Advisor works from data traces collected over time, it is much more accurate than using only peak data or average data in understanding your systems and the workloads they support. The significant advantage in using Capacity Advisor, rather than ad hoc processes or guesswork, is that it provides a quantitative basis for examining the usage of current resources. Additionally, it provides the capability to try simulations (what-if scenarios) for moving workloads or other resources before you actually implement a move. Capacity Advisor incorporates numerical values of several components in its analysis and modeling, including:
11
Number of CPU cores CPU benchmark data Memory size Network I/O bandwidth Disk I/O bandwidth Power usage Platform multiplier for memory (see Adjusting for platform changes (page 123)) Virtualization adjustments (see Adjusting for virtualization changes (page 127))
Setup considerations
To prepare to use Capacity Advisor, consider the following: Licensing requirements Installation Upgrade and reinstallation Credentials Dependencies
Licensing requirements
Capacity Advisor is installed when HP Insight Dynamics suite is installed. For specific information about trial and LTU (License To Use) licensing on supported platforms, see the HP Insight Dynamics 6.2 Getting Started Guide at http://www.hp.com/go/insightdynamics/docs. For added information on using the HP Insight Capacity Advisor Consolidation software license, see Data collection and the HP Insight Capacity Advisor Consolidation software (page 63). Capacity Advisor and Capacity Advisor Consolidation Software licenses cannot be used on the same system at the same time.
Installation
Capacity Advisor is installed with other Insight Dynamics components, so no separate installation is required. (See the Insight Dynamics installation guide at http://www.hp.com/go/ insightdynamics/docs appropriate for your operating system.) To use Capacity Advisor, you must have a valid license.
Collection methods
On installation of HP Insight Dynamics suite, the Insight managed system setup wizard automatically configures the mechanism used to collect data from managed servers based on the type of operating system that the managed system is running. (See Supported collection configurations (page 17).) Some problems with data collection can be diagnosed with vseassist. See the HP Insight Dynamics 6.2 Getting Started Guide for additional information.
12
Introduction
For additional information on disk space requirements, see the Insight Dynamics installation guide appropriate for your operating system at http://www.hp.com/go/insightdynamics/docs .
Credentials
To use Capacity Advisor, to collect data, and to run reports, you must have credentials (a valid user name and password) and appropriate toolbox authorization on systems where you plan to use Capacity Advisor. For specifics about setting up user authorizations, see the HP Insight Dynamics 6.2 Getting Started Guide at http://www.hp.com/go/insightdynamics/docs.
Dependencies
Data collection requires that credentials for each managed server be configured in HP SIM. WBEM/WMI credentials must be configured for all Windows servers, HP-UX servers, and HP Integrity VMs. For agentless data collection on Windows systems, the WBEM/WMI credentials must be set to Administrator level. WBEM certificate authentication is supported for HP-UX servers. SSH credentials (user-based, host-based key, or by certificate) must be configured for all Linux servers. Linux agentless data collection does not require root-level access. HP SIM Privilege elevation is supported on HP-UX and Linux servers using a single user account with sudo or powerbroker with no password required. The Windows or Linux managed node must be configured for agentless data collection by running the Insight managed system setup wizard, or by running Collect Capacity Advisor Data... (capcollect) on the managed server. Administrator or root level permission on the CMS is required to configure agentless collection on the CMS. HP Insight Control virtual machine management (VMM) is required to collect data from ProLiant/x86-based hypervisors and their VMs. Hyper-V VMs also require that WBEM/WMI credentials be configured for Windows VMs and SSH for Linux VMs.
13
14
2 Features
Capacity Advisor lets you test configuration changes before actually making them in your data center, and helps you to manage existing resources to improve their utilization. For example, Capacity Advisor assists you in answering questions such as the following: Is there room on this system to support additional work? Will this workload fit on this system? Can these servers be consolidated as virtual machines on a single server? What might my resource demand be in six months or a year? What are the estimated power costs for cooling a real or simulated system configuration? What does a comparison of several what-if scenarios reveal about the analyzed alternatives? What is the historic behavior of a system or workload?
Capacity Advisor can display data about the following system resources: CPU cores (number) and speed Memory Network I/O bandwidth Disk I/O bandwidth Power usage Capacity Advisor enables you to collect resource data and create visualization graphs with the following views: Historical utilization and trends Data peaks Peak durations Forecasts with the following utilization limits: amount of acceptable resource usage sustained time percentage of time Capacity Advisor enables you to create scenarios for what-if planning and forecasting, performing tasks such as the following: For systems in scenarios: Create systems based on existing systems or with characteristics that you define Remove systems Edit system attributes Turn systems into virtual machines Move virtual machines For workloads in scenarios: Create workloads based on existing workloads or with characteristics that you define Collect utilization data for workloads Import existing workload profiles Edit workload demands Move workloads between systems Park workloads Delete workloads For scenarios themselves: View and undo/redo scenario changes Use the HP Smart Solver technology to perform:
15
Automated server consolidation to virtual machines Automated load balancing of existing VM hosts or existing servers Automated workload stacking (consolidation)
Data collection
Data collection is at the heart of Capacity Advisor and a task is created during configuration to automatically collect utilization data from all resources licensed for Insight Dynamics and discovered by HP Systems Insight Manager software (HP SIM). (See First data collection (or the automated nightly collection) (page 58).) HP recommends that once you have become familiar with using Capacity Advisor, you should review this scheduled task to understand what it is doing and make sure that it fits your needs. This automated data collection task gathers historical data from all your systems so that the data is available when you need it for analysis.
The Agentless Data Collector Services run on the CMS and collect data from Microsoft Windows and Linux managed systems. Agentless data collected by the Agentless Data Collector Service is made
The Data Collector gathers data from the agentless data files, the Utilization Providers running on the managed nodes, and from VMM. You can import data (HP OVPA and HP PMP) into the historical database for analysis.
11
12
13
Scenario data is stored automatically for continued use in the Scenario Editor. Use the Scenario Editor to manipulate the collected data associated with workloads and systems. Use a Profile Viewer to examine a graphical
16
Features
available to the Capacity Advisor Data Collector. The Utilization Provider enables the operation of the Capacity Advisor Data Collector. HP Insight Control virtual machine management (virtual machine management) data is made available to the Capacity Advisor Data Collector. Characteristics of managed systems are stored in the Insight Dynamics database and used when collecting utilization Data.
9 10
Automatic data conversion occurs when importing data into the Insight Dynamics database. Historical data is stored for use in Capacity Advisor. The Utilization Calculator uses historical utilization data and scales, sums, or converts it to approximate actual or hypothetical system utilization.
14
15
display of the utilization of a specific resource for a specific workload or system. Use the Report Generator to create reports for understanding utilization. Use the web browser to work with Capacity Advisor and exploit its features.
HP VM Provider and Utilization Provider HP VM Provider and Utilization Provider Utilization Provider agentless method agentless method Utilization Provider Utilization Provider Utilization Provider Utilization Provider (Integrity only) agentless method Utilization Provider Utilization Provider
Data collection
17
Data is obtained from some managed system types using more than one collector. This is done where the data from both collectors provide a broader or more accurate view than can be obtained from using only one collector on that managed system type. For example, where both natively collected data (agentless) and data from the Integrity Virtual Machines Provider are used, the HP VM agent provides info about the VM that allows Capacity Advisor to obtain more accurate CPU data for the VM, and the agentless method provides metrics other than CPU utilization.
NOTE: The supported collection configurations for a managed node are normally set up by the Insight managed system setup wizard. If the capcollect command is run before the wizard is run on a managed node, and agentless data collection is supported for the managed node, the node will be configured for agentless collection at that time. Because no agentless data is yet available, however, the message:
Error: At the time data collection was run, system "system-name" was not configured for agentless data collection. It has been configured and data collection will begin shortly. No utilization data is available now. Try collecting again in 5 minutes.
will appear in the command output. Subsequent collections will retrieve collected data beginning at the time the capcollect command was run on the managed node.
Table 2-2 A comparison of agentless data collection and use of Utilization WBEM Provider
Agentless data collection Utilization Provider (UP) Equally useful in data quality and accuracy. Available for Microsoft Windows, Linux, and non-HP systems Available for HP-UX and OpenVMS systems
Provides the basic set of utilization metrics for CPU, Provides the basic set of resource utilization metrics for memory, network I/O, and disk I/O, plus additional CPU, memory, network I/O, and disk I/O. metrics for reporting specific activities in the operating system, disk, and network: CPU queue length, page faults/second, disk I/Os per second, LAN packets/second, number of disks, disk space total, disk space used. Leverages existing data on the system; no additional agent Requires hosting and updating the UP agent hosting or update required Susceptible to network or CMS downtime as data is continuously collected by the CMS across the network from each managed system Small additional load on the CMS CPU and memory resources incurred by the ongoing operation of the agentless data collection service Not susceptible to downtime in the network or the CMS. Collected data is held for a maximum of 30 days by the UP for transfer to the database on the CMS Slight additional load on CMS CPU or memory resources incurred once per day
Slight additional load on managed system resources due Slight additional load on managed system resources, due to remote queries from the collector every 5 minutes to local queries from the UP agent every 5 minutes, and storage/retrieval of historical metrics on the local file system
18
Features
Table 2-2 A comparison of agentless data collection and use of Utilization WBEM Provider (continued)
Agentless data collection Utilization Provider (UP)
Small additional load on the network incurred by the Slight additional load on network incurred once per day ongoing operation of the agentless data collection service Data collection starts within a few minutes of configuring Data collection starts within 24 hours of configuring the the system using Insight managed system setup wizard system using Insight managed system setup wizard. However, if the UP is already running on the managed system, the data collected may cover an interval as long as 30 days previous to configuration in Insight Dynamics.
Data collection
19
Experimentation
You can better understand Capacity Advisor by experimenting considering different configurations and workload placement trying them out in what-if scenarios. A scenario identifies the workload demand profile that creates your experimental simulations. When you do workload analysis in Capacity Advisor, you view graphs and reports that represent CPU or memory utilization by time. For example, Figure 2-2 shows a graph of CPU utilization for a single system over a one-month period. Figure 2-2 CPU utilization for managed system puny03v8
Similarly, Figure 2-3 shows CPU utilization for a second system over the same period. Figure 2-3 CPU utilization for managed system puny03v7
Peak value.
Comparing these two graphs shows that workload peaks on the two systems do not occur simultaneously, nor do they require the same percentage of the allocated CPU cores for processing. This suggests an opportunity to consider whether you can consolidate both systems together to satisfy the needs of the workloads, while reducing the number of CPU cores (originally each system is allocated 2 cores, for a total of 4 cores available to do work). Figure 2-4 shows the result of using a Capacity Advisor what-if scenario to combine the workloads onto one system.
20
Features
Figure 2-4 Combined what-if CPU utilization for puny03v8 and puny03v7
Peak value.
From the graph, it is evident that the peak of the combined workloads is under 2 CPU cores. Even with utilization limits in place, this system is unlikely to need 4 CPU cores to meet this workload demand.
In this example, an allocation of three CPU cores is assumed, rather than the four cores initially available in this exercise. Even this reduction may not provide the best fit, as the vast majority of the work (90%) is completed with less than .5 of one core, and 99% of the work is completed with one core. For example, as shown in Figure 2-5 (page 21), CPU utilization has one peak at 1.7 CPU cores, with many lower peaks. If you configure your system to always meet the demand of this single 1.7-CPU peak, and you do not adjust the CPU allocation, a significant fraction of the CPU allocation in this example would go unused most of the time. Depending on your quality of service goals, you may decide that a different configuration can better use the resources available.
Sizing for service level objectives 21
Further experimentation in Capacity Advisor with resource allocations, consolidations, and utilization limits will help you arrive at the best fit for these workloads. With Capacity Advisor's visualization and reporting tools, you can make a considered estimate of server resource utilization using different scenarios and easily refine allocations by tweaking values in the scenarios. Such estimates can help you minimize overspending for capacity you use rarely, and maximize utilization of your systems to ensure that your systems have the capacity needed at the level you require.
Modeling considerations
Capacity Advisor methodology makes certain assumptions in its data analysis. These assumptions include using an automatically determined CPU performance index, with normalization based on benchmark data or benchmark data in combination with CPU clock speed in special cases. Memory is not normalized. Scale factors can be set on the Capacity Advisor Edit Workload and Move Workload screens. SeeAdjusting for platform changes (page 123) for more information. On the Edit Scenario screen, you can select either the System or Workload tab to manipulate the planning scenario and specify which metric representation to view: average, 90th percentile, peak or max 15-min (maximum 15-minute sustained). The Meter Style can be absolute numbers or in percentages. By changing the metrics to view, you can explore multiple options for system and workload deployment. See Controlling the data display (page 88) for more information.
22
Features
Quality of service
Typical aspects of quality of service include (but are not limited to): Availability Accessibility Integrity Performance Reliability Regulatory requirements Security Quality of service is frequently defined in service level agreements between organizations.
time used by threads that simulate the virtual processors. However, there are also threads that simulate the I/O cards and disks in the virtual system. Capacity Advisor collects data on all of these threads, which can cause the Capacity Advisor data for a specific virtual machines CPU utilization to be greater than the number of virtual CPU cores (vCPUs) associated with the virtual machine. Under certain load conditions, this can result in CPU utilization of more than 100% being reported for a virtual machine. Capacity Advisor data for VM host CPU utilization can be lower than what the guest operating system reports, especially during periods of high utilization. Capacity Advisor records physical CPU utilization, which is the utilization of the actual cores on the VM host; that is, the total utilization reported by Capacity Advisor is based on the CPU time that the VM host allotted to each virtual machine. In contrast, the guest OS records virtual CPU utilization, which includes time when the VM wants to run, but is suspended while another VM is using the resources on the VM host. Because Capacity Advisor corrects for these effects, the collected data has much less noise in it, and better reflects the CPU time that was actually used by any one VM.
Data normalization
Capacity Advisor makes certain assumptions in its data analysis. These assumptions include automatically adjusting for CPU platform differences based on a performance index. (The performance index is constructed by normalizing collected data to selected benchmarks for the source and destination systems). If desired, you can add your own benchmark values to the database for use in calculating the performance index for workload moves among systems with the same or different architectures. (See capcustombenchmark in the Appendix B (page 133) for more information. Memory, network IO, and disk IO usage are not normalized. NOTE: Using benchmarks for data normalization was introduced into the 6.0 release. This change affects workloads defined with static profiles in previous releases because they use clock speed to determine performance. Such workloads that are still used for planning should be redefined or edited in Capacity Advisor 6.x to improve the accuracy of the performance measure.
Upper bounds
Upper bounds represent the maximum capacity of a resource for a given system. The maximum capacity is used in Capacity Advisor for items such as the network and disk I/O utilization graphs of systems, the graphs and values shown in a profile viewer, and the Capacity Advisor Smart Solver calculations. CPU capacity The maximum CPU capacity of a system is the product of the number of CPU cores and the clock speed of the system. Memory The maximum capacity of memory is the amount of memory on the system.
24
Network I/O The maximum capacity for network I/O defaults to the high-water mark (that is, the maximum observed or collected value) for network I/O. However, to set the upper bound to a value you choose, select ConfigureEdit Network and Disk I/O Capacity... from the Visualization tab in Virtualization Manager. Disk I/O The maximum capacity for disk I/O defaults to the high-water mark (that is, the maximum observed or collected value) for disk I/O. However, to set the upper bound to a value you choose, select ConfigureEdit Network and Disk I/O Capacity... from the Visualization tab in Virtualization Manager. Power Expected maximum and minimum power values for systems and workloads are computed using the CPU and power utilization data collected from HP Insight Control power management (IPM). However, these values can also be set manually from the Virtualization Manager menu bar (select ConfigureCalibrate Power (All Selected Systems)...) for specified systems; or from the Capacity Advisor Edit Scenario: System tab menu bar (select EditCalibrate Power (All Selected Systems)...) for a specific scenario.
Sampling interval
Where used, the Utilization Provider runs on each monitored system to collect information on resource utilization. At the CPU-clock cycle level, a processor is either busy or idle. For Capacity Advisor, the average utilization for each 5-minute (300 seconds) interval is stored. Therefore, peaks lasting less than 5 minutes are not visible. Because each data point is the average of the five preceding minutes of values, this averaging tends to flatten the graphs, particularly when compared with real-time graphs in which each data point is the average of values from the 15 preceding seconds. For data collected using an agentless solution, collection intervals can vary depending on values that you set and the number of machines in the collection.
Headroom
Headroom is the difference between the observed utilization on a system and the maximum available capacity. That is, the headroom of a system is the amount of additional capacity that can be used without violating the utilization limits of the applications running on that system. For example, if you have a system with 4 cores where you never want utilization to exceed 75%, and peak utilization is 1.75 cores, then headroom is 1.25 cores.
Measuring and analyzing resource utilization 25
Optimum headroom varies depending on size of system. While a single processor system might require 50% headroom to preserve reasonable response times, a 16-way system might have reasonable response times when loaded at 80%. Adequate headroom can also depend heavily on the characteristics of the loads; highly interactive systems require much more headroom than those that can tolerate delays in response time; batch systems may get by with very little headroom at all.
where resources can be CPU cores, memory, network I/O, and disk I/O. In the case of a virtual machine, the number of CPU cores considered are those assigned to the VM, not the total number of cores on the VM host. The VM host clock speed, network capacity, and disk capacity are all inherited by the VM guest when it is moved onto the VM Host. fit means the utilization limits (see Utilization limits (page 27)) are met headroom means room for growth Interpreting the headroom star rating Headroom star ratings for a host are a weighted average of all of the star ratings of the workloads on that host. The weighting tends to give the highest weight to the lowest rating. One low rating can dramatically lower the rating for the entire host. In the case of a VM host, the star ratings account for how well the workloads fit into their virtual machines, as well as how well the virtual machines fit on the VM host. The rating for the VM host will be low if any of the virtual machines are too small for their workloads.
Interpreting the star rating given by the HP Smart Solver
When using the Smart Solver to find a plan to convert physical systems to virtual machines, consider the following factors that can adversely affect the Smart Solver results. The addition of a virtualization overhead multiplier to a VM will often reduce the number of stars for that workload by 1 or 2 stars. The clock speed of the VM host may be slower than the original physical system. Work that was done by 1 core at 2.6 GHz, may require 2 cores when placed on 2.1 GHz VM host.
26
You can avoid having the Smart Solver produce inaccurate or useless results by re-sizing your systems before running the Smart Solver. If either of the above conditions exist in your situation, consider increasing the number of cores on your simulated physical systems before running the Smart Solver. (Select What-if ActionsEdit System... on the System tab on the Edit Scenario screen.) If you change the number of cores from 1 to 2 before consolidating, for example, the resulting virtual machines will have enough cores to cover the virtualization overhead or a slower VM host. Re-sizing the virtual machines after running the Smart Solver can be less effort, as you only have to re-size the VMs that have fewer stars than your desired goal. After adding more cores to the VMs for which CPU resources are too tight, you can rerun Smart Solver to balance the load on the VM hosts to improve the solution a bit more. TIP: Use a Scenario comparison report to compare the headroom stars rating for saved scenarios.
Utilization limits
The default utilization limits used globally across Capacity Advisor in the absence of user-defined limits are the following: CPU utilization cannot exceed 70% of the capacity for more than 15 minutes at a time. (Seventy percent is used as a default for CPU utilization as it provides acceptable performance with a minimum of queuing in jobs.) Memory utilization cannot exceed 100% of the capacity. Typically memory should be set at a value <100% to allow for memory use by the dynamic buffer cache and operating system activity.
27
(For more information on how utilization is calculated for each resource, see Appendix C (page 153) .)
Not specifying a limit allows HP Smart Solver to over-provision systems To achieve best results with the Smart Solver, it is better to set specific limits, rather than to depend on the default settings for limits to provide the best fit. The time criteria You can specify the time portion of a utilization limit in either of two ways: Sustained (consecutive) time limits Percentage of time limits
Sustained time limits A sustained limit specifies a limit where the resource cannot exceed that utilization limit for X consecutive minutes. For example, if X is 20, this means that the resource cannot exceed the utilization limit for 20 consecutive minutes. Because the Capacity Advisor collects data samples every 5 minutes, the time X for the sustained limit must be a multiple of 5 minutes; the minimum for X is 0 minutes. Percentage of time limits A percentage of time limit specifies that the resource cannot exceed the limit for more than the designated percent of time, where percent of time is related to the percentile utilization ranges in the Capacity Advisor data. Given that there are about 10,000 minutes in a week, 3% of the time is roughly 300 minutes (3% of 10,000). These 300 minutes total to 5 hours per week. Below is a table relating percentages of time to hours per week, which may help you in specifying percent of time utilization limits. Table 3-1 Percent of time conversions
Percent of Time 1 2 28 Key Capacity Advisor concepts Minutes/ Week 100.8 201.6 Hours/ Week 1.68 3.36 Hours/Day (24hour day) .24 .48
29
Globally. These limits apply to every workload, wherever workloads are analyzed. By Workload. These limits apply to one specific workload, wherever that workload is analyzed. Scenario-wide. These limits apply to every workload within one specific scenario. By Scenario Workload. These limits apply to one specific workload within one specific scenario.
When a workload falls within more than one scope, only the more specific one applies, as shown in the table below. You can disable a more specific scope where you do not want a specific scope to apply. Table 3-2 Scope of utilization limits
Scope More global Limits Description Overrides Nothing
Global Utilization Applies to all workloads for which a more specific Limit utilization limit is not provided. Cannot be disabled Workload Utilization Limit Applies to a specific workload unless a more specific utilization limit is provided. Can be enabled or disabled
Global
Applies to all workloads within a scenario for which a more Global specific utilization limit is not provided. Workload Can be enabled or disabled Applies to a specific workload within a scenario. Can be enabled or disabled Global Workload Scenario
More Local
Adjusting power
With the cost of power increasing, power has become a resource that you may want to measure and manage. Within HP Insight Dynamics suite, power metrics, graphs and reports are displayed for actual systems and for systems within capacity planning scenarios. NOTE: You can calibrate power for physical systems (including virtual partitions), but not for virtual machines. To make the power data as accurate as possible, you are provided with the opportunity to calibrate power usage using data collected from actual systems, or you can supply your own values.
30
The power caps settings shown are provided by the administrator who is managing power consumption of servers. Capacity Advisor obtains these settings and the enforcement data for reporting purposes from HP Insight Power Manager. For information on how to generate a Capacity Advisor report that includes power usage data, see Producing graphs and reports (page 67).
How this relates to setting a validity threshold The Validity Threshold that you set should reflect your tolerance for obtaining a sufficient amount of valid data in the collection period that you designate. If the reports that you run show that the given threshold is not obtainable for the designated time period, this may indicate that many of the data points in the designated collection period are invalid. In this case, you can choose a lower Validity Threshold with the understanding that the report outcome may be a less reliable indicator of probable resource usage, or you can select a different or longer data collection period to improve the likelihood of obtaining a sufficient percentage of valid points for a good report.
32
Linear regression
The linear regression is based on a least squares fit that minimizes the sum of the squares of the vertical offsets between each of the aggregate points and the trend line that describes them. TIP: Regressions performed over small data sets are not always meaningful and can be misleading. Any trend analysis based on less than a dozen aggregate points should be carefully compared with the historical data to see if it "makes sense." The maximum number of data points for the trend analysis is the total time for the report divided by the business interval, because business intervals can be excluded if they do not meet the validity criteria. Because the trend is reported as an annual growth rate, it is best to have more than a year of historical data before trying to analyze trends.
Error analysis
You can choose to include error analysis in the report. The following error value is available: r-squared: r2 is the square of the correlation coefficient (r), and is used in the 'goodness of fit' analysis of trend estimations. r is a value between 0 and +/- 1. where values approaching +/- 1 indicate increasing validity of the data representation.
Forecasting growth
HP Insight Capacity Advisor software forecasting allows you to combine a range of historical data (the forecast data range) with a predicted trend (the annual projected growth rate) to produce a forecast model. The forecast model can be used to provide an estimate of future utilization. Whenever a Capacity Advisor report or profile is generated with an end date later than the current date, the historical utilization data must be projected into the future. The projection is indicated in the utilization graphs by a colored background. This projection is done based on a forecast model. Forecast models can be defined globally, for individual workloads or systems, for a scenario, and for individual workloads within a scenario. Because the process for defining a forecast model is basically the same regardless of where it is in the hierarchy of forecast models, the procedures below are broken into two parts: accessing the forecast model and defining it.
Applies to all workloads in Capacity Nothing Advisor for which a more specific forecast is not provided. Applies to a specific workload in Capacity Advisor unless a more specific forecast is provided. Global
Workload Forecast
Scenario Forecast
Applies to all workloads within a Global Capacity Advisor scenario for which Workload a more specific forecast is not provided. Applies to a specific workload within Global a Capacity Advisor scenario. Workload Scenario
Forecasting growth
33
NOTE: Combining the data range with the annual growth rate The forecast is applied point-by-point to the historical data within the range specified by the user. It is applied linearly, so that a point 1 year from the starting point of a forecast is the result of the full growth rate being applied to the data. The data within the range provided by the user is used to tile the future by applying the portion of the growth rate appropriate to each point to each point in the data range and repeating the data set until the desired end point is reached.
34
on the
Collect data for a period of time that fully reflects First data collection (or the automated nightly collection) your business cycle(s). (page 58) Modifying a collection schedule (page 61) Ascertaining the data collection availability for a set of servers (page 66) Run utilization reports for selected resources of interest. Estimate current cost allocation for selected resources. The report wizard (page 71) Creating an historic utilization report (page 72) Creating a cost allocation report (page 76)
Getting ready
35
For specific descriptions of each field shown on the user interface screens, click the software screen. Table 4-2 Checklist Consolidating server loads onto a virtual machine manually
Task Related Procedure(s)
Determine which systems to consolidate (both to Creating a consolidation candidates report (page 76) and from). Create a planning scenario. Creating a planning scenario (page 86)
Run reports on the scenario systems. Creating an historic utilization report (page 72) (Include this step if you want to obtain a baseline Creating a cost allocation report (page 76) set of reports to compare your scenario changes against.) See also Task: Understand current resource usage (page 35). Edit the scenario copy: Set up the new VM host system. Modify resources on systems as needed. Make each system to be consolidated become a VM. Modify utilization limits, if desired. Evaluate new quality of service Estimate new cost allocation on the VM host Creating a system (page 93) or Adding an existing system (page 94) Editing a system (page 94) Changing servers to be VMs (manually) (page 95) Setting global utilization limits (page 79) Creating a scenario utilization report (page 73) Creating a cost allocation report (page 76)
free up resources for other uses. For purposes of this example, it is assumed that the applications will each run in their own virtual machine. This task requires a profound knowledge about the systems. What are the licensing requirements for the applications? Who owns each of the systems and, if they are owned by different organizations, are they agreeable to the consolidation? What are the security requirements? What are the networking requirements (LAN and WAN)? Are there Storage Area Network (SAN) requirements? How stable are the applications? All of them should be test and development systems or production systems. This list is illustrative; other questions may need to be answered for your particular environment. The steps referenced in the following titles are from the checklist in Table 4-2 (page 36). Step 1: Determine which systems to consolidate From the top menu bar, select ReportsCapacity AdvisorCreate Consolidation Candidates Report... On selecting the systems link, a screen opens listing all discovered servers for which data has been collected (both physical and virtual machines). For the purposes of this exercise, assume that 20 physical servers are selected as targets, and that you are most interested in viewing CPU and memory data for these servers. Once the report is generated, viewing the columns Average CPU Use and Average Memory Use for each of the servers reveals that the applications on all but four servers are using significantly less than the available memory and CPU on each server. (See Consolidation candidate report (page 157) for a snippet of a typical consolidation candidates report.) This report shows that CPU on this set of legacy servers is significantly under-used when average usage is considered. Only four of the servers are using 80 percent or more of available memory on average. Assume that all of the legacy systems: are running applications based on the same database program, which is licensed per CPU use the same LAN use the same SAN have minimal security requirements that are adequately provided by the corporate firewall
Related topic
Step 2: Create a scenario In this step, you want to build a scenario around the systems that you have identified as under-used from the consolidation candidates report. 1. 2. 3. 4. Select ToolsCapacity Advisor from the top menu bar. On the Capacity Advisor tab, select CreatePlanning Scenario.... In the Create Scenario Wizard, name the scenario and describe its purpose. On the Systems screen, click Add to open the list of servers available for use in the scenario. Select the check boxes for the systems that you want to include in the scenario and click Add again. To understand the readiness of a system for use in a scenario, mouse over the status icon for information. A detailed explanation of the status icons, including pointers to troubleshooting information, is available in Capacity Advisor Help online (see Correcting
Task: Plan server consolidation 37
system configuration). The following image shows the mouseover text for a system that has sufficient data collected for meaningful analysis.
NOTE: While the default setting for a scenario is to recommend at least seven days of data to use for analysis, one carefully selected day can be sufficient to simulate your desired conditions; or you may need 30 days or more to reflect your business cycle. For best results, obtain a data set that best reflects the business interval that you want to simulate. 5. 6. Check the Summary and verify that the scenario name and selected systems have been entered correctly. Click Finish.
When finished creating a new scenario, the Edit Scenario screen automatically opens for editing the new scenario (default behavior). TIP: To return to a scenario at a later time... Should you be unable to edit the scenario immediately (or should you want to first make a copy of the scenario to modify), you can find the scenario later by locating the name of the scenario in the list presented on the Capacity Advisor tab screen. Click the scenario name to open the Capacity Advisor - Edit Scenario window for that scenario.
Related topic
Step 3: Edit the scenario The systems included in the scenario are listed on the System tab of the scenario editor. The bar meters in the table show the peak resource utilization from data collected for the current week (the default setting). The following image shows three systems and their workloads.
38
Figure 4-1 Example of bar meters on a System tab in the scenario editor
The weekly data is representative of recent utilization and can be calculated quickly, but doesn't always give a comprehensive picture. For a more comprehensive picture, look at a month of data. Change the data range to a month by clicking Edit Interval and selecting Month from the first drop-down list, and then OK. Once the screen has refreshed, new information about resource utilization is available. In this case, you can see that some of the utilization peaks have increased.
Scrolling or paging through the list of servers, you can see that some of the servers have peak usage that is at 100% of the resource, an insight you were not able to glean from the consolidation candidates report. The following image shows a server in this situation (legacy08).
The red bars in the CPU utilization column indicate that the utilization limits assumed for this scenario have been exceeded, though the available resource capacity has not. Mousing over the
39
legacy08 CPU utilization bar, you can see a pop-up message indicating the CPU utilization limit that is exceeded:
More information about the utilization limits can be obtained by mousing over the workload name (legacy08_wl), as in this image:
Now look at a few profiles for CPU usage. Click the legacy08 CPU utilization bar. A profile viewer for the selected resource and system opens, showing this information:
40
Looking at the legacy08 graph, you can see that processing frequently requires 100% of available CPU in a month-long period. Also, it appears that the activity on this system exceeds 70% of the utilization resource for 15 sustained minutes, the utilization limit found earlier for this system. By studying the Interval Metric Summary table, you can see that 90% of the application processing was measured at using .47 core or less. Less that 10% of processing measured on this server required more than .5 core. Now open the profile viewer for CPU utilization on legacy03. The blue bar meter for this server (on the System tab) indicates that activity on this server does not exceed utilization limits.
41
The application on legacy03 has a 2-core processing capacity. A significant gap exists between Average use (.35 cores) and Peak use (1.63 cores), as can be seen in the Interval Metric Summary. Comparing CPU core usage at the 90th Percentile (90% of usage measures fall below this value 0.69 cores) with the Peak usage (1.63 cores), you can see that almost 1 core is required to support 10 percent of CPU use on this server.
Adding a VM host to the scenario
As of yet, this scenario does not include a VM host on which the virtual machines can be put once you create them. Click EditAdd Existing System... on the System tab. A list of discovered systems displays on the Add Existing Systems screen. Select two or three VM hosts that seem likely to be able to host the additional VMs. Click OK to include them in the scenario. The System tab screen now displays the VM hosts in addition to the initially selected systems: NOTE: This example has been intentionally constructed to exercise a number of Capacity Advisor screens. Careful study of the utilization meters on the System tab can help you anticipate changes that you will need to make in resource provision or allocation before you try to consolidate systems.
Related topics
Select the check boxes for servers that are to become virtual machines, and then select What-If ActionChange Servers to be VMsManually Change Servers to be VMs... For this example, 10 legacy servers were selected 4 of which exceeded utilization limits assumed by Capacity Advisor.
42
The Manually Change Servers to be VMs... screen opens, and by scrolling down, you can see an evaluation of the current fitness of the selected VM hosts in relation to the proposed addition of the legacy servers:
By studying this table and the key, you may have already concluded: None of the servers meet an acceptable level of fitness as described by the headroom rating. Two servers (tornado and orthus) would require additional CPU and additional memory to host all ten of the legacy servers. One server (vse02) might have enough memory, but would require more CPU. Also, the demands on network and disk I/O would exceed resource capacity. The remaining server (hypv2) could have more memory and CPU added, but would still be short on network and disk I/O. The ten selected legacy servers will not fit on any one of the hosts present in the scenario. Add another existing system having more memory and CPU and small use of network and disk I/O to the scenario. Create a what-if system in the scenario that is sized to accommodate the ten legacy servers. Put fewer legacy servers on one of the systems already in the scenario.
This example will continue with the third option putting fewer legacy servers on one of the systems already in the scenario. By cancelling the Manually Change Servers to be VMs operation, you can return to the scenario editor System tab to try this operation again; this time selecting 5 of the legacy servers, with this result:
43
This time, vse02 looks like the best VM host candidate in this scenario, as long as additional CPU are added to it to handle the additional processing load.
Adding processor cores
A look at the peak usage data shows that the usage of the CPU core allocation varies among the five servers, but usage still appears to be within the bounds of a server having no more than 8 cores. However, Capacity Advisor will expect to calculate CPU processing overhead for running each of the virtual machines. Eight cores may not be enough when CPU virtualization overhead is accounted for, but for now add 4 cores to vse02 for a total of 8 cores. NOTE: You can refine this estimate further by changing utilization limits or by forecasting future growth. Also, the longer the period of data analyzed, the better the analysis of resource utilization. From the System tab, select the vse02 check box, and then What-If ActionEdit System.... Change the number of CPU cores from 4 to 8 and click OK. Other attributes such as memory size, processor speed, and bandwidth can be adjusted at the same time on the Edit System screen. Thus, you can tweak the resource allocations on this screen as you refine the fit through additional changes.
Related topic
Once again, select the five servers that are to become virtual machines and then select What-If ActionChange Servers to be VMsManually Change Servers to be VMs... When the screen repaints, you first see the selected legacy servers listed. In the CPU Virtualization Overhead column, you have the opportunity to designate the percentage of overhead that you anticipate each virtual machine will require for operation. After referring to Adjusting for virtualization changes (page 127), add a CPU virtualization overhead of 20% for each of the legacy servers. You must click Refresh (which is down and to the right of the Systems to be
44
modified table) in order to update the To: (Selected VM host) table to include virtualization overhead in the utilization calculations.
Leave the default setting for headroom calculations as it is exclude guest fitness results (no fitness rating will be considered for individual VMs in the calculation, only for the VM hosts as a whole). Study the To: (Selected VM Host) table and make adjustments if needed. For purposes of this example, the utilization limit will be changed. Click OK to complete the conversion of servers to virtual machines.
Related topic
Assume that it will be sufficient to limit CPU utilization to 80% of capacity and that memory utilization limits do not need to change. Select EditScenario-wide Utilization Limits on the scenario editor menu bar. Add a new CPU utilization limit of 80% for 15 sustained minutes, and remove the previous limit of 70% for 15 sustained minutes. The screen looks like this when these changes have been made:
45
Utilization limits (page 27) Setting scenario-wide utilization limits (page 80)
For specific descriptions of each field shown on the user interface screens, click the software screen.
46
Table 4-3 Checklist Consolidating server loads onto a virtual machine using automated solution finding (HP Smart Solver)
Task Related Procedure(s)
Determine which systems to consolidate (both to Creating a consolidation candidates report (page 76) and from). Create a planning scenario. Creating a planning scenario (page 86)
Run reports on the scenario systems. Creating an historic utilization report (page 72) (Include this step if you want to obtain a baseline Creating a cost allocation report (page 76) set of reports to compare your scenario changes against.) See also Task: Understand current resource usage (page 35). Edit the scenario copy: Set up the new VM host system(s). Automated solution finding: System consolidation to VMs (page 109) Make each system to be consolidated become a VM. Evaluate new quality of service Estimate new cost allocation on the VM host Creating a scenario utilization report (page 73) Creating a cost allocation report (page 76)
Step 2: Create a scenario This is the same process discussed in Step 2: Create a scenario (page 37) of the manual consolidation example. When finished creating a new scenario, the Edit Scenario screen automatically opens for editing the new scenario.
47
Related topic
Step 3: Edit the scenario The systems included in the scenario are listed on the System tab of the scenario editor. The bar meters in the table show the peak resource utilization from data collected for the current week (the default setting).
Making servers become virtual machines using automated solution finding
Select ten legacy servers from the manual consolidation example to become virtual machines, and then select What-If ActionChange Servers to be VMsAutomated Consolidation of Servers to VMs...
Screen 1 of 3
Modify the data range, if desired. Define the destination VM host(s). This example demonstrates the selection Use both existing hardware for workload placement and host templates for overflow. Here is the template definition for a what-if system:
CPU virtualization is set to 20%, as in the manual consolidation example. The default settings for load balancing and maximum allowed invalid data are not changed. Click Next to proceed to the next step.
48
Screen 2 of 2
This screen gives you the opportunity to review the settings you have made thus far and to select the level of effort for the Solver to operate within. The default setting is for maximum effort that the Solver should expend to find the best solution. Click OK to start the calculation.
Screen 3 of 3
Based on the information given in the solution, you might choose to do the following: Run the Solver again, and define the template host to have 5 GB of memory to allow for more headroom in the systems and to obtain a solution that includes legacy03.
Rather than starting over, click Return to Step 1. The user interface remembers the values that you entered previously, so just change the value for system memory from 4 GB to 5 GB and proceed through the screens again, running the Solver with the new value.
49
Related topics
Automating solution generation: HP Smart Solver (page 31) Automated solution finding: System consolidation to VMs (page 109) Results: Automated consolidation to VMs (page 112)
50
on the
Determine the current quality of service for a desired Creating an historic utilization report (page 72) metric for systems under consideration. (See also Task: Understand current resource usage (page 35).) Create a planning scenario that includes the systems to Creating a planning scenario (page 86) which you would like to add processors. Simulate adding processors on selected systems. Evaluate new quality of service Editing a system (page 94) Creating a scenario utilization report (page 73)
Determine the current quality of service for a desired Creating an historic utilization report (page 72) metric for systems under consideration. (See also Task: Understand current resource usage (page 35).) Create a planning scenario that includes the systems that Creating a planning scenario (page 86) could exchange processors. Simulate moving processors from donor systems to receiver systems. Evaluate new quality of service Editing a system (page 94) Creating a scenario utilization report (page 73)
51
For specific descriptions of each field shown on the user interface screens, click the software screen.
Table 4-6 Checklist Determining where to put a workload using automated solution finding (HP Smart Solver)
Task Related Procedure(s)
Determine which workload(s) to move. See also Creating a consolidation candidates report (page 76) Task: Understand current resource usage (page 35). Create a planning scenario. Creating a planning scenario (page 86)
Edit the scenario: Modify the workload(s) as desired. Editing a workload (page 101) Modify potential host systems as desired Editing a system (page 94) Move the workloads using automated solution Automated solution finding: Workload stacking finding (page 115) Evaluate new quality of service Estimate new cost allocation on the VM host Creating a scenario utilization report (page 73) Creating a cost allocation report (page 76)
52
4.
Move the workload Follow the procedure in Automated solution finding: Workload stacking (page 115)to move the workload from the test machine it has been running on to one of the potential host machines. The bar graphs on the screen provide a rough estimate of the effect of moving the workload to each of the candidate hosts.
5.
Estimate the new quality of service a. Follow the procedure in Using the Profile Viewer (page 67) to obtain a quick overview of the resource utilization of the system with the added workload. b. Follow the procedure in Using the report wizard (page 71) to generate a detailed report on the new configuration. In addition to the quantitative measures of the goodness of a system, it is important to use your knowledge of such things as how the system will be used, system ownership, and future constraints. This is an area where your knowledge of the context the application will be run in can be as important as the estimated resource utilization.
53
54
5 Procedures
This chapter provides information on procedures you are likely to use with Capacity Advisor. Note that all procedures are indexed by their names.
55
TIP: When you want to keep less than four years of data Change the property file vseprefs.props in one of the following locations: Program Files\HP\Virtual Server Environment\vseprefs.props (on Windows CMS) /etc/opt/vse/vseprefs.props (on HP-UX CMS) Look for this text, and change to the desired number of days:
# # The default number of days to retain capacity planning profile data. # This limit is enforced by the capcollect command. # PROFILE_RETAIN_DAYS=1460 #
To create a meaningful simulation scenario or to view the historical resource utilization of a workload, you must collect data from representative systems or the systems for which you want to monitor resource utilization. Once you have collected the data, you can create simulation scenarios or experiment with different configurations and workloads to evaluate your system capacities. You can use Capacity Advisor to plan for the future. You can collect data for the following: A selected set of licensed systems All licensed systems NOTE: Use only one CMS to manage each node used with Capacity Advisor.
To collect data on any system managed using Insight Dynamics, you must have the following configured on the CMS: Authorization in the Central Management Server (CMS) to run the Capacity Advisor toolbox on the managed system WBEM credentials in the CMS to access WBEM on the managed system
56
Procedures
the list of servers from which you want to collect data the collection agency in operation on the servers (Capacity Advisor can collect data by way of the Utilization Provider, by way of agentless means, or by import from other HP data collection methods) For discussions of various collection agencies, see Comparison of agentless and UP data collection (page 18) and HP PMP data differs from Utilization Provider data (page 19).
whether you need to collect data for the first time, update a data collection, or update a data collection schedule.
Deciding from which servers to collect Data collection via Capacity Advisor is limited to those systems recognized as servers within HP SIM. The list of all possible servers can be viewed by opening the All Systems view or the All Servers view in the Systems and Event Collections area on the left. The list of all possible servers that are licensed with Insight Dynamics can be viewed by opening the All VSE Resources view in this same area, or by opening HP Insight Virtualization Manager software (ToolsVirtualization Manager... from the top menu bar). You may also have servers in mind where data collection has been accomplished using software other than the Utilization Provider. This can be done by collecting data from licensed systems for which Capacity Advisor has agentless data collection capability or by importing data collected by other agents, such as HP Performance Agent (formerly HP OpenView Performance Agent OVPA) or HP Performance Management Pack. How to collect data using Capacity Advisor Data collection functions are accessible from multiple locations: the Configure, Optimize, and Tasks & Logs menus on the top menu bar the Virtualization Manager Visualization tab (Tools menu) the Capacity Advisor tab using capcollect, capagentlesscfg, capovpaextract, or cappmpextract on the command line.(see Command reference (page 133)) TIP: For lists of all menu options for Capacity Advisor features, see Menus & tabs in Capacity Advisor Help. NOTE: Licensing and data collection Typically, servers from which data are collected are licensed for Capacity Advisor and Insight Dynamics. However, it is possible that not all servers in a data center or network are licensed to run HP Insight Dynamics suite. For information on installing the Utilization Provider, see HP VSE Managed Node Software Update. For general information about licensing systems, see the HP Insight Dynamics 6.2 Getting Started Guide . For discussion of using the HP Insight Capacity Advisor Consolidation software to collect data for a systems consolidation effort, see Data collection and the HP Insight Capacity Advisor Consolidation software (page 63). When to collect data Data collection via Capacity Advisor can be controlled to occur at different times by doing one or more of the following actions: use the automated nightly collection schedule a collection to occur periodically or one time only launch an immediate collection
57
NOTE: Performance for a virtual machine is usually calculated using the performance index calculated for its VM host. However, when a virtual machine is moved from one VM host to multiple other VM hosts within a short period of time (between one capcollect operation and the next capcollect), as might occur when simulating virtual machines within a cluster, performance is calculated using the ratio of the clock speeds multiplied by the performance index of the current VM host. If all the nodes of your cluster (for example) are nearly identical, then this clock speed scaling will not introduce any error. However, if the original and destination hosts are different, you can reduce any error caused by this clock speed scaling in the following ways: Collect data just before moving a VM. Schedule capcollect to run more often on your VMs, particularly the ones using VMware DRS.
Once you have determined the method and location for data collection, updating the data stored in the Capacity Advisor database operates the same regardless of how the data was collected. IMPORTANT: For specific descriptions of each field or summary table on the user interface screens, click the help topic link on the software screen for the task.
58
Procedures
To return to a planning checklist: Obtaining reports on current resource usage [p. 35]
Data collection succeeded. No need to check the Stderr tab if this is the only type of notification.
Some utilization data collected for "system-name"
Although data collection was not entirely successful, some utilization data was collected. Check the Stderr tab for details of the problem.
Warning: message text.
A condition was detected while collecting that may affect the usefulness of the data collected. Check the Stderr tab for details of the problem.
NN Warnings issued.
Appears at the end of output on the Stdout tab. Warnings were issued. Check the Stderr tab for details.
Collection failed on NN systems.
Appears at the end of output on the Stdout tab. No data was collected from one or more systems. Check the Stderr tab. For each of the failed systems, there will be one or more messages, including the host name. See also Appendix G (page 165)and Capacity Advisor messages (page 175) for additional information to help you troubleshoot data collection errors. As you review and analyze the resulting data collection, you may notice discrepancies. See Possible sources of discrepancies in collected data (page 66)for information.
Gathering data for Capacity Advisor 59
4.
5.
61
Update the collected data on all available systems ( see Updating collected data on all systems (page 62)). Update the collected data from some systems (see Updating collected data on selected systems (page 62)). Update the collected data presented in a Profile Viewer report (see Updating data displayed in a profile viewer (page 62)).
62
Procedures
Prerequisite 1. 2. 3. You must be logged in to HP Systems Insight Manager software with any level of access permissions. From the Capacity Advisor tab, select ConfigureAgentless Data CollectionList Selected Systems.... The Task Confirmation screen opens. Click Run Now. The Task Results screen opens. When the command completes successfully, the current contents of the configuration file are listed on the Stdout tab. If you suspect an error, check the Stderr tab for more information.
63
64
Procedures
2. 3.
Select the target system(s). The Verify Targets screen displays. Verify the target system(s). You have the opportunity to add or remove systems here. When done, click Next. The Specify Parameters screen displays.
4.
Specify the begin and end dates desired to define the extent of the collection to import. For example: [-b 20071101 -e 20071231] If no date range is given, all data up to 30 days is imported.
5. 6.
Optionally, specify [-p] if the import is for a non-Insight Dynamics workload. Click Run Now. After a short time, the Task Results screen displays.
For tasks where you select Run Now, a few moments will pass and then you see the Task Results screen. For general help on interpreting the information in this screen, see the HP Systems Insight Manager 6.2 online help on Viewing Task Results. The Task Results screen shows a Running check box with a Start time: until the task completes. When data import finishes, you see an End time: displayed, with standard out (stdout) and standard error (stderr) information displayed on tabbed panes in this screen. Check both tabs for relevant information.
The Task Results screen shows a Running check box with a Start time: until the task completes. When data import finishes, you see an End time: displayed, with standard out (stdout) and standard error (stderr) information displayed on tabbed panes in this screen. Check both tabs for relevant information.
to see a list showing the name of each licensed system managed by this CMS, dates for which data has been collected, and the percent of data considered valid by Capacity Advisor. For other options, see capprofile in Appendix B (page 133). To return to a planning checklist: Obtaining reports on current resource usage [p. 35]
Prerequisites You must be logged in to Insight Dynamics (see Accessing Capacity Advisor (page 55)). You must have collected data on the systems of interest (see Gathering data for Capacity Advisor (page 55)).
Some functions of a profile viewer require Capacity Advisor Tools permissions to be seen and used. Procedure 5-13 To access a profile viewer from the HP SIM Optimize menu This procedure gives you access to view historic resource utilization on a real system in your network. 1. 2. 3. Select OptimizeView Profile... The target selection wizard opens. Select one system to view and click Apply. (For information on a typical task progression in HP SIM, see Creating a Task in the HP Systems Insight Manager 6.2 online help. Verify the target system and click Run Now. The profile viewer opens. NOTE: When no data has been collected If no data exists in the Capacity Advisor database for the selected system, and the system is licensed to work with Capacity Advisor, you are presented the opportunity to collect data immediately, calibrate power settings, and edit I/O capacity. At minimum, you will need to collect data prior to continuing this task. Procedure 5-14 To access a profile viewer from the Virtualization Manager Visualization tab This procedure gives you access to view historic resource utilization on a real system in your network. 1. 2. Select ToolsVirtualization Manager... The Visualization tab displays systems discovered by HP SIM. Find a system to view and click the desired meter icon to open a profile viewer for that utilization metric on that system. (For information on meters appearing on the Visualization tab, see Utilization metrics in Virtualization Manager Help.) NOTE: When no data has been collected If no data exists in the Capacity Advisor database for the selected system, and the system is licensed to work with Capacity Advisor, you are presented the opportunity to collect data immediately, calibrate power settings, and edit I/O capacity. At minimum, you will need to collect data prior to continuing this task. Procedure 5-15 To access a profile viewer when editing a scenario This procedure gives you access to view simulated resource utilization on a simulated system. This procedure assumes that you are starting from the Capacity Advisor Edit Scenario screen in the System tab view. For information on getting to this location, see Editing a scenario (page 88).
68
Procedures
1.
If you want to view the profile of a system: Click any of the horizontal utilization meters in the system table that represent current utilization of a resource. Profile views are available for all of the current resource types for which data is available (CPU, memory, network and I/O bandwidth, and power usage). The Capacity Advisor Profile Viewer opens and displays the data for the selected resource type and system.
2.
If you want to view the profile of a workload: a. Click the Workload tab. The Workload tab opens. b. When bar graphics are displayed in the workload table: Click any of the horizontal bar graphics representing current utilization of a resource. Profile views are available for all of the current resource types for which data is available for workloads (CPU, memory, and network and I/O disk bandwidth usage). The Capacity Advisor Profile Viewer screen displays opens and displays the data for the selected resource type and workload. c. If no bar graphics are displayed: i. Click the check box preceding the workload for which you want to see a profile. The row that is checked is highlighted to indicate selection. ii. Select ViewWorkload Profile... from the menu bar. The Profile Viewer screen displays.
Procedure 5-16 To change the view within the system hierarchy 1. 2. Find the Hierarchy near the top of the screen Click a link or select an item from the drop-down list to view a related profile. The new profile displays in the viewer screen. Procedure 5-17 To modify data presentation in a profile viewer You can change select settings that control modeling limits, and then view the resulting changes in the data when the new settings are applied. 1. 2. Locate the set of links that appear below and to the right of the profile identification summary information and above the data range selector. For each setting that you would like to modify, click the appropriate link. NOTE: Available settings When editing a scenario, you can edit the forecast model, edit the power settings, and edit utilization limits. When viewing profiles from the HP SIM Optimize menu, you can also edit I/O capacity and/or immediately collect data. The editor for the setting opens.
69
3.
Click OK to save the changes for each setting that you edit, and return to the Profile Viewer. NOTE: Viewing a VM guest on a VM host or viewing a complex In certain situations (such as when you are viewing the profile for a system or complex), navigational controls are presented to the right of the Hierarchy label near the top of the screen, such as links and drop-down lists , that allow you to view parents and siblings of the current resource profile. Click a link or select an item from the drop-down list to view a related profile. For details, access the help by clicking the ? button.
Procedure 5-18 To change the time and data range displayed in the profile viewer Optionally, you can adjust the time frame and interval. The default display, a Fixed Interval, shows the most recent seven days of activity. 1. You can select a different Fixed Interval in the drop down selector, or you can change to an Absolute Interval by clicking the radio button to the left of this interval selection. The user interface pauses momentarily to reset the screen fields. 2. 3. Set the beginning and end dates for the interval that you want to view. Click OK to apply the new interval to the graph and table data. The screen displays the new interval and data. Procedure 5-19 To manipulate the graphic display of utilization data 1. Optionally, use the pan right (> or >>) and pan left (< or << ) buttons to view earlier historic data (pan left) or forecast activity (pan right beyond the current date). The screen repaints with the new date interval resulting from the pan action. A pale blue background in the graph indicates the area in the graph where activity is forecast based on historic data and user-selected settings. 2. Optionally, turn off the bandwidth capacity indicator by deselecting the Show Capacity radio button. (Visible on network and disk I/O utilization metric viewers.) The screen repaints with the dashed blue capacity indicator line removed. 3. Optionally, turn off the resource allocation indicator by deselecting the Show Allocation radio button. (Visible on CPU and memory utilization metric viewers.) The screen repaints with the dashed blue allocation indicator line removed. 4. 5. 6. 7. Optionally, turn on the Show Invalid Data selection to see the points that have been dropped from the display and analysis (if any). Optionally, turn on the Show Observed Data selection to see actual observed activity collected from a real system. Optionally, turn on the Show Simulated Data selection to see representational activity based on data collected from a real system. Optionally, use the Profile Editor to set the data time frame and click Validate or Invalidate to set the status of the date range. Changes made here will be reflected in the graphic and Interval Metric Summary table. 8. When finished viewing the graph and table data for a scenario system or workload, click the Go back to .... link to return to your original starting point in the Edit Scenario screens.
For information on accessing special editors from a profile viewer, seeAccessing the forecast model for a workload or system (page 83).
70
Procedures
Procedure 5-20 To switch to alternate utilization resource metrics You can cause a profile viewer to display any of the utilization resource metrics provided by Capacity Advisor. Click the radio button to the left of the metric that you want to view. The user interface pauses momentarily to reset the screen display to the new metric, updating both the utilization graphic and the Interval Metric Summary table.
Procedure 5-21 Select targets and set date range For specific descriptions of each field on the user interface screens, click the help link on the software screen for the task.
71
1.
Click one of the visible links to select a scenario, one or more collections, one or more complexes, one or more systems, or one or more workloads to appear in the report. (The availability of selections depends on the report type selected.) A new screen opens with an appropriate list of known scenarios, collections, complexes, systems, or workloads.
2. 3.
Click the check box to the left of each object's name that is to appear in the report. Click OK. The Select Report Targets screen reopens with an updated list of targets and a date range selector visible.
4. 5.
6. 7.
Check that the selected targets are correct. Note the available date range of all collected data, which appears above the date range selector, and the default date range (at most, 1 month prior to the current day, when that amount of data is available). If the default date range is acceptable, click Next. If a different data set is desired, change the date and time, then click Next. The Select Details screen opens.
Select details specific to report type This step in the report wizard is different for each report. See the specific report procedures and Capacity Advisor online help for information. Confirm selections for the report Some reports give you the opportunity to confirm selections before you actually run the report. Download or browse the report For help in interpreting the report, click the help button provided on the browser-viewable and downloadable reports. To return to a planning checklist: Obtaining reports on current resource usage [p. 35]
72
Procedures
3.
Check the default graph size. The default size fits just within a letter-size page for printing. If you prefer dimensions smaller or larger, use the drop-down to change width (in pixels). If you prefer a different width-to-height proportion, use the Aspect Ratio drop down.
4. 5.
Click the appropriate link to browse the report in a web browser or to save the report to the location that you designate.
To return to a planning checklist: Obtaining reports on current resource usage [p. 35] Consolidating server loads onto a virtual machine manually [p. 36] Consolidating server loads onto a virtual machine using automated solution finding [p. 47] Estimating the effect of adding processors [p. 51] Estimating the effect of moving processors [p. 51]
To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36] Consolidating server loads onto a virtual machine using automated solution finding [p. 47] Estimating the effect of adding processors [p. 51] Estimating the effect of moving processors [p. 51] Determining where to put a workload using automated solution finding
73
6. 7.
Procedure 5-27 Selecting report details in a scenario comparison All resource metric options are available in a scenario comparison. All selectable fields are combined into one section called General Report Options. 1. 2. Put a check in the box(es) next to the resource types that you want to compare. If you selected the Power resource type, fill in the Currency, Cost per kWh, and Cooling Cost Multiplier values. For detailed discussion of the available power options, see Power Report Options. Choose the scale (absolute utilization numbers, percent of allocated resources used, or both). Select Finish to create and complete the report.
3. 4.
An example scenario comparison report The following image illustrates one small part of a scenario comparison report.
74
Procedures
This report includes two consolidation solutions provided by the Smart Solver (ServerConsolidationResult-SmallSystem and ServerConsolidationResults-BigSystem) and the original pre-consolidation set of physical servers (ServerConsolidationScenario). For more snapshots from this same report, see Scenario comparison report (page 157). Calculating a virtualization consolidation ratio It can be useful to look at the resulting ratio of virtual machines to physical servers after running a system or workload consolidation simulation to help in evaluating the return on investment for a particular configuration of machines. Currently, Capacity Advisor does not supply this ratio in its reports, but you can easily calculate ratios for a set of scenarios that you wish to compare. Prerequisites You must be logged in to Insight Dynamics (see Accessing Capacity Advisor (page 55)). You must have created a planning scenario that represents the system configuration that you want to consolidate. (See Creating a planning scenario (page 86) and Editing a scenario (page 88).) You must have consolidated the systems in the initial planning scenario onto the VM host(s) of your choice. For purposes of comparison, you may want to save two to three different consolidation simulations. (See Automated solution finding: System consolidation to VMs (page 109).) You must have run a scenario comparison report that includes your initial planning scenario and your consolidated scenario results. (See Using the report wizard to create a scenario comparison (page 74).)
Procedure 5-28 Calculate virtualization consolidation ratios using data from a scenario comparison report 1. 2. Examine the scenario comparison report. (As an example, see Figure 5-1 (page 75).) For the systems scenario in the report, subtract the Number of VM Hosts in that scenario from the Number of Physical Servers Including VM Hosts. This value represents the number of physical servers that are to be consolidated into virtual machines. For each consolidation solution scenario, calculate the virtualization consolidation ratio: number_of_physical_servers/number_of_VM_hosts For example, using the data in Figure 5-1 (page 75), you can determine that the number of physical servers to be consolidated is 20. The ratio for the small system consolidation is 20/6, and the ratio for the big system consolidation is 20/3 meaning that the 20 physical servers can fit on 6 small VM hosts or 3 larger VM hosts.
Producing graphs and reports 75
3.
4.
To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36] Consolidating server loads onto a virtual machine using automated solution finding [p. 47] Determining where to put a workload using automated solution finding
4.
To return to a planning checklist: Obtaining reports on current resource usage [p. 35] Consolidating server loads onto a virtual machine manually [p. 36] Consolidating server loads onto a virtual machine using automated solution finding [p. 47] Determining where to put a workload using automated solution finding
76
Procedures
2.
The Report Wizard opens on the Select Report Targets screen. Select the systems, scenario, or collection for which you want the report, and select the data range. See Select targets and set date range for more information.
3.
Select details specific to report type. 1. Select one or more types of resources for which you want to see data from among CPU, memory, network I/O, and disk I/O. 2. Select whether to include a Full Table of all available metrics or a subset (Short Table) of the available metrics. See Details: Peak summary report in Capacity Advisor Help for more information. 3. Select the graphs that you want to include in the report. 4. Provide the hours during which you expect peak activity to occur in your typical business day. 5. Optional. Select a different graph size. 6. Click Next to view a confirmation page showing the report selections. 7. Click Finish to run the report. Click the appropriate link to browse the report in a web browser or to save the report to the location that you designate.
4.
4.
77
4.
Select details specific to report type. a. Select one or more types of resources for which you want to see data from among CPU, memory, network I/O, and disk I/O. (Power is not available when reporting trends only.) b. Check the default graph size. The default size fits just within a letter-size page for printing. If you prefer dimensions smaller or larger, use the drop-down to change width (in pixels). If you prefer a different width-to-height proportion, use the Aspect Ratio drop down. If you chose trend report details: i. Select the Business Interval (default: 1 week). Requiring higher percentages of valid points can make the business intervals analyzed more meaningful, but can also reduce the number of business intervals available for the analysis, making the overall analysis less useful. ii. Select the minimum percentage of valid data points that must be present within the period (default: 95%), called the Valid Threshold. iii. Choose the data aggregation type (default: average), called Compute Trending of. iv. Optional. Check the box to include error analysis. c. Click Finish.
5.
Click the appropriate link to browse the report in a web browser or to save the report to the location that you designate.
5.
utilization limits are applied to real workloads recognized by Virtualization Manager and to workloads within scenarios to enable analysis of collected data (actual utilization) as it relates to desired resource utilization. Within a scenario, when a service level objective cannot be met for a workload, a visual indicator along with a warning message will be displayed when moving a workload in a scenario. When making automated changes, such as the automated system consolidation, these utilization limits are enforced in determining a solution. For more discussion about utilization limits, see Utilization limits (page 27). IMPORTANT: For specific descriptions of each field or summary table on the user interface screens, click the help topic link on the software screen for the task.
Getting there
Screens for modifying utilization limits can be accessed from the following locations: the Virtualization Manager Configure menu on the Visualization tab the Modify menu on the Capacity Advisor tab the Edit menu on either the System or Workload tab of the Edit Scenario screen TIP: For lists of all menu options for Capacity Advisor features, see Menus & tabs in Capacity Advisor Help.
3.
79
2.
To see the current global utilization settings, click Revert. To cancel your changes, click Cancel. To accept your changes, click OK.
3.
2.
80
Procedures
3.
For each utilization limit you wish to add: a. Select the type of limit you wish to place, the utilization metric the limit applies to and the utilization value above which the limit applies. For a Percent of Time Limit, enter the percent of time the utilization value may be exceeded and a comment describing the limit. For a Sustained Minutes limit, enter the duration in minutes the utilization may be exceeded, and a comment describing the limit. b. Click Add. To see the current utilization settings, click Revert. To cancel your changes, click Cancel. To accept your changes, click OK.
4.
2.
5.
81
2.
Forecasting utilization
HP Insight Capacity Advisor software provides multiple levels of forecast models to allow precise control of forecasting future utilization. IMPORTANT: For specific descriptions of each field or summary table on the user interface screens, click the help topic link on the software screen for the task.
Defining the Global Forecast Model The settings that you define here are applied globally in the absence of other specifically targeted forecast models. This procedure assumes that you have opened the Global Forecast Model screen (see Accessing the Global Forecast Model (page 82).) . 1. 2. 3. Provide a brief description of the forecast model in the Description field. Choose a time frame to use in tiling the data into the future (default: fixed interval). The time interval (date range) field adjusts according to your time frame selection. Select the date range for defining the period of data collection to use as the basis for the forecast. a. For a fixed interval: select the calendar interval, Beginning or Ending, and the date (MM-DD-YYYY) b. For a ranged interval: select the beginning and ending dates and times. c. For a float interval: select the calendar interval, Beginning or Ending, and general date indicator (default: Last Full Day) Provide Annual Projected Growth Rates for each resource: CPU, Memory, Network I/O, and Disk I/O. Use positive values for increasing utilization, negative values for decreasing utilization, and zero for no change). The default is 1% projected annual growth for every resource. TIP: You can estimate projected annual growth by including trend calculations in utilization reports derived by analyzing historical data. (See Determining trends in Capacity Advisor (page 31) and The report wizard (page 71).) 5. Click the OK button to save and apply a new definition for global forecasting. TIP: Undoing changes to the global forecast model If you change your mind about values while editing this screen, use the Revert button to replace newly set values with the values that were there when you started. The Revert button does not return default values, so if you have edited the global forecast values once before, and then decide that you prefer the default values, you will have to set the values to 0 (zero) for each resource and click OK to have the original default values in operation.
4.
Forecasting utilization
83
IMPORTANT: The forecast model for a system is not inherited by any monitored workloads. If a system with monitored workloads is included in a scenario, the forecast model will not be used within the scenario. Prerequisites You must be logged in to Insight Dynamics. (See Accessing Capacity Advisor (page 55).) You must have sufficient authorization to define the forecast model for a workload or a system.
Defining the forecast model for a workload or system The following procedure assumes that a profile viewer is open (see Using the Profile Viewer (page 67).) 1. If you are not on the Virtualization Manager screen, from the top menu, select ToolsVirtualization Manager.... The Virtualization Manager Visualization tab screen is displayed. 2. To define the forecast model for a system, start on the Visualization tab. To define the forecast model for a workload, click the Workload tab. The Workload tab opens, displaying the licensed workloads. 3. Open a profile viewer by clicking a utilization meter for a particular system on the Visualization tab or by clicking a utilization link for a particular workload on the Workload tab. The Profile Viewer screen is displayed for the system or workload. 4. 5. Click the Edit Forecast Model... link on the profile viewer. The Forecast Editor: Workload Forecast Model screen displays. To define the forecast model, follow the procedure Defining a forecast model. To disable the forecast model, follow the procedure Disabling a forecast model To enable the forecast model, follow the procedure Enabling a forecast model.
4.
To define the forecast model, follow the procedure Defining a forecast model. To disable the forecast model, follow the procedure Disabling a forecast model To enable the forecast model, follow the procedure Enabling a forecast model.
Generating forecasts
Once you have defined one or more forecast models, you can view the results of the forecast models two ways:
Forecasting utilization 85
For a quick view, Viewing forecast data in a profile viewer For a more thorough report, Viewing forecast data in a utilization report (page 86)
86
Procedures
Procedure 5-60 Identifying the scenario 1. 2. 3. Click Scenario Name in the left navigation column to open the Enter Scenario Name and Description screen. Required. Type a unique Name. Type a short description in the Description field. TIP: As the number of scenarios grows, the description field can help you to differentiate similarly named scenarios. 4. Optional. You can de-select the check box for opening a scenario editing session after completing scenario creation. When you un-check this box, you will return to the scenario list page upon completing the scenario creation. The Edit Scenario window on Mozilla Firefox: In the case where the Edit Scenario window is already open, but hidden beneath other windows when you create a new scenario, it is not obvious that the window has refreshed with your new scenario information. This can occur when using Mozilla Firefox with multiple windows open on your display. To more easily access the refreshed window, set Firefox to allow Javascript to raise or lower windows. Then, when you create a new scenario, the pre-existing Edit Scenario window will rise to the forefront of the display. 5. Click Next to proceed to the Add Systems to Analyze screen, or click Systems in the left navigation column. From the Add Systems to Analyze, click Add. A new window opens that provides controls for filtering and selecting discovered systems to include in the scenario. 2. In the new window, select existing systems that you want to include in the scenario and click Add. (See Adding systems in Capacity Advisor online help for information on using the controls in this window.) With each addition, the list of systems on the primary Systems screen lengthens. 3. 1. 2. Click Next to view a summary of all actions taken in the wizard. Verify that the summary information is what you expect. When satisfied, click Finish to save the scenario and exit the Create Scenario wizard. By default, the scenario editor will open, showing utilization data for your new scenario. The default data range used to calculate the utilization in the meters is set to one week back from the current date. (See Controlling the data display (page 88) in the Scenario Editor to change this value.) If you have not selected to open a scenario editing session, the main window refreshes with the list of scenarios (on the Capacity Advisor tab), including your new scenario. To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36] Consolidating server loads onto a virtual machine using automated solution finding [p. 47] Estimating the effect of adding processors [p. 51] Estimating the effect of moving processors [p. 51] Determining where to put a workload using automated solution finding Procedure 5-62 Reviewing a summary of the scenario settings
87
Editing a scenario
Editing a scenario allows you to modify the systems and workloads in a scenario. This can be done immediately after initial creation or to tune a scenario to represent planned changes. Edit only one scenario at a time : Opening a new edit scenario session when another editing session is already open causes the loss of any unsaved changes in the previously opened session. If you were running an automated solution in your previous session, the automated calculations are immediately halted and no settings or results are saved. Prerequisites 1. You must be logged in to Insight Dynamics. (See Accessing Capacity Advisor (page 55).) You must have created the scenario. (See Creating a planning scenario (page 86).) If you are not on the Capacity Advisor tab: If the Capacity Advisor tab is visible, click the Capacity Advisor tab. If the Capacity Advisor tab is not visible, select OptimizeCapacity AdvisorView Scenarios... from the top menu bar. The Capacity Advisor tab will open, with a list of scenarios. 2. Any scenarios you have authorization to edit will be presented as links. Click the name of the scenario you want to edit. The Capacity Advisor - Edit Scenario screen will be displayed.
88
Procedures
Prerequisites: You must be editing a scenario (see Editing a scenario (page 88)) Changes to the data collection period persist across sessions.
NOTE: 1.
2.
Click the first drop-down arrow to the left to see the choices for the duration of the data collection period that you want to use. Choose one to view in the display. The choices are as follow: Day Week (default) Month Quarter Half Year
3.
Click the next drop-down arrow to the right to see the choices for selecting what relationship the interval shall have to the selected date. Choose one to view in the display. The choices are as follow: Ending (the simulation shall end at the selected date default) Beginning (the simulation shall begin at the selected date)
4. 5. 6.
Change the date, if needed, to work well with your other Data Range selections Click OK to refresh the scenario resource utilization table with data collected during the defined interval. Click Cancel Edit Interval to return to the previous data range for this scenario.
89
NOTE: Changes to the Meters Represent: options are applied to the current scenario editing session, but options return to the default values at the beginning of any new session. Click the drop-down arrow to select a type of calculation to be represented in the meter bars in the resource utilization table. The choices are as follow: average 90th percentile peak (default) max 15 minute sustained
The scenario resource utilization table displays the new values for each resource, including violations of utilization limits set for each resource.
Copying a scenario
It is frequently desirable to use an existing scenario as the starting point for developing a new scenario. Copying a scenario provides an easy way to accomplish this. Prerequisites You must be logged in to Insight Dynamics. (See Accessing Capacity Advisor (page 55).) You must be authorized on all systems in the scenario (see HP Insight Dynamics 6.2 Getting Started Guide). If you are not on the Capacity Advisor tab: If the Capacity Advisor tab is visible, click the Capacity Advisor tab. If the Capacity Advisor tab is not visible, select OptimizeCapacity AdvisorView Scenarios... from the top menu bar. The Capacity Advisor tab opens with a list of existing scenarios that you are authorized to view. 2. 3. 4. 5. Click the check box preceding the scenario that you want to copy. Select CreateCopy Planning Scenario.... The Copy Scenario screen displays. Modify the Name and Description fields as appropriate. Click OK. You are returned to the Capacity Advisor tab, and the copied scenario appears in the scenario list. To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36]
Renaming a scenario
Over time, more appropriate names for scenarios may become apparent, and you may want to change the scenario name. Prerequisites To rename a scenario: You must be logged in to Insight Dynamics (see Accessing Capacity Advisor). You must have created the scenario (see Creating a planning scenario (page 86)).
90 Procedures
Getting there
If you are not on the Capacity Advisor tab: If the Capacity Advisor tab is visible, click the Capacity Advisor tab. If the Capacity Advisor tab is not visible, select OptimizeCapacity AdvisorView Scenarios... from the top menu bar. Procedure 5-68 To rename a scenario The Capacity Advisor tab opens with a list of existing scenarios that you are authorized to view. 1. 2. 3. 4. Click the check box preceding the scenario that you want to rename. Select ModifyRename Planning Scenario... from the menu bar. The Rename Scenario screen displays. Modify the Name and Description fields as desired. Click OK. You are returned to the Capacity Advisor tab, and the renamed scenario appears in the scenario list.
91
IMPORTANT: Keep the change record clear of conflicting instructions and errors because errors prevent the scenario from evaluating any further change. Note that changes made to this screen are not applied until you Close the screen. This means that error messages resulting from conflicts introduced on the Undo/Edit screen are displayed on the Edit Scenario screen. Modifying resource utilization values For rows where this feature is available, you can change the scaling factors (multipliers) associated with a change. 1. 2. 3. Click the check box to the left of the row where you want to change the value. Change the value using the field in the column labeled Modifiable Values. Click Modify.
When you are done, click Close. You can come back to the this screen as many times as needed. You will be returned to the Capacity Advisor - Edit Scenario screen. The changes you disabled or deleted will no longer be in effect and those you re-enabled will be in effect again. You should be able to see the resulting modifications reflected in the data presented on the Edit Scenario System or Workload tab screens.
Related topic
Deleting a scenario
Over time, as scenarios become irrelevant, removing them will reduce the list you have to search to find your scenarios. Prerequisites You must be logged in to Insight Dynamics. (See Accessing Capacity Advisor (page 55).) You must have created the scenario (see Creating a planning scenario (page 86).) or be the HP SIM administrator (see the HP SIM help by selecting HelpFor HP Systems Insight Manager from the top menu bar). If you are not on the Capacity Advisor tab: If the Capacity Advisor tab is visible, click the Capacity Advisor tab. If the Capacity Advisor tab is not visible, select OptimizeCapacity AdvisorView Scenarios... from the upper, top menu bar. The Capacity Advisor tab will open, with a list of scenarios. 2. The names of any scenarios you created, and thus can delete, will be displayed as links. If you are the administrator, you can delete any scenario. Click the radio button preceding the scenario you wish to delete. The row containing the scenario will be highlighted and the radio button will be filled in to indicate selection. 3. Select DeletePlanning Scenario from the Capacity Advisor tab menu bar. The Delete Scenario confirmation screen will be displayed, with the name of the scenario that will be deleted. 4. Confirm that this is the scenario you want to delete, then click the OK button. You will be returned to the VSE Management: Capacity Advisor screen.
1.
92
Procedures
Creating a system
When developing a scenario to model future configurations, you can create one or more systems to represent system types that you are considering adding to the configuration. 1. On the System tab of the scenario editor, select What-If ActionCreate Systems... from the menu bar. The Edit Scenario - Create System screen displays. 2. Fill in the System Name with a unique name. You cannot change the name once the system is created. NOTE: You can add one or more system names at a time by separating each name with a comma (,) within the System Name field. IMPORTANT: While Capacity Advisor will inform you when the system name that you have designated is not unique (a system with the same name has been discovered by HP SIM), it cannot check names of systems that have not yet been discovered or created. Use names that you believe will not be used in the future (during the useful life of the scenario). 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Select the appropriate System Model and Hardware Processor Family in the System Hardware section. Select the appropriate server type. The screen repaints with the options appropriate to the selected server type. If you selected Standard Server in step 5, now select the appropriate operating system. If you selected VM Guest in step 5, now select a VM host. If you selected VM Host in step 5, now select a VM host platform. Modify the CPU Resources as appropriate. Modify the Memory Size as appropriate. Modify the network and disk I/O Capacity as appropriate. Optional. Modify Power Calibration. Click Apply to save the system definition and stay on the Create System screen to create more systems, or click OK to save the system definition and return to the Edit Scenario screen.
93
To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36]
3.
4. 5.
Editing a system
When constructing a scenario, it is frequently necessary to modify the characteristics of a system to reflect future changes to existing hardware or to reflect the characteristics of a planned system. 1. From the System tab of the scenario editor, select What-If ActionEdit System... from the menu bar. The Edit Scenario: Edit System screen displays in a new window. 2. Modify the system attributes as desired. These attributes can be changed: 3. System Hardware CPU Resources Memory Size I/O Capacity
Click the OK button. The System tab of the Capacity Advisor Edit Scenario screen displays.
To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36] Estimating the effect of adding processors [p. 51] Estimating the effect of moving processors [p. 51] Determining where to put a workload using automated solution finding
94
Procedures
95
8.
Within the table titled To: (Selected VM Host), select a destination VM host for the previously selected systems. Server presentation: The table entries are ordered by headroom fitness as determined by Capacity Advisor, and Capacity Advisor selects the top selection by default. Examine the headroom rating and the utilization meters for each prospective host to determine which host best fits your goals for headroom fitness and optimal utilization. (See Headroom (page 25) for a discussion of this concept.)
9.
Click OK to accept these changes. Unknowingly accepting unseen values: This can happen if you modify the CPU virtualization overhead % or headroom calculation after selecting the destination server, but then click OK without refreshing the destination table with the new values. The resulting change to the utilization values shown in the System tab view will differ from those seen in the previously shown destination table because the System tab will reflect the modified values. When modifying CPU virtualization overhead % or headroom, remember to click Refresh, and check the updated values shown in the utilization meters in the destination table. Once you have refreshed this table, select a server based on the new values. If you want the same server that you selected before changing the values, you must re-select that server to enable the OK button.
After clicking OK, you see an updated Edit Scenario page. The modified system(s) now appear with the VM guest type listed under System Type (for example, 'Integrity VM'). Additionally, the modified system(s) is/are listed under the selected destination server. To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36]
96
Procedures
3.
Type a unique name for identifying the cluster (required). IMPORTANT: While Capacity Advisor will inform you when the cluster name that you have designated is not unique (a cluster with the same name has been discovered by HP SIM), it cannot check names of clusters that have not yet been discovered or created. Use names that you believe will not be used in the future (during the useful life of the scenario).
4. 5.
Optional. Select HA (High Availability) Cluster. Click OK to save the cluster definition. The System tab screen refreshes. The previously selected VM hosts and their guests are now identified as members of a VMware DRS cluster in the system list.
3.
3.
Removing a system
As your scenarios evolve, you might need to remove systems from a scenario to represent planned or actual changes. 1. 2. 3. From the System tab of the scenario editor, click in the check boxes beside the systems that you want to remove from the scenario. Select EditRemove Systems... from the menu bar. A confirmation screen listing the systems you are removing will be presented. Click the OK button. You will be returned to the Capacity Advisor - Edit Scenario screen with the systems you selected removed.
Getting there
1. From the Virtualization Manager Visualization view, select a compartment or sub-compartment for a system for which you want to edit its network I/O and disk I/O capacity. From the Virtualization Manager Configure menu, select Edit Network and Disk I/O Capacity....
2.
The Edit Network and Disk I/O Capacity screen displays. TIP: This feature can also be accessed from profile viewers opened from the Visualization view.
99
Creating a workload
When you are modeling future configurations, you can create new workloads to represent applications that will be added. The workload can be based on either a static baseline or profile data from an existing workload. 1. To preselect the system on which to run the workload: From the System tab in the scenario editor, click the check box preceding the system on which you want to run the workload(s). Select What-If ActionCreate Workloads... from the menu bar. The Edit Scenario: Create Workloads screen opens. 3. Fill in the Workload Name(s) with a unique name. IMPORTANT: While Capacity Advisor will inform you when the workload name that you have designated is not unique (a workload with the same name has been discovered by HP SIM), it cannot check names of workloads that have not yet been discovered or created. Use names that you believe will not be used in the future (during the useful life of the scenario). 4. 5. Optionally, add a detailed description of the workload(s) in the Workload Description field. a. If you intend to park the workload(s), confirm that the check box labeled Park/Unassign Workload is checked. Skip to step 7. b. If you previously selected a system, review the associated information given for that system. Then skip to step 7. c. If you want to select a system, uncheck the Park/Unassign Workload check box, if needed, to enable system selection.
2.
100
Procedures
6.
Select a system on which to run the workload(s). NOTE: You can move the workload(s) later as needed.
7.
a.
b.
If you want to use collected data from a real workload in your computing environment to serve as the baseline information for the new workload(s), select Copy Profile. Copy Profile is enabled whether or not the workload is parked. If you want to supply static values, select Static Profile. Static Profile is disabled when a workload is parked. NOTE: Static values remain the same throughout scenario simulations unless modified by editing the workload attributes . Copied profile values can change with changes to the date range selected for the scenario because the data range determines the set of collected data to be used in a data-based scenario.
8.
Modify the values for each attribute in the selected profile, as desired. See Determining estimated utilization assumptions for a workload (page 125) for information about each requested attribute.
9.
Click the OK button to save the new workload(s) and return to the System or Workload tab where you started. The new workload(s) will be listed on the Workload tab or in association with the selected server on the System tab.
Editing a workload
When constructing a scenario, it is frequently necessary to modify the characteristics of a workload to reflect future changes in the application or in the users of the application. Use the Edit Workloads screen to make modifications to workload characteristics. There are two types of workloads: those that reflect current workloads on the system and those that are created for a scenario. While both can be edited, the characteristics that can be edited are different for each. Edit only one scenario at a time : Opening a new edit scenario session when another editing session is already open causes the loss of any unsaved changes in the previously opened session. If you were running an automated solution in your previous session, the automated calculations are immediately halted and no settings or results are saved. Procedure 5-84 To edit a workload 1. 2. 3. 4. If you are not on the Workload tab, click the Workload tab. The Workload tab will open, listing the workloads in the scenario. Click the check box preceding the name of the workload that you wish to edit. Select What-If ActionEdit Workloads... from the menu bar. The Edit Scenario: Edit Workload screen displays. If you are editing a workload that uses profile data, or you want to change the workload so that it will use profile data, modify those fields as appropriate. See Determining estimated utilization assumptions for a workload (page 125) for more information about the Copy Profile fields. If you are editing a workload that uses a static profile created for this scenario, or you want to change the workload that it will use static information, modify those fields as appropriate.
Working with workloads 101
5.
6.
See Determining estimated utilization assumptions for a workload (page 125) for more information about the Static Profile fields. Click OK to save changes. The Workload tab of the Capacity Advisor: Edit Scenario screen opens.
To return to a planning checklist: Consolidating server loads onto a virtual machine manually [p. 36] Determining where to put a workload using automated solution finding
Moving a workload
Moving workloads allows you to redistribute workloads, including virtual equivalents of existing systems, across physical servers. While moving workloads, you can compensate for differences among systems by adjusting platform multiplier values. These values can be determined by running applications on systems representing the hardware and software configurations being used.
Move considerations
In considering where to move a workload, think about the following aspects of a move: architecture is the workload moving from one architecture to a system with the same architecture? If the workload may move to a system with a different architecture, what are the implications of architectural differences? operating system is the workload moving from one operating system to a system with the same OS? If the workload may move to a system with a different OS, what are the implications? CPU speed is the workload moving to a system with the same or faster CPU speed? CPU utilization what is the current CPU utilization of the workload? what is the projected growth rate of the workload available memory is the available memory on the new system the same or greater than that on the system where the workload currently resides? TIP: To obtain the most meaningful feedback about the proposed move of workloads, it is important to size the VM guest where the workload resides so that it is appropriate to the size of the workload. This should be done prior to using the Move Workload menu option. NOTE: When measuring CPU utilization of virtual machines, it is possible for the reported utilization to be greater than the number of virtual CPU cores (vCPU cores) associated with the virtual machine. While the number of virtual machine host threads allocated to the process for the virtual machine is restricted to the number of virtual CPU cores, the virtual machine host threads used to implement virtual hardware, such as I/O cards, are not restricted. Under certain load conditions, this can result in CPU utilization of more than 100% being reported for a virtual machine. Procedure 5-85 To move a workload 1. 2. 3. 4. If you are not on the Workload tab, click the Workload tab. Click the check box preceding the workload(s) that you wish to move. Select What-if ActionMove Workloads... from the menu bar. The Edit Scenario: Move Workloads screen displays. Change the Meter Scale, if desired.
102
Procedures
5.
Change the Data Range if a different size of data collection is desired, and click OK to refresh the table display. TIP: A longer data collection period provides a better picture of activity on the system over time than shorter periods do.
6. 7. 8.
Change the Meter Representation if a different calculation is desired . The first table presents the workloads selected for the move. If the original system that the workload resided on differs significantly from the intended destination system on which you intend to run the workload, use the memory platform multiplier to adjust for differences between the two systems. On entering a new value for the memory platform multiplier, you must click Refresh to update the table titled Select Destination System: with the new values. 9. Optional. Change the headroom calculation. You must click Refresh to update the server destination table with the new values. 10. In the next table, labeled Select Destination System, take a few moments to mouse over various entries in the table and analyze the information presented. This table lists the possible destination systems available in this scenario, their current resource utilization information, and their headroom rating. 11. Select a system to be the new host for the workload. The OK button becomes enabled for use. Server presentation: The table entries are ordered by headroom fitness as determined by Capacity Advisor, and Capacity Advisor selects the top selection by default. Examine the headroom rating and the utilization meters for each prospective host to determine which host best fits your goals for headroom fitness and optimal utilization. Not seeing a host that you expect to be in the destination list?: Capacity Advisor allows only one workload to be assigned to a VM host in a scenario. Therefore, VM hosts that already have a workload do not appear as destination candidates in this screen. 12. Click OK to accept these changes. Unknowingly accepting unseen values: This can happen if you modify the memory platform multiplier after selecting the destination server, but then click OK without refreshing the destination table with the new values. The resulting change to the utilization values shown in the Workload tab view will differ from those seen in the previously shown destination table because the Workload tab will reflect the modified values. When modifying the memory platform multiplier, remember to click Refresh, and check the updated values shown in the utilization meters in the destination table. Once you have refreshed this table, select a server based on the new values. If you want the same server that you selected before changing the values, you must re-select that server to enable the OK button. The Workload tab of the Edit Scenario screen opens showing the new workload relationships.
103
Parking a workload
When constructing a scenario, it can be desirable to temporarily remove the effects of workloads to reflect potential changes, without permanently removing the workloads. This is referred to as parking the workloads. 1. 2. If you are not on the Workload tab, click the Workload tab. Click the check boxes preceding the names of the workloads you wish to park. Check marks will appear in the check boxes and the rows containing the workloads will be highlighted, to indicate selection. 3. 4. 5. Select What-If ActionPark Workloads... from the menu bar. The Edit Scenario - Park Workloads screen will be displayed. Confirm that the workloads listed under Workload Name hosted on the systems listed under Contained In are the workloads you wish to park. Click the OK button. The Workload tab of the Capacity Advisor - Edit Scenario screen will open.
Deleting a workload
When working with a scenario, it is sometimes desirable to remove workloads to reflect potential changes. 1. 2. If you are not on the Workload tab, click the Workload tab. Click the check boxes preceding the names of the workloads you wish to remove. Check marks will appear in the check boxes and the rows containing the workloads will be highlighted to indicate selection. 3. 4. 5. Select What-If ActionDelete Workloads... from the menu bar. The Edit Scenario - Delete Workloads screen will be displayed. Confirm that the workloads listed under Workload Name hosted on the systems listed under Contained In are the workloads you wish to delete. Click the OK button. The Workload tab of the Capacity Advisor - Edit Scenario screen will open.
104
Procedures
TIP: The various power calibration screens look similar to one another, but you can tell that you are within a scenario rather than interacting with the actual system when the screen title includes the words Edit Scenario:. IMPORTANT: For specific descriptions of each field or summary table on the user interface screens, click the help topic link on the software screen for the task. TIP: For lists of all menu options for Capacity Advisor features, see Menus & tabs in Capacity Advisor Help.
Prerequisites
You will need VSE All Tools permissions on the managed systems where you want to calibrate power. (See Accessing Capacity Advisor (page 55).) Procedure 5-88 Open the Visualization tab in Virtualization Manager 1. 2. Start Virtualization Manager. (ToolsVirtualization Manager...) The Visualization tab opens. View the list of systems in the display.
3.
Supply values for idle and maximum power usage when manual calibration is selected. (See Power calibration calculations (page 129) for assistance in determining valid values for particular systems.) Click the Calibrate link. Results are posted in the Last Attempted Auto-Calibration table. If an error is indicated, read the Troubleshooting and Notes column for help on fixing the error.
Procedure 5-91 Clearing current power management calibration values Click the Clear Calibration Data link. Calibration values are deleted. Results are posted in the Last Attempted Auto-Calibration table. If an error is indicated, read the Troubleshooting and Notes column for help on fixing the error. Procedure 5-92 Updating iLO data and calibration Click the Collect iLO Data link. The latest power usage data for this system is obtained and used to update the calibration for this system. Results are posted in the Last Attempted Auto-Calibration table. If an error is indicated, read the Troubleshooting and Notes column for help on fixing the error. Procedure 5-93 Configuring power management 1. 2. Examine the Power Management Plug-in Configuration table. In order of presentation, configure or correct each step listed in the table, as needed. a. Look at the icon in the Status column. If the status icon shows , then the step is working correctly. , then this step is not working correctly. , indicates waiting for a previous step to complete successfully. b. Fix errors in the order that they appear in the table. Use the information in the Notes column to determine what you need to do. Use the links in the Help column to resolve the problem(s) for that step.
3.
When all the icons show a green status, select Apply or OK to complete the power calibration for the selected system .
106
Procedures
Known problem: Collecting an iLO license: One of the steps in the checklist is to collect the iLO license. The following are known issues with this step: You must be able to ping the iLO from the CMS using only the system name (not the fully qualified domain name). The HP SIM License Manager uses the system name, not the fully qualified domain name, regardless of system settings. Systems in the same DNS zone as the CMS will work fine. Systems in a different DNS zone will need to have the DNS suffix for the managed nodes iLO added to the IP configuration of the CMS. You must be able to access the iLO via SSH from the CMS. The License Manager collects iLO licenses via SSH. There is a maximum of 2 concurrent SSH sessions for iLO. iLO SSH sessions may be abandoned and not reclaimed. This causes the iLO SSH to deny new connections, and the License Manager iLO license collection to fail. If this occurs, reset the iLO (that is, use the reset button at the bottom of the iLO diagnostics page in the iLO web GUI).
Want to calibrate a single system at a time?: For each system in the Selected Systems table that you want to calibrate individually, click the details link to open the Calibrate Power (Single System) screen for that system. TIP: If you elect to individually calibrate some of the systems in a multiple listing, but not all, first calibrate the individual systems, and then remove them from the Selected Systems table. The systems remaining in the table list are those to which you can apply a different set of values at once using the control buttons on this screen.
107
This section describes the procedures for calibrating power for a single or for multiple systems within a planning scenario. Automatic power calibration options are not available from within scenarios as you are not interacting with real systems. You can choose to have no calibration in effect, or you can manually supply values. By calibrating power in a scenario, you can view estimated effect on power usage and costs due to changes that you make in the scenario. The resulting calculated metrics are viewable in Capacity Advisor reports and the profile viewer. NOTE: When a scenario is created, the initial idle and maximum power values of any real system that is being simulated in the scenario are taken from current measurements in HP Insight Virtualization Manager software. These values remain constant once the scenario is created, unless you manually change them using this screen. A later re-calibration performed in Virtualization Manager does not modify the power calibration of existing scenarios. What-if systems (for example, systems created by the Smart Solver that do not physically exist) can only be manually calibrated. For overview information, see Adjusting power (page 30).
Getting there
Power settings apply only within a selected scenario. Prerequisites You will need Capacity Advisor tool box permissions on the CMS or VSE All Tools permissions on the managed systems where you want to calibrate power. (See Access & authorizations.) Procedure 5-96 Open an existing scenario 1. 2. View the list of scenarios. (OptimizeCapacity AdvisorView Scenarios) Select a scenario to edit by double-clicking on the scenario name (or check the check box next to the desired scenario and select ModifyEdit Planning Scenario). The scenario opens on the Edit Scenario: System tab Choose physical systems only: Power settings can only be adjusted for entire physical systems.
108
Procedures
3.
4.
Supply values for idle and maximum power usage when manual calibration is selected. (See Power calibration calculations (page 129) for assistance in determining valid values for particular systems.) Select Apply or OK .
Want to calibrate a single system at a time?: For each system in the Selected Systems table that you want to calibrate individually, click the details link to open the Calibrate Power (Single System) screen for that system. TIP: If you elect to individually calibrate some of the systems in a multiple listing, but not all, first calibrate the individual systems, and then remove them from the Selected Systems table. The systems remaining in the table list are those to which you can apply a different set of values at once using the control buttons on this screen.
109
NOTE: A consolidation adheres to the existing utilization limits. For information on utilization limits, see Utilization limits (page 27).
110
Procedures
5.
Depending on your host destination type, you will need to do one or both of the following steps. View the list of potential hosts included in the scenario in the Select the existing hardware... table. Check the box(es) for the system(s) to be used as the VM host(s). TIP: You may need to expand the gray bar to view the table entries.
If you select to use a host template, a template editor will open. Fill in the fields as desired. (See Host Template Fields in Capacity Advisor Help for attribute descriptions.) Any new host systems will use this configuration.
6.
Change solution constraints, if desired. NOTE: Solution constraints include whether or not to load balance a solution, provide a virtualization CPU overhead percentage, or change the maximum invalid data percentage allowed.
7.
111
Insufficient resources on the VM host: Smart Solver informs you when the destination VM host has insufficient resources to host all of the consolidated systems. This can happen when the selected systems do not have enough resource capacity to place all of the workloads or when workloads cannot be placed on any of the selected systems. The Smart Solver will try to place as many workloads as will fit, giving you a partial solution. When this occurs, you can click Return to Step 1 to adjust the attributes and constraints for the VM host, or Cancel and return to the scenario editor. From there, adjust the resources on your destination VM host or add another VM host to the automated consolidation simulation. For more information on this behavior, see When available systems lack sufficient capacity (page 180). Results: Automated consolidation to VMs
Expected results
The solutions show the systems converted to VM guests on VM hosts. These VM hosts are either existing VM hosts, what-if generated template VM hosts, or a combination, depending on what destinations you selected. When a combination of VM hosts are chosen, the placement of VM guests goes first to existing VM hosts, and then to the template VM hosts. Further, as part of the input parameters, you can select to load balance the resulting VM hosts. This load balancing occurs after and only amongst the target VM hosts that are required for the consolidation solution. In other words, if the consolidation solution results in any VM hosts being unused (and therefore, not required in the solution), the unused systems will not be involved in the load balancing. Only the required systems in the solution are involved in the load balancing. The resulting solution is the configuration requiring the fewest number of systems with the minimal requirement for headroom, while taking into consideration resource utilization and utilization limits. Resources The placement of VM guests takes into consideration CPU, memory, network I/O, and disk I/O capacity, and utilization limits. If load balancing (balancing resource utilization across the resulting systems) was selected, the VM guests were load balanced across the systems that had 1 or more VM guests. Resource capacity. Workloads that specify utilization limits for a metric (for example, memory or disk I/O) can only be placed on resources that define a capacity for the corresponding metric. In other words, if you specified that a workload never exceed 100% memory utilization, that workload can only be placed on a system for which total memory capacity is known. Utilization limits. Every workload selected must have at least one utilization limit applied before using the Smart Solver. This can be any type of utilization limit, including the default global utilization limit. Headroom rating The headroom ranking shows the amount of available resource above the existing resource utilization that will exist for the resulting solution in the simulation. Among the solutions that require the same target systems, the solution with the tightest fit is shown.
Possible anomalies in the results
Fewer systems shown. The Smart Solver solution can contain fewer VM host targets than were originally selected. This occurs when the workloads fit on fewer systems than originally selected. For example, if systems A, B, and C are selected as target VM hosts, but all the workloads can fit into VM hosts A and B, then only VM hosts A and B are shown in the solution. Systems involved in load balancing. When load balancing is performed, the loads are balanced only across the resulting systems in the solution. For example, if only VM hosts A and B are used (and VM host C is not), then load balancing is performed only across VM hosts A and B. VM host C is not included for the load balancing calculation.
112 Procedures
Headroom rating shows zero (0) stars. The headroom rating shows zero stars even though it appears that there is sufficient room on the VM host for the workloads. This happens whenever one or more of the original servers violates a utilization limit prior to the Smart Solver being run. Before running the Smart Solver, ensure that your source systems are not already violating a utilization limit. To return to a planning checklist: Consolidating server loads onto a virtual machine using automated solution finding [p. 47]
The window displays step 1 of 3 for Automated Load Balance of VM Hosts.... If you want to load-balance servers, select What-If ActionAutomated Load Balance of Servers...
113
The solutions show workloads that are balanced across the selected existing servers or VM hosts. Load balancing is based upon CPU, memory, network I/O, and disk I/O capacity, utilization limits, and headroom, where the goal is to distribute workloads so that each system has comparable headroom and therefore, similar headroom rating.
114
Procedures
Resource capacity. Workloads that specify utilization limits for a metric (for example, memory or disk I/O) can only be placed on resources that define a capacity for the corresponding metric. In other words, if you specified that a workload never exceed 100% memory utilization, that workload can only be placed on a system for which total memory capacity is known. Utilization limits. Every workload selected must have at least one utilization limit applied before using the Smart Solver. This can be any type of utilization limit, including the default global utilization limit. Headroom rating The headroom rating shows the amount of available resource above the existing resource utilization that will exist for the resulting solution in the simulation. Among the solutions that require the same target systems, the solution with the tightest fit is shown.
Possible anomalies in the results
The load balanced results appear unbalanced. The solution may not look balanced because smaller systems generally are assigned a smaller percentage of usage than larger systems, and very small systems may end up with no workloads at all. For example, a large 16 GB system at 87% memory usage has 2 GB of headroom, and a smaller 4 GB system at 87% has only 500 MB of headroom. Aiming for 87% usage on both systems would not yield a balanced solution. Instead, a balanced solution is to fill the larger system to 87% and fill the smaller system to only 50%. With this placement, workloads placed on either system will have the same amount of headroom to grow (2 GB). No apparent change from original configuration. The solution may be the same as the original scenario, and it looks as though no computation was performed. Actually, with the current attributes and constraints, the Smart Solver could not find a better solution than the current configuration of systems. This means that the current configuration is the current best solution. A message displayed in BLUE text indicates that the results are not an error (errors are displayed in RED text). No apparent change on one or more systems. The solution may show no change on one or more destination systems. Thus, it may appear that the Smart Solver did not include the server in its computations. In actuality, the Smart Solver determined that as part of the best solution, it was best to leave these target systems with their original configurations. Fewer systems shown. The Smart Solver solution can contain fewer destination servers than were originally selected. This occurs when the workloads fit on fewer servers than originally selected. For example, if servers A, B, and C are selected as destinations, but all the workloads can fit onto servers A and B, then only servers A and B are shown in the solution. Smaller systems appear unused. The solution may not display smaller systems, making it appear as if the smaller systems were not included in the Smart Solver computations. In actuality, when the Smart Solver attempts to place the workloads on target systems, it accounts for the robustness of those systems. If the workloads fit on larger, more robust systems and the smaller systems go unused, the solution will display only the larger, used systems. For example, if there are two large systems and two small systems, the solution may show only the two large systems, and load balancing will occur only on those two systems.
115
NOTE: Workload stacking adheres to existing utilization limits. For information on utilization limits, see Utilization limits (page 27).
116
Procedures
5.
Depending on your host destination type, you will need to do one or both of the following steps. View the list of potential hosts included in the scenario in the Select the existing hardware... table. Check the box(es) for the system(s) to be used as the destination server(s). TIP: You may need to expand the gray bar to view the table entries.
If you select to use a host template, a template editor will open. Fill in the fields as desired. (See Host Template Fields in Capacity Advisor Help for attribute descriptions.) Any new host systems will use this configuration.
6.
Change solution constraints, if desired. NOTE: Solution constraints include whether or not to load balance a solution or change the maximum invalid data percentage allowed.
7.
The solutions show the target systems with the selected workloads placed to require as few of the target systems as possible. The target systems are either existing servers, what-if servers
Automating time-consuming simulations 117
generated by template, or a combination, depending on what targets you selected. When a combination of servers are chosen, the placement of workloads goes first to existing servers and then to template-generated what-if servers Resource capacity. Workloads that specify utilization limits for a metric (for example, memory or disk I/O) can only be placed on resources that define a capacity for the corresponding metric. In other words, if you specified that a workload never exceed 100% memory utilization, that workload can only be placed on a system for which total memory capacity is known. Utilization limits. Every workload selected must have at least one utilization limit applied before using the Smart Solver. This can be any type of utilization limit, including the default global utilization limit. Headroom rating The headroom rating shows the amount of available resource above the existing resource utilization that will exist for the resulting solution in the simulation. Among the solutions that require the same target systems, the solution with the tightest fit is shown.
Possible anomalies in the results
Fewer systems shown. The Smart Solver solution can contain fewer destination servers than were originally selected. This occurs when the workloads fit on fewer servers than originally selected. For example, if servers A, B, and C are selected as destinations, but all the workloads can fit onto servers A and B, then only servers A and B are shown in the solution. Systems involved in load balancing. When load balancing is performed, the loads are balanced only across the resulting systems in the solution. For example, if only servers A and B are used (and server C is not), then load balancing is performed only across servers A and B. Server C is not included for the load balancing calculation. Return to a planning checklist: Determining where to put a workload using automated solution finding
118
Procedures
workload has data for only when the virtual machine was running on a particular virtual machine host, and when the virtual machine fails over, the workload and its utilization data gathered from the previous host becomes inaccessible. Collecting utilization data from the virtual machine will gather utilization data for the newly created workload. This process affects only the system workload for the virtual machine. If monitored workloads are defined inside the virtual machine, their data is tracked correctly even when the virtual machine fails over to a new host. It is a good idea to create a workload inside any virtual machine that you intend to fail over using Serviceguard to ensure that the utilization data of the virtual machine is kept whole. TIP: Prevent data loss To prevent the loss of utilization data when migrating HP Integrity VM guests using Serviceguard, create a monitored workload for the processes of interest on the virtual machine. If there is no monitored workload, then utilization data for the failed-over system is split across two or more workloads. To prevent this, use the following procedure to treat these multiple workloads as a single workload: 1. Create a scenario and include the current virtual machine host. 2. Within that scenario, create a new workload and import data from the unrepresented workload. (Create two or three workloads, if needed.) 3. Place these new workloads in the current virtual machine. 4. When you edit or move one of these workloads, do the same with the others. The virtual machine containing the multiple workloads can be moved within the scenario and can give a complete picture of past utilization. The collection of these multiple workloads gives you a nearly uninterrupted view of the historical utilization for the virtual machine. Virtual machines that are moved between hosts using the hpvmmigrate command preserve their UUIDs and are not seen as two virtual machines.
120
Contacting HP
Your comments and suggestions regarding product features will help us develop future versions of Capacity Advisor and the Insight Dynamics. Use the following e-mail address to send feedback directly to the Insight Dynamics development team: vse@hpuxweb.fc.hp.com NOTE: HP cannot provide product support through this e-mail address. To obtain product support, contact your HP Support Representative, your HP Services Representative, or your authorized HP reseller. For more information about support services, visit http://www.hp.com/ go/support. For other ways to contact HP, visit http://welcome.hp.com/country/us/en/ contact_us.html. We encourage your comments concerning this document. We are committed to providing documentation that meets your needs. Include the document title, manufacturing part number, and any comment, error found, or suggestion for improvement you have concerning this document. Also, please let us know what we did right so we can incorporate it into other documents.
Related information
The latest versions of manuals, white papers, and the Support Matrix for HP Insight Dynamics suite can be downloaded from the HP Web at http://www.hp.com/go/insightdynamics/docs . For translations of these documents, see the HP Business Support Center (http:// h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp).
Contacting HP 121
Additional related information can be found in the following web sites: The HP VSE Managed Node Software Update web site (http://vsemgmt.external.hp.com/) HP Insight Dynamics VSE for Integrity servers (http://www.hp.com/go/vse) Reference Architectures for Application Deployment in Virtualized Environments (http:// www.hp.com/go/vsera) HP Systems Insight Manager software (http://www.hp.com/go/hpsim). Follow the Information Library link for access to white papers and other documents. The following book can be ordered from InformIT Network (http://www.informit.com/store/ product.aspx?isbn=0131855220): The HP Virtual Server Environment: Making the Adaptive Enterprise Vision a Reality in Your Datacenter, by Dan Herington and Bryan Jacquot, Prentice Hall, 2006.
122
A Calculation assistance
See Related technical papers (page 122) for additional information.
Cost calculation
When creating utilization reports, Capacity Advisor gives you the ability to provide a value for calculating the cost per kilowatt-hour for selected servers in relation to the resource usage on those servers.
Cooling calculation
The following section describes the multiplier that you can use to more accurately report in cooling costs within your data center.
Cooling multiplier
Meaning The ratio of the energy consumed by the air conditioning system to remove heat from the machine room to the energy consumed by the computers in that room. This ratio varies depending on the climate and the type of air conditioner used. It is generally a value between 0.3 and 1.6. Default Value .6 Where you might use this multiplier to create a power utilization report Example A value entered of 0.9 would mean that for every 10 kilowatt-hours of energy used by the computers, another 9 kilowatt-hours of energy are needed to cool the machine room.
Cost calculation
123
Memory multiplier
Meaning The ratio of change in memory utilization due to using a different platform (PA-RISC, Itanium, or Xeon, for example) to host workloads in the scenario than the platform originally assumed. If changes made in a scenario assume using the same platform, use the default multiplier. Default The default value is 1.0 (0% change) Where you might use this multiplier when moving workloads from one system architecture to another different system architecture in a scenario. Simple examples If you are moving from: PA-RISC to PA-RISC: keep the value as 1.0 (no change). PA-RISC to Itanium: because Itanium has 64-bit addressing, you may expect a decrease in memory utilization. Use .5 to arrive at a 50% decrease in utilization. Detailed example Assume that you benchmark your current application on a test machine that is similar to one that is currently running a production application. Assume that the test machine is a two-way 550 MHz PA-RISC system with a benchmark of 400 CPU seconds to complete, using 400 MB of RAM. Next, assume that you want to run a newer version of the application on a one-way, 1.6 GHz, HP Integrity Virtual Machine. Your new benchmark for this application is 100 CPU seconds to complete, using 600 MB of RAM. To compute the Memory Multiplier, calculate the ratio of the memory used for the new and the old platform: 600/400 = 1.5 The multiplier of 1.5 represents a 50% increase in memory utilization. This change is affected primarily by the move to Integrity and by getting a new version of the software application. In the case of memory utilization, factors like the number of CPU cores and the use of virtual machines have no effect unless the application tests for these factors and changes its behavior accordingly. To return to a planning checklist: Obtaining reports on current resource usage [p. 35]
Calculation assistance
Where you might use this multiplier when creating a workload or editing its attributes Examples To increase the CPU utilization of a new workload by 10% of the chosen baseline workload, enter a multiplier of 1.1. To decrease the CPU utilization of a new workload by 10% of the chosen baseline workload, enter a multiplier of .9.
Default The default value is 1.0. Where you might use this multiplier when creating a workload or editing its attributes Example To increase the memory utilization of a new workload by 20% of the chosen baseline workload, enter a multiplier of 1.2.
125
Table A-1 Modify existing profile settings to guide Estimated Utilization assumptions for workload
Area Copy Profile Attribute Select Workload Description Drop-down list of previously defined workloads from which to copy attributes for the new workload. Default: 1.0 See CPU workload multiplier (page 124) for more information. Memory Workload Multiplier Default: 1.0 See Memory workload multiplier (page 125) for more information. Network I/O Workload Multiplier Default: 1.0 See Network I/O workload multiplier (page 125) for more information. Disk I/O Workload Multiplier Default: 1.0 See Disk I/O workload multiplier (page 125) for more information. Offset Hours A positive or negative integer used to move an occurrence of peak activity to an alternate desired time. For example, suppose that peak activity in the profile data set occurred at 12:00 PM, but the desired peak time to be simulated is 9:00 AM. Setting the Offset Hours to 3 will move the peak time in the simulation from 12:00 PM to 9:00 AM. Default: 0
126
Calculation assistance
Table A-2 Define static estimates settings to guide Estimated Utilization assumptions for workload
Area Static Profile Attribute or action CPU Core Utilization Description Fractional or whole number of cores assumed to be used by the new workload on the assigned system. Default: 0.0 Memory assumed to be used by the new workload. Default: 0.0 Network bandwidth assumed to be used by the new workload. Default: 0.0 Disk bandwidth assumed to be used by the new workload. Default: 0.0 Clicking this button automatically fills in the following values from the Assigned System selection: System Model Model number for simulated system. Default: None Hardware Processor Family Processor name. Default: Itanium CPU Core Count Total number of cores on the simulated system. Default: 0 CPU Speed (GHz) Typical speed of the selected processor. Default: 0.0 These fields can also be filled in manually using values that you choose for the workload.
Memory Utilization (GB) Network I/O Utilization (Mb/s) Disk I/O Utilization (MB/s) Import from Assigned System
TIP: Providing estimates for a static profile The baseline that you enter should represent your best guess as to the load the particular application or workload will place on the system where you assign it. For example, if you have an application that you plan to assign to a 4-core system, and it typically uses two cores, you would enter 2.0 for CPU utilization. In the same way, you would enter a processor speed based on the system the workload originally ran on, and the amount of memory usually consumed by the workload on its previous system. Once you have a baseline workload that represents current behavior, you can create additional workloads with different values to experiment with variations in the CPU speed, available memory, and variable utilization limits to discover the behavior and performance of the workload in different scenarios.
127
Total Physical Memory (Total Physical Memory 284 MB)/1.078 This formula is derived from a least squares fit of observed values in test systems running VMware ESX. VMware documentation provides tables that outline how much memory overhead to expect based on the number of virtual CPUs and the amount of memory allocated to guests. For more information: Resource Management Guide on the VMware web site. VMware vSphere (ESX 4) To compute a conservative estimate of the memory overhead of the hypervisor, use a value from column 3 (2 VCPUS) in the table at this location: Overhead Memory on Virtual Machines For more information: vSphere Resource Management Guide on the VMware web site. Microsoft Hyper-V Microsoft recommends at least 512 MB (.5 GB) of physical memory be available for basic hypervisor features. In addition, for each guest, plan on 32 MB of overhead for the first GB of RAM allocated to a guest, and 8 MB for each additional GB of RAM allocated to a guest. To compute the memory overhead introduced by the hypervisor, use the following formula: 512 MB + (Number of Guests x (32 MB for first GB of guest RAM + 8 MB per additional GB of guest RAM)) Example: For a system hosting 2 guests with 2 GB of RAM, and 2 guests with 1 GB of RAM, the Hypervisor Memory Overhead is as follows: 512 MB + (32 MB + 8 MB) + (32 MB + 8MB) + 32 MB + 32 MB = 512 MB + 40 MB + 40 MB + 32 MB + 32 MB = 656 MB (.64 GB) Capacity Advisor assumes that a host will be filled with 1 GB guests when estimating the memory overhead for Hyper-V. This provides a generous estimate of memory overhead, as this configuration will maximize the size of the memory overhead. As a result, allowing Capacity Advisor to estimate the Hypervisor Memory Overhead for Hyper-V will leave extra headroom on Hyper-V hosts. Source: Performance Tuning Guidelines for Windows Server 2008 on the Windows Hardware Developer Central web site.
129
a.
Download the power calculators in spreadsheet form for older HP Proliant DL/ML/PL servers: http://h30099.www3.hp.com/configurator/powercalcs.asp. For newer Proliant systems...: Use the HP Power Advisor described at this web site: HP ProLiant Energy Efficient Solutions.
b.
Download the power calculators in spreadsheet form for HP Integrity servers (rx* and Superdome) by visiting HP Thermal Logic for Integrity servers web page: http://h20341.www2.hp.com/integrity/w1/en/ integrity-servers-thermal-logic.html#calculators
2. 3.
Configure the power calculator to match your desired hardware configuration. Determine idle/max values for manual calibration by locating the Total System Input Power Requirement. This value is always in Watts unless otherwise indicated. a. If a system utilization slider bar is present, the user can determine both the max and idle power requirements by adjusting the slider bar. 1) The idle power value is determined by adjusting the system utilization slider bar to 0% usage, and reading the value of Total System Input Power Requirement. 2) The max power value is determined by adjusting the system utilization slider bar to 100% usage, and reading the value of Total System Input Power Requirement. b. If no slider bar is present, then only the maximum power value can be determined. 1) Use the indicated Total System Input Power Requirement as the Max power requirement in the power calibration screen. 2) Leave the Idle power requirement blank in the power calibration screen. Capacity Advisor will automatically use 80% of the provided Max power requirement as the assumed idle value.
5.
130
Calculation assistance
a. b. c. 6.
7.
8.
Configure a single bay with a blade matching your desired configuration. Specify utilization to 100%. Select Update Calculation and record the Total System Input Power Requirement as maxSingle. Calculate idle value for two blades: a. Configure two bays with blades matching your desired configuration. b. Specify utilization to 1%. c. Select Update Calculation, and record the Total System Input Power Requirement as idleMultiple. Calculate max value for two blades: a. Configure two bays with blades matching your desired configuration. b. Specify utilization to 100%. c. Select Update Calculation, and record the Total System Input Power Requirement as maxMultiple. Calculate the idle/max power values to use: a. Idle power requirement will be: idleMultiple idleSingle. b. Max power requirement will be: maxMultiple maxSingle.
4.
5. 6.
7.
131
132
B Command reference
This reference section contains detailed descriptions of the Capacity Advisor commands. Commands Available on HP-UX and Microsoft Windows Operating Systems The command information included here is specific to HP-UX, though these commands are also available to run on Windows. TIP: For options and examples that are specific to using these commands on Microsoft Windows, see the Command Reference in Capacity Advisor Help. capagentlesscfg capagentlesscfg command controls advanced settings for agentless data collection, and lists the systems currently configured for agentless collection. Agentless data collection gathers data from Microsoft Windows and Linux systems without requiring the installation and configuration of an agent. Data from this collection method is picked up by capcollect for storage in the Insight Dynamics database for use in capacity planning. capcollect(1M) The capcollect(1M) command collects Capacity Advisor data from systems and stores data on the CMS. The data is used in capacity planning scenarios. capcustombenchmark(1M) The capcustombenchmark(1M) command configures Capacity Advisor benchmark CPU scaling to normalize collected data. capcustombenchmark(4) The capcustombenchmark(4) command provides information on formatting Capacity Advisor custom benchmark database files. capovpaextract(1M) The capovpaextract(1M) command exports OVPA system data from a specified managed node and imports the data into Capacity Advisor. capprofile(1M) The capprofile(1M) command imports, exports, displays, invalidates and removes Capacity Advisor data for workloads or systems. capprofile(4) The capprofile(4) command defines the format of Capacity Advisor data files for import and export.
Commands Available on Microsoft Windows Only cappmpextract(1M) The cappmpextract(1M) command exports HP PMP system data from the specified managed system and imports the data into Capacity Advisor.
133
capagentlesscfg (1M)
NAME
capagentlesscfg -- Set advanced options for Capacity Advisor agentless data collection, and view a list of systems configured for agentless data collection. Agentless Data Collection is available from these CMS types: 1) Microsoft Windows for managed servers running Windows and Linux , and 2) HP-UX for managed servers running Linux. For options and examples that are specific to using this command on Microsoft Windows, see the Command Reference in Capacity Advisor Help online.
SYNOPSIS
Default path: /opt/vse/bin/ capagentlesscfg -l capagentlesscfg -Lnnumber_of_collectors -Lmminimum_interval
DESCRIPTION
capagentlesscfg creates a list of systems licensed for Capacity Advisor that have been configured for agentless data collection, and sets the number of collecting threads and the minimum time interval to occur between data collections. Configuring the number of collector threads can be useful when a large number of systems have been configured for agentless data collection and you suspect that the agentless collectors are consuming a large amount of CPU on the CMS. Configuring the minimum collection interval can also reduce the amount of CPU used by the agentless collectors on the CMS, and can also be used to provide more accurate data. The user must be logged in as root on HP-UX to use this command.
Options
-h Display the capagentlesscfg command usage -l List the current configuration for agentless data collection. -Lmminimum_interval Optional. Define the minimum time (in seconds) that must pass before the next collection can start. Default value: 300 seconds (5 minutes). To restore the default value after an alternative value has been specified, use 0 (zero) for the value of minimum_interval. 14,400 [seconds] is the maximum value allowed; 30 [seconds] is the minimum interval recommended. The first letter indicates that the change applies specifically to the Linux (L) collector. -Lnnumber_of_collectors Optional. Define the number of collectors (threads) to be used to do the collection. Default value: Computed considering the number of hosts and the minimum interval between collections. To restore the default value after an alternative value has been specified, use 0 (zero) for the value of number_of_collectors. 250 [threads] is the maximum value allowed; 1 [thread] is the minimum value. The first letter indicates that the change applies specifically to the Linux (L) collector.
RETURN VALUES
Exit values are: 0 Successful execution. 1 An error was encountered.
EXAMPLES
For the configured Linux nodes, specify a 1-minute interval between data collections using two collector threads.
134 Command reference
List all nodes configured for agentless data collection by this CMS:
# capagentlesscfg -l
AUTHORS
capagentlesscfg was developed by Hewlett-Packard Company.
SEE ALSO
capcollect(1M)
135
capcollect (1M)
NAME
capcollect -- Collect Capacity Advisor data from systems to examine workload scenarios, do capacity planning, and store the data on the CMS. For options and examples that are specific to using this command on Microsoft Windows, see the Command Reference in Capacity Advisor Help online.
SYNOPSIS
Path on CMS: /opt/vse/bin capcollect [-c] [hostname1, hostname2, ...hostnameN] capcollect [-f] [-i] [hostname1, hostname2, ...hostnameN] capcollect [-z] [hostname1, hostname2, ...hostnameN]
DESCRIPTION
The capcollect command enables the user to collect historical utilization data from systems licensed for Capacity Advisor for analysis on the Central Management Server (CMS). Utilization data is gathered from systems specified using Web-Based Enterprise Management (WBEM). WBEM credentials for the systems are used as set up in HP Systems Insight Manager software. The data gathered is stored on the CMS in files. During a run, capcollect attempts to gather all WBEM utilization data stored on the managed system that is not already present on the CMS. Configuring capcollect to be run daily allows the last 24 hours of data to be gathered on each run. If a system is inaccessible when capcollect runs, an attempt is made to gather the missing data during the next run. Previously collected data on the CMS older than four years is removed. HP recommends that collection be configured to occur daily. capcollect also supports calibration of power data based on information obtained from HP Insight Control power management (IPM). The default behavior of capcollect is to collect utilization data and perform IPM calibration where available. NOTE: An automatic discovery task and automatic capcollect task start the 90-day trial license for Insight Dynamics for each discovered managed node.
Options
-c Checks the suitability of each system for data collection by verifying its attributes in HP SIM and the ability to retrieve utilization data from the data source or sources used for collection. Error or warning messages are issued for problems that would prevent successful collection. No utilization data is gathered and no previously collected data is removed. Force IPM to refresh data from the iLO interface. This can take up to one minute for each managed node. Perform IPM calibration only; do not collect utilization data. Collect utilization data only; do not perform IPM calibration.
-f -i -z
Operands
hostname Specifies the names of the systems from which to collect utilization data. By default, data is collected from all systems licensed for Capacity Advisor. Note that Capacity Advisor does not consider a complex to be a system. You cannot use the following special characters as part of a hostname: grave accent (`), semi-colon (;), ampersand (&), vertical bar (|), left parenthesis ( ( ), hash mark (#), greater-than sign (>), less-than sign (<), and the new-line character (ASCII 012).
136
Command reference
The disk space needed for data storage on the CMS depends on the method employed to collect data. Consult the latest version of the Capacity Advisor user guide for recommended disk space amounts per workload.
RETURN VALUES
Exit values are: 0 Successful completion. 3 An error was encountered when creating a new workload in the database or reading an existing workload from the database. 8 An invalid option was specified on the command line. 11 An error occurred accessing HP SIM, or an unhandled exception occurred during collection. 12 A system specified on the command line is not licensed for Capacity Advisor, or an error occurred when determining whether or not a system is licensed. 13 No WBEM credentials were available from HP SIM for a node. 14 An exception or other error prevents collection from one or more nodes. 15 An error was encountered accessing the WBEM server on a managed system. 16 Name specified on command line cannot be resolved by HP SIM as a node name, host name or IP address. 17 The operating system type for a system specified on the command line has not been discovered by HP SIM or it is not a type supported for collection. This can be caused, for example, by a "bare metal" blade added through HP SIM horizontal discovery. 18 A system specified on the command line has a system type of Unknown or Unmanaged in HP SIM, it is disabled in HP SIM, or it is a vpar monitor.
EXAMPLES
Collect Capacity Advisor data from the systems prod05 and sap_1.
capcollect prod05 sap_1
WARNINGS
Write access to profile data using the capprofile(1M) command may be delayed while the capcollect command is running. If you receive the following message: "Unable to contact the WBEM server. See the capcollect(1M) manual page", a network or system problem is preventing contact with the WBEM server. To determine the cause of the problem, use the RETRY AND VERIFY PROCESS described next.
DEPENDENCIES
You must run the capcollect command on the HP SIM CMS. For agentless data collection to occur, the system must have been configured for agentless collection for at least 10 minutes. For collection from VMWare, and Hyper-V virtual machines, the host must be registered with the VM Manager.
137
EXTERNAL INFLUENCES
By default, capcollect waits as long as 60 seconds for a response from a WBEM request. It waits an additional 4 minutes beyond this for a response from a WMI mapper WBEM request. These values can be changed by setting WBEMTimeOut, a HP SIM global setting, to a different value. For example, running the command
mxglobalsettings -s WBEMTimeOut=120
changes the time-out for WBEM requests to 2 minutes, or 4 + 2 minutes for a Microsoft Windows system accessed via WMI mapper. These time-out values only affect capcollect's use of WBEM. They do not affect agentless data collection or data collection on systems managed by HP Insight Control virtual machine management.
FILES
/var/opt/vse/profile/bin Root directory for storing collected data.
AUTHORS
capcollect(1M) was developed by Hewlett-Packard Company.
SEE ALSO
capprofile(1M), capprofile(4)
138
Command reference
capcustombenchmark(1M)
NAME
capcustombenchmark -- Configure Capacity Advisor benchmark CPU scaling to normalize collected data.
SYNOPSIS
Path on CMS: /opt/vse/bin capcustombenchmark {-c | -customOnly} {{ -f | -inputFile } benchmark-file} capcustombenchmark {-b | -bothCustomAndBuiltIn} {{ -f | -inputFile } benchmark-file} capcustombenchmark {-B | -builtInOnly}
DESCRIPTION
The capcustombenchmark command allows you to configure the Capacity Advisor benchmark database for scaling CPU utilization data when modeling the move of workloads from one system to another. With capcustombenchmark, you can set the benchmark configuration to use only custom benchmark data that you supply, use custom benchmark data first and fall back to benchmark data provided by Capacity Advisor, or use only Capacity Advisor benchmark data. By default, Capacity Advisor is configured to use only its own benchmark data. This command is for use on servers running a CMS on HP-UX or Microsoft Windows.
Options
-c | -customOnly Specifies that Capacity Advisor should use only benchmark data that you supply. You must include {-f | -inputFile} with this option. Specifies that Capacity Advisor should preferentially use benchmark data that you supply, then use Capacity Advisor benchmark data when custom data does not contain data for the system(s) in question. You must include {-f | -inputFile} with this option. Specifies that Capacity Advisor should use only its own benchmark data. Specifies that Capacity Advisor should use benchmark-file as input for normalization calculations.
-b | -bothCustomAndBuiltIn
-B | -builtInOnly -f | -inputFile
LOGGING
Performance index results are calculated in the web application and by the capcollect command. To enable logging of performance index results, add the following line to the /etc/opt/vse/vseprefs.props file: benchmark.db.logresults=true The results are logged to file: /var/opt/vse/logs/perfIndex.resultLog In this file, you can see one line for each system for which a performance index has been calculated. The format of each line is: hostname=attribute:value,attribute:value,.... For example,
hostname1=result:1.0 +- 1.0 : CLOCK_SPEED (1000.0),processor:,model:ia64 hp superdome server SD32A,Core count:4,Database:BASELINE hostname2=result:1.0 +- 1.0 : CLOCK_SPEED (1000.0),processor:Intel(R) Itanium(R) 2 ,model:,Core count:16,Database:BASELINE
139
value is the performance index result. +/- std_dev is the standard deviation for the type. type is the method used to compute the index and can be CLOCK_SPEED, AVERAGE, EXACT_MATCH, or NORMAL. CLOCK_SPEED is the CPU clock speed for the container. From the example: value is 1.0 +/- std_dev is +/- 1.0 type is CLOCK_SPEED
processor:
The processor information gathered from HP Systems Insight Manager software. From the example: processor: ia64 The model information gathered from HP Systems Insight Manager software. From the example: model: hp superdome server SD32A The number of CPU cores for the system. From the example: Core count:4 The performance database from which the result was derived; either BASELINE or CUSTOM. BASELINE is supplied by Capacity Advisor. From the example: Database:BASELINE
model:
Core count:
Database:
FILES ON CMS
/etc/opt/vse/vseprefs.props Used to enable or disable performance index logging. /var/opt/vse/logs/perfIndex.resultLog Used to log information about performance index determinations.
AUTHORS
capcustombenchmark(1M) was developed by Hewlett-Packard Company.
SEE ALSO
capcustombenchmark(4), capcollect(1M)
140
Command reference
capcustombenchmark (4)
NAME
capcustombenchmark -- Format of Capacity Advisor custom benchmark database files.
DESCRIPTION
Defines the file format to use when creating custom benchmark data to be used by Capacity Advisor for scaling of CPU utilization values when moving workloads and/or virtual machines. Custom benchmark data can be defined as single line entries in a text file with each line containing the following data as a comma-separated list defining benchmark data for a single system type: system description: String Description of the system (model) as it appears after discovery in HP Systems Insight Manager software. number of configured cores: The number of CPU cores in the system. Integer Description of the processor (processor family) as it appears processor description: after discovery in HP SIM. String The speed of the processor in MHz for which the custom processor speed: Integer benchmark data was determined. benchmark performance index The custom value to use as the benchmark performance index for the system described. value: Float
EXAMPLE
A line of benchmark data would look like the following in a custom file:
ProLiant BL460c G1, 2, Intel Xeon, 2700, 2807.5809
where ProLiant BL460c G1 is the system description 2 is the number of configured cores Intel Xeon is the processor description 2700 is the processor speed 2807.5809 is the benchmark performance index value
CONVERSIONS
To convert from some publicly available benchmark values to a Capacity Advisor performance index value, the following conversion formulas have been provided. Spec2006: Performance index = specInt2006rate * 209 / coreCount
AUTHORS
capcustombenchmark(4) was developed by Hewlett-Packard Company.
SEE ALSO
capcustombenchmark(1M), capcollect(1M)
141
capovpaextract (1M)
NAME
capovpaextract -- Export Performance Agent (OVPA) system data from the specified managed node and import the data into Capacity Advisor.
SYNOPSIS
Path on CMS: /opt/vse/bin/ capovpaextract [ -b begin-time -e end-time capovpaextract -h ] [ -p ] managed_node
DESCRIPTION
capovpaextract exports OVPA (MeasureWare data) system utilization information from the specified managed node and imports the information into Capacity Advisor. The data returned from managed_node overwrites any existing data for the managed node. The user must have root privileges to run this command. capovpaextract allows importing data from non-Insight Dynamics (non-ID) systems, such as older HP-UX systems or Solaris systems so long as those systems are running a supported OVPA version. Supported OVPA versions are listed in the Dependencies section of this command reference page.
OPTIONS
-b start-time -e end-time Specifies the beginning (start-time) and ending (end-time) dates of data in MM/DD/YY (month/day/year) format. If no start or end time is given, 30 days of data are imported. -p Indicates that the workload whose data is being imported is a non-Insight Dynamics workload. This provides an alternative to importing OVPA data from non-licensed systems to use in Capacity Advisor scenarios. If a non-ID workload already exists in the Capacity Advisor data, an error message appears. Non-ID workloads are not associated with any licensed nodes and are not visible on the Insight Dynamics Workload tab. To import non-Insight Dynamics workload data, use the following GUI action sequence starting from the Capacity Advisor tab: Modify -> Edit Planning Scenario -> What-If Action -> Create Workloads. Activate the radio button Use profile data from workload and choose a non-ID workload from the Import Profile Values workload list. You must know ahead of time the name of the non-ID workload. -h Displays command usage.
Dependencies
This command uses the remote execution facilities provided by HP Systems Insight Manager software, and therefore requires the configuration of SSH authentication within HP SIM for the specified managed_node. Capacity Advisor supports the following versions of OVPA :
142
Command reference
EXAMPLES
Extract OVPA data and import the data to an existing system, test.company.com.
# capovpaextract test.company.com
Extract OVPA data for a specific time interval and import it as a non-Insight Dynamics workload to test.company.com.
# capovpaextract -b 01/01/06 -e 06/31/06 -p test.company.com
AUTHORS
capovpaextract(1M) was developed by Hewlett-Packard Company.
SEE ALSO
capcollect (1M)
143
capprofile (1M)
NAME
capprofile -- Import, export, display, invalidate and remove Capacity Advisor data collected for workloads or systems.
SYNOPSIS
Path on CMS: /opt/vse/bin capprofile -c [ -b begin-time ] [ -e end-time ] [ -y delimiter ] profileID capprofile -i [ -p|-S ] [ -b begin-time ] [ -e end-time ] [ -o ] [ -y delimiter ] profileID capprofile -l [n|t|v] [-p] [ -b begin-time ] [ -e end-time ] [profileID ...] capprofile -m [i|v] [ -b begin-time ] [ -e end-time ] profileID ... capprofile -r profileID capprofile -x [ -p ] [ -b begin-time ] [ -e end-time ] [ -t ] [ -y delimiter ] profileID ...
DESCRIPTION
The capprofile command manages utilization data collected on the Systems Insight Manager Central Management Server (CMS) for Capacity Advisor. With capprofile, you can export profile data, either as a file formatted for further processing, or as a table with headings; you can also import data. With the capprofile command, you can display the names of systems or workloads that have sufficient utilization data for Capacity Advisor to analyze and, for a particular system or workload, you can display those time intervals that have valid data. The capprofile command also lets you mark utilization data for specified time intervals as invalid. Refer to the capprofile command reference pages for information on capprofile file formats. The capprofile command compensates for certain imperfections in imported data. If profile data is missing for a sample time, the data is assumed to be unavailable. No data for these samples is shown in the profile viewer and the samples do not affect utilization aggregation. A warning is issued for each group of consecutive missing samples when importing. Duplicate entries may appear for a sample time. Only the values from the last sample in the file for that time are used. A warning is issued for each duplicated sample. You can also import data from non-Insight Dynamics (non-ID) workloads, such as data from nodes without Capacity Advisor licenses. During a transition to Daylight Savings Time, sample times may decrease by an hour and then increment again as usual. After such a transition, samples are ignored until the time reaches the next expected sample time. Sample times may differ from times aligned to the hour (the usual case) as long as they are 5 minutes apart. Each sample time is modified to the nearest 5-minute multiple from the hour. For example, if the first sample time is 18 minutes after the hour, the time for the data sample is imported with a time of 20 minutes after the hour. The next sample time must be 23 minutes after the hour, and it is imported with a time of 25 minutes after the hour, and so on. A warning is issued when a file with non-aligned sample times is imported. The following cases cause imported data to be ignored or converted and a warning message issued: A sample line with missing or extra metrics, as compared to the labels in the file header; the sample line is ignored. A sample with negative values for one or more metrics. Negative values are converted to Not A Number floating point values. A sample with invalidly formatted floating point numbers for the value of a metric; these sample lines are ignored.
144
Command reference
Options
-b begin-time -c Specifies the time to begin using profile data. If omitted, the first available profile time is used. Checks an import file without importing its data. This checks for duplicate sample times, sample times not aligned to hours, improperly formatted samples, samples with negative values, and missing samples. A message is issued for each inconsistency noted. Specifies the time to stop using profile data. If omitted, the last available profile time is used. Begin-time and end-time are defined as YYYYMM[DD[hh[mm]]] as follows:
Units YYYY MM DD hh mm Meaning Year (for example, 2005) Month of the year (01-12) Day of the month (01-31) Hour of the day (00-23) Minute of the hour (00-59)
-e end-time
If a day, hour or minute field is omitted, its value defaults to zero. -h -i Displays command usage. Imports utilization data for a workload or system. The capprofile command reference pages describe the format of the text representation of the imported data. The imported text is read from standard-in (stdin). If any data already exists for the workload or system, the -o option must be specified as well. Also see the -o and -S options. Lists profile summaries. By default, this is a list of the systems and workloads that have any profile data. Use -ln to list the profileIDs (the name or unique identification of the profile). Use -lt (the default) to list profileIDs and available history. Use -lv to list profileIDs, available history, and percent valid. Marks utilization data as valid (v) or invalid (i) for a specified system or a group of systems or workloads. When a data range is specified, only data within that range will be affected. If no date range is specified, all data is marked. Specify the utilization data to be marked by date range. Marking data by a date range marks every sample in the specified range. Marking utilization data invalid does not remove or alter it; Capacity Advisor just ignores it. Marking utilization data invalid excludes all utilization values (CPU, memory, disk or network I/O, and power) from consideration. You cannot, for example, mark invalid only the CPU utilization portion of a sample. Use -m i to mark data for a specified interval and profileID as invalid; use -m v to mark data as valid. When used with the -i option, overwrites existing data where there is an overlap in the date range of the import data and the date range of the existing data. If there is no overlap, no overwrite occurs, though the user will see a message informing of the possibility of an overwrite occurring. Indicates that the workload whose data is being imported is a non-Insight Dynamics workload. This provides an alternative to importing OVPA data from non-licensed systems to use in Capacity Advisor scenarios. If a non-ID
145
-l
-m
-o
-p
workload already exists in the Capacity Advisor data, an error message appears. Non-ID workloads are not associated with any licensed nodes and are not visible on the Insight Dynamics Workload tab. To import non-Insight Dynamics workload data, use the following GUI action sequence starting from the Capacity Advisor tab: Modify -> Edit Planning Scenario. The Edit Scenario window opens. Then select What-If Action -> Create Workloads from the menu. Activate the radio button Copy Profile and choose a non-ID workload from the Import Profile Values workload list. You must know ahead of time the name of the non-ID workload. -r profile_ID Removes all profile data for a specified workload or system from the CMS. This can be used, for example, to release disk space when a workload is retired and its performance data is no longer needed. The profileID names a specific workload. All system name profiles are fully qualified. Saves the import-compartment attributes. Used in conjunction with -i to import data. Saves the container attributes specified in the import header as attributes for the target profile. Exports data as a table. Exports utilization data for the specified profile as a sequence of lines. Each line contains utilization values for a five-minute period. The format is specified in the capprofile(4) manpage. The exported text is sent to standard-out (stdout). Specifies the delimiter character used to separate values in imported and exported data. The default delimiter is the comma. Valid delimiters, with or without double quotes, are: comma (,), slash (/), semicolon (;), colon (:) and vertical bar (|); some of these delimiters may need to be quoted or escaped.
-S
-t -x
-y delimiter
RETURN VALUES
Exit values are: 0 Successful completion. 3 An error was encountered accessing the database.. 8 An invalid command-line option was specified. 9 An invalid argument was specified to an option. 10 An invalid combination of options was specified. 11 An error occurred accessing HP SIM, or an unhandled exception occurred during collection. 32 The beginning of the sample date range occurs after the end date.
EXAMPLES
Export profile data from December 14, 2005 at midnight to midnight December 31, 2005 for the workload with profileID billing3 to the file billing3.txt in the /tmp directory.
capprofile -x -b 20051215 -e 200512312359 billing3 > /tmp/billing3.txt
Import profile data from the file /tmp/billing3.txt for the profile with profileID billing3.
capprofile -i -o billing3 < /tmp/billing3.txt
Mark a range of utilization data as invalid for the workload with profileID prod05_wkld. All samples between December 15 2005 at 11 a.m. and December 16 2005 at 12 p.m. (inclusive) are marked invalid.
capprofile -m i -b 2005121511 -e 2005121612 prod05_wkld
List profileID, available history, and percent valid. (Note that a Percent Valid value of less than 100% can occur when there is invalid or uncollected data. For example, there may be one or two uncollected data samples on a node right after it reboots.)
capprofile -lv
146 Command reference
Available History 01/17/06 05:30 pm 12/18/05 05:00 pm 12/10/05 05:00 pm 01/15/06 03:05 pm 01/17/06 05:30 pm
am pm pm pm am
Import profile data from the file /tmp/nonIDWorkloadFile.txt for the profile with profileID nonIDWorkload.
capprofile -i -p nonIDWorkload < /tmp/nonIDWorkloadFile.txt
WARNINGS
While the capcollect(1M) command is running, write access to profile data using the capprofile(1M) command may be delayed.
FILES ON CMS
/var/opt/vse/profile/bin Root directory for storing collected data for both capcollect and capprofile. Note that the format of these data files may change without notice from release to release. The file system where these files are stored needs to be sized to hold all the daily utilization profile data, which for each system, is about 32K per day per workload, taking into account minimum block size of 4K. For example, with a CMS monitoring 100 systems, each with an average of 3 workloads, with a need to keep historical data for one year, the file system where the profile resides must have space for (100 systems + 300 workloads) * 365 days * 32K = 4.45 Gigabytes. With a file system that allocates storage in blocks greater than 24K, then use the larger block size.
AUTHORS
capprofile(1M) was developed by Hewlett-Packard Company.
SEE ALSO
capprofile(4), capcollect(1M), capovpaextract(1M), vseinitconfig(1M)
147
capprofile (4)
NAME
capprofile -- Format of Capacity Advisor import and export files.
DESCRIPTION
Defines the file format used when importing and exporting data for Capacity Advisor. The data for the specified profile is imported and exported as a series of lines containing the following: profile headers, including date and metric labels utilization values The collection period is 5 minutes. The collection occurs at the end of the 5-minute period. Each data line is called a sample. The first nine lines of the import file are format headers that define the profile characteristics. This information is used to normalize the utilization data when it is saved in the Capacity Advisor database. The last line gives the date and time format and the list of metrics to be included. The format header is: #Profile: name #Host: hostname #CPU: CPU_count@CPU_speedGHz #Memory: MEM_sizeMB #OS: platform #Model: model #ProcessorString: processor_string #ProcessorFamily: processor_family #Version: version_number [YYYYMMDDhhmm,] UTIS, metric [, metric, ...] The English characters shown above always appear in the field names and units specified in the header, even when the locale causes messages to display in a different language. The fields of the profile header format are the following: name: Name of the profile. hostname: Fully-qualified name of the system. For example, node05.company.com. CPU_count: Number of CPUs for which data is gathered in the file. For example, 1 means data was gathered for 1 CPU. Only integer values are valid. Note that CPU_count includes iCAP processors that are not enabled. This reflects the number of cores when dual-core processors are in use. The number of hardware threads when hyperthreaded processors are in use are NOT counted in CPU_count. CPU_speed: Speed in GHz (gigahertz); all CPUs are assumed to have the same speed. MEM_size: Memory size in MB (megabytes). platform: Name of operating system, HP-UX or Linux. model: The string representing the model of hostname as output by the model command. processor_string: A complete identification of the processor that includes the maker, the name of the processor, the processor speed, and specific details about the processor model. processor_family: The maker and name of the processor. version_number: Capacity Advisor version number. The last header line contains the comma-separated list of labels for the date and gathered metrics.
148
Command reference
metric: One or more of the following metrics: CPU_UTIL, MEM_UTIL, NET_UTIL, DISK_UTIL, CPU_ALLOC, MEM_ALLOC, PHYS_CPUS, PHYS_MEM, CPU_QUEUE, PAGES_PER_SEC, IOS_PER_SEC, PKT_PER_SEC, DISK_USED. The command only outputs a result when there is data for the given metric during the provided period of time. If the metric data covers some of the time range, but does not encompass all of the time range, the column is padded with NaN values. You cannot import a file containing only metrics you must include the UTIS with any metrics that you select. The fields that appear on this line are defined as: YYYYMMDDhhmm: Timestamp in local time, given in units of YYYY (year), MM (month, as 01 to 12), DD (day, as 01 to 31), hh (hours, as 00 to 23), and mm (minutes, as 00 to 59). This format is also used to specify the begin and end times for the capprofile(1m) command. This field is optional when importing data. UTIS: Universal Time (GMT) in seconds (standard UNIX time in seconds since 1 January 1970) (Required) CPU_UTIL: CPU utilization expressed as the number of CPUs used (5 minute average). MEM_UTIL: Memory utilization or amount of memory used in gigabytes (at end of interval reading). NET_UTIL: Network bandwidth utilization, in Mb/s (10^6 bits, megabits per second) (5 minute average). DISK_UTIL: Disk bandwidth utilization in MB/s (10^6 bytes, megabytes per second) (5 minute average). CPU_ALLOC: Number of CPUs allocated (active CPUs only; cores or hardware threads on multicore). Hyperthreaded processors are not counted in CPU_ALLOC. MEM_ALLOC: Memory allocation in GB (gigabytes). PHYS_CPUS: Number of physical CPUs (at end of interval reading). PHYS_MEM: Physical memory available, in GB (gigabytes). CPU_QUEUE: The average depth of the CPU run queue. PAGES_PER_SEC: The peak pages input and output per second. IOS_PER_SEC: The number of disk I/O operations executed per second. PKT_PER_SEC: The number of network packets either sent or received per second. DISK_USED: The disk space used on local disks, expressed in 1024-byte blocks.. The last line of the import file header must include at least one metric column label and may have any combination of the metric column labels, in any order. It must have the UTIS timestamp column label in position 1 or, if the YYYYMMDDhhmm column label is present, in position 2. A metric label can appear only once in the header. UTIS timestamps must increment in a consistent order for each row; YYYYMMDDhhmm values are provided for readability. To import a subset of metrics, specify only those metrics in the header. For example, to import only the CPU_UTIL metric, the last header line should contain YYYYMMDDhhmm, UTIS, CPU_UTIL or UTIS, CPU_UTIL. Each subsequent line after the header contains utilization values for a specified moment in time. Each data line, called a sample, has a timestamp followed by the values as designated in the header. Utilization values for a sample are separated by a specified delimiter character or by a comma (default). The UTIL seconds must be in 5-minute intervals (increments of 300 seconds). NOTE: In some of the following examples, UTIS values are truncated to omit following zeroes.
EXAMPLES
The following example shows utilization data in compressed format created using the following command: # capprofile -x -b20090824 -e20090825 node05.company.com
149
#Profile:node05 #Host:node05.company.com #CPU:4 @ 1.866GHz #Memory:4093MB #OS:WINNT #Model:ProLiant DL380 G5 #ProcessorString:Intel(R) Xeon(TM) Processor 1.866 GHz (x86 Family 6 Model 15 Stepping 7) #ProcessorFamily:Intel Xeon #Version:A.03.00.00 YYYYMMDDhhmm,UTIS,CPU_UTIL,MEM_UTIL,NET_UTIL,DISK_UTIL,CPU_ALLOC,MEM_ALLOC,PHYS_CPUS,PHYS_MEM 200908241200,1251136800,0.34790,2.12109,0.04915,0.66662,4.00000,3.99707,4.00000,3.99707 200908241205,1251137100,1.42610,1.93066,0.02458,1.41005,4.00000,3.99707,4.00000,3.99707 200908241210,1251137400,0.20913,2.19043,0.06554,0.09114,4.00000,3.99707,4.00000,3.99707 200908241215,1251137700,0.92060,2.26855,1.02400,0.17613,4.00000,3.99707,4.00000,3.99707 200908241220,1251138000,0.98760,2.48145,1.93331,0.26010,4.00000,3.99707,4.00000,3.99707 200908241225,1251138300,0.61837,2.56836,1.49914,0.33485,4.00000,3.99707,4.00000,3.99707
The following example shows utilization data in a tabular format, aligned in columns. # capprofile -t node05.company.com
#Host: node05 HP-UX B.11.23 #CPU: 1 @ 1.0 GHz #Version:A.02.50.00 YYYYMMDDhhmm, UTIS, CPU_ALLOC, CPU_UTIL, DISK_UTIL, MEM_ALLOC, MEM_UTIL, NET_UTIL, PHYS_CPUS, PHYS_MEM 200509120020, 11264196, 0.01, 2.14, 0.003, 0.02, 4.0, 3.98, 4.0, 200509120025, 11264199, 0.03, 2.13, 0.005, 0.01, 4.0, 3.98, 4.0, 200509120030, 11264202, 0.02, 2.15, 0.003, 0.01, 4.0, 3.98, 4.0, 200509120035, 11264205, 0.02, 2.15, 0.004, 0.01, 4.0, 3.98, 4.0, 200509120040, 11264208, 0.01, 2.13, 0.004, 0.01, 4.0, 3.98, 4.0, 200509120045, 11264211, 0.02, 2.14, 0.003, 0.01, 4.0, 3.98, 4.0, 200509120050, 11264214, 0.02, 2.14, 0.003, 0.02, 4.0, 3.98, 4.0,
The following example shows data gathered only for CPU allocation and utilization.
YYYYMMDDhhmm, 200605250020, 200605250025, 200605250030, 200605250035, 200605250040, 200605250045, 200605250050, UTIS, CPU_ALLOC, CPU_UTIL 11264196, 0.01854, 2.14 11264199, 0.03128, 2.13 11264202, 0.02075, 2.15 11264205, 0.02101, 2.15 11264208, 0.01960, 2.13 11264211, 0.02391, 2.14 11264214, 0.02387, 2.14
AUTHORS
capprofile(4) was developed by Hewlett-Packard Company.
SEE ALSO
capprofile(1M), capcollect(1M)
150
Command reference
cappmpextract
NAME
cappmpextract -- Export HP Performance Management Pack (PMP) system data from the specified managed node and import the data into Capacity Advisor. List PMP-managed nodes from where data can be extracted from or imported into Capacity Advisor.
SYNOPSIS
Path: install_dir\bin C:\Program Files\HP\Virtual Server Environment\ cappmpextract -l capovpaextract -h cappmpextract -x managed_node [ -b begin_time ] [ -e end_time ] cappmpextract -i managed_node [ -o ][ -p ] [ -b begin_time ] [ -e end_time ] -S
DESCRIPTION
The main functionality of cappmpextract is to export PMP system utilization data for the specified managed node and import into Capacity Advisor. The user must have administrator privileges to run this command. Because PMP is only available on a Windows CMS, this command will only work on a Windows CMS. The cappmpextract command also provides ways of (1) listing PMP managed nodes which contains system utilization data; and (2) exporting utilization from data PMP in a capprofile (4) format. cappmpextract also allows the user to import data from non-Insight Dynamics (non-ID) managed nodes (non-licensed nodes), so long as those nodes are being monitored by a supported PMP version. Supported PMP versions are listed in the Dependencies section of this command reference page.
OPTIONS
-b start-time -e end-time Specifies the beginning (start-time) and ending (end-time) dates of data in YYYYMMDD format, where YYYY is the year MM is the month DD is the day If no beginning and ending dates are provided, cappmpextract extracts all available data. The user can not provide only beginning or ending dates. Displays command usage. Imports utilization data for a system into Capacity Advisor database. Also see the o option. Lists all PMP managed nodes, including available data interval and percent of valid data for each system. Any node listed by the -l option is a valid node to have its PMP data imported into Capacity Advisor with the -i option. Used with the -i option. This allows cappmpextract to overwrite existing data. Indicates that the workload whose data is being imported is a non-Insight Dynamics workload. This provides an alternative to importing PMP data from non-ID licensed systems to use in Capacity Advisor scenarios. Non-ID
-h -i -l
-o -p
151
workloads are not associated with any licensed nodes and are not visible on the Insight Dynamics Workload tab. To import non-Insight Dynamics workload data, use the following GUI action sequence starting from the Capacity Advisor tab: Modify -> Edit Planning Scenario. This will open the scenario that you selected. Then click What-If Action -> Create Workloads from the Edit Scenario menu. Activate the radio button Use profile data from workload and choose a non-ID workload from the Import Profile Values workload list. You must know ahead of time the name of the non-ID workload. -x Exports utilization data for the specified system from PMP to standard-out (stdout). The utilization data is exported in the same CSV format used by capprofile. The format is specified in the capprofile (4) command reference page Saves the import-compartment attributes. Used in conjunction with -i to import data. Saves the container attributes specified in the import header as attributes for the target profile.
-S
Dependencies
The command requires an installed and configured PMP. This command does not support PMP configured with remote database. Capacity Advisor supports the following version(s) of PMP : 4.7
EXAMPLES
Extract PMP data and import it into Capacity Advisor database for system test.company.com.
# cappmpextract -i test.company.com
Extract PMP data for a specific time interval and redirecting output to out.txt file.
# cappmpextract x -b 20060101 -e 20060631 test.company.com > out.txt
Extract PMP data for a specific time interval and import it as a non-ID workload to test.company.com.
# cappmpextract i -b 20060101 -e 20060631 -p test.company.com
Lists all available PMP managed nodes from where data can be extracted from or imported into Capacity Advisor:
# cappmpextract Name SystemA SystemB l Available History 12/17/07 05:30 pm - 12/18/07 05:05 pm 12/17/07 05:35 pm - 12/18/07 05:05 pm
AUTHORS
cappmpextract was developed by Hewlett-Packard Company.
SEE ALSO
capcollect(1M), capprofile (1M), capprofile (4)
152
Command reference
Linux
/proc/stat
Percent busy since the start of the interval CPU PDH counter Imported as is HP Virtual Machine Management Pack (VMM)
Total used CPU ticks during the interval CPU database CPU divided by total available CPU ticks during tick counters the interval.
When monitoring user-defined workloads, CPU and memory utilization for short-lived, "user-owned" processes may be missed. Short-lived processes are those lasting less than 5 minutes that span less than two sample periods. Any "missed" utilization is attributed to system processes.
153
Table C-3 Data collection for disk I/O bandwidth utilization by platform
Platform HP-UX Linux Microsoft Windows Proliant VM Host and VMs OpenVMS Calculation Total bytes transferred during the interval Total bytes transferred during the interval Collected from pstat() /proc/diskstats
Total bytes transferred out during the interval PDH disk counters Imported as is HP Virtual Machine Management Pack (VMM) sys$getdvi system service DVI$_OPCNT)
GBs GHz
Gigabytes. Unit used for memory: (10^9 bytes) Gigahertz. In Capacity Advisor, CPU capacity is defined in terms of clock speed expressed in megahertz (10^6 hertz) or gigahertz (10^9 hertz). Clock speed refers to the rate at which a computer performs its most basic operations such as adding two numbers. The difference between the average resource utilization on a system and the maximum available capacity. See Headroom (page 25)for an explanation of headroom rating (stars), and information on interpreting the star ratings shown in automated solutions. Capability of some Intel processors to create an additional virtual core that provides additional processing efficiencies. Note that Capacity Advisor does not count Hyper-Thread virtual cores separately. In Capacity Advisor, the hypervisor includes not only the virtualization platform, but also all functions performed by the host OS, as well as all virtual machine monitoring processes (everything on the VM host that is not a VM guest).
headroom
Hyper-Threading
hypervisor
hypervisor memory Capacity Advisor estimates hypervisor memory overhead by adding together all memory overhead used in support of running guests. This overhead can be estimated by adding together the memory use of the following: the host operating system that the hypervisor is running on (HP-UX, Linux, Windows) the hypervisor process that manages and enables the execution of guests An overhead constant per guest that can either be a standard value for each guest on the host, or a function of the amount of RAM allocated to a guest depending on the virtualization platform. Except in the case of HP Virtual Machine, Capacity Advisor assumes a worst case scenario where all guests are allocated 1GB of memory, as this will maximize the hypervisor memory overhead. Mb/s MB/s Megabits (10^6 bits) per second. Unit used for networking throughput. Megabytes per second (10^6 bytes per second). Unit used for storage media throughput.
154
Microsoft Windows Memory used by the users + memory used by the system + cache memory Proliant VM Host and VMs OpenVMS Imported as is HP Virtual Machine Management Pack (VMM)
Total memory used by user and system sys$getrmi system service processes. (RMI$_USERPAGES) and Sys$getsyi (syi$_PhysicalPages)
The ability of an application and operating system to split processing between processors or cores, thereby enabling parallel computing. Measured in Mb/s (10^6 bits, megabits per second). Each sample represents an average reading over the past 5 minutes. These measurements are obtained and calculated in the following manner:
Table C-5 Data collection for network I/O bandwidth utilization by platform
Platform HP-UX Linux Microsoft Windows Proliant VM Host and VMs OpenVMS Calculation Collected from
Total bytes transferred during the interval MIB system Total bytes transferred during the interval proc/net/dev Total bytes transferred out during the interval Imported as is PDH counters HP Virtual Machine Management Pack (VMM)
Total bytes transferred during the interval. sys$qio system service (GETSTATS)
Counters are sampled at the start and end of each interval. OTHER workload The system-name.OTHER workload is used to account for all processes on a system that do not match any user-defined workloads. For more information, see Workloadsin Virtualization Manager Help. On some Capacity Advisor displays, data is not available for this .OTHER workload. Component that plugs into a processor socket. A processor can contain more than one core. The packaging of one or more processors in a unit that connects to a single socket on the system bus. The system board socket to which a processor is attached. A compensating factor that Capacity Advisor uses to adjust needed resources when analyzing a move from one platform to another.
155
156
157
Workload Detail
158
Scenario Inventory
159
160
Accumulated hourly peak CPU utilization for all servers Peak summary report and for individual server Number of servers at peak use by hour for all servers and Peak summary report for individual server Number of servers by CPU use for all servers and for individual server Peak summary report
Operating system, processor type, cores/socket, and total Population report cores/server in server population Peak CPU use by week for all servers and for individual Peak summary report server Percent of allocation for CPU, memory, disk I/O, and network I/O for individual server and for individual workload Utilization report Utilization options
Resource utilization trend for CPU, memory, disk I/O, Utilization report Trend options and network I/O for individual server and for individual workload Utilization of CPU, memory, disk I/O, network I/O for individual server and individual workload Utilization report Utilization options
161
162
163
164
These settings cause the following to occur: MaxConnectionsPer1_0Server and MaxConnectionsPerServer increase the maximum number of connections that can be used to handle the traffic from the browser. (Normally, the value is 2 connections per server; this example shows 5 connections per server.) ReceiveTimeout extends the timeout boundary of the browser. (Use hexadecimal values to adjust the time to the desired number of hours, with 24 hours being the maximum time that will work successfully.) Other alternatives include: reducing the number of systems included in a single report to <100. running large reports in Mozilla Firefox browser, where this behavior does not seem to occur. capprofile hangs when exporting non-contiguous data into Capacity Advisor for profiling capprofile may hang when exporting large amounts of non-contiguous data (data set containing significant periods when data was not collected interspersed with periods of data collection). Suggested action: Export contiguous chunks of data. Licensing - general To collect data from a managed node, that node must be licensed to fully use Capacity Advisor or must have a limited license (the HP Insight Capacity Advisor Consolidation software) for data collection only. For information on licensing, see the Licenses management chapter in HP Insight Dynamics 6.2 Getting Started Guide and Data collection and the HP Insight Capacity Advisor Consolidation software (page 63). License check fails The licensing check conducted by Capacity Advisor will fail in the case where a duration license has been assigned or locked prior to HP SIM discovering the serial number of the system. Suggested action: Confirm that a system has been fully discovered in HP SIM before assigning a duration license to it. For systems for which HP SIM does not attempt to discover Unique Identifiers (UUIDs), this problem does not occur. (For a definition of a duration license, see About Licenses in the HP Systems Insight Manager 6.2 online help.)
165
User authorization Some operations in Capacity Advisor require Administrator or root permissions. As needed, check that you are logged in with the appropriate role or permissions for the operation you are trying to do. For information on user authorizations, see the Licenses management chapter in HP Insight Dynamics 6.2 Getting Started Guide. Create Scenario Wizard not working requires Adobe Flash Player The Adobe Flash Player is delivered with HP Systems Insight Manager software, and assistance is provided to help you install this plug-in into your browser. If you find that you need more information, please consult the HP Systems Insight Manager 6.2 User Guide, available from http://www.hp.com/go/hpsim. Follow the Information Library link for access to the guide and other documents.
166
that they are hung, (because all the above situations are fine, but still no data), first try restarting the individual services: For a Windows CMS, restart: HP Agentless Data Collector Service (the agentless collector service for Windows systems) HP Agentless Collection for Linux Systems (the agentless collector service for Linux systems) HP Insight Control virtual machine management (the VMM service) For an HPUX CMS, type from the command line:
# /sbin/init.d/hp_capad_service stop Stopping HP Agentless Collection for Linux Systems... Waiting for HP Agentless Collection for Linux Systems to exit... Stopped HP Agentless Collection for Linux Systems. # /sbin/init.d/hp_capad_service start Starting HP Agentless Collection for Linux Systems... Started HP Agentless Collection for Linux Systems.
If restarting the service(s) does not work, try rebooting the CMS. Other possibilities For suspected WMI issues on Microsoft Windows nodes (applies to agentless collection on Windows and virtual machine management/Hyper-V data collection), if nothing else works, try running the following command on the managed system to re-register WMI performance classes that may have become un-registered, causing data collection errors:
wmiadap /f
For agentless collection on Linux, make sure that SSH (sshd) is running on the managed system.
report the number of processor sockets in a multicore/hyperthreading environment. Suggested action: The following patches are required to correct this issue. For Windows 2003, apply the KB932370 patch. For more information, see http:// support.microsoft.com/kb/932370/. For HP-UX 11 v2, apply the PHKL_37803 patch. You can download this patch from ftp:// us-ffs.external.hp.com/hp-ux_patches/s700_800/11.X/PHKL_37803. After downloading, execute the command sh PHKL_37803, and install the depot file that is generated. No patch is necessary for Windows 2008 or HP-UX 11 v3. This information does not apply to HP-UX 11 v1. Data seems to have disappeared The profileID that Capacity Advisor uses to store whole-OS performance data (profiles) is based on a system's network name, as currently discovered in HP SIM (as seen in the System Page for the managed node).* If a system is later re-identified, but with a different network name, any data collected under the old name will no longer be associated with the managed system under its new network name. The data may still exist in the database, but because it is no longer identified with the managed system from which it was collected, it cannot be viewed or used for capacity planning. The following are some examples of how this can occur: An VMware ESX VM guest is initially discovered by HP SIM horizontally only, with no IP address or host name (only the ESX host is explicitly discovered in HP SIM, and VMware Tools are not installed/running on the guest). Later, the guest is discovered with a valid host name/IP address (that is, VMware Tools are subsequently installed on the guest). (Horizontal discovery can also find Microsoft Hyper-V hosts with a similar effect if the guests are later rediscovered with valid host name or IP address.) If a system is multi-homed and its multiple IP addresses or network names are discovered in HP SIM, only one "system node" is recorded in HP SIM to represent that server (the Primary IP Address). This node will contain the list of IP addresses and network names for that system. HP SIM randomly selects which IP address and network name pair becomes the default Primary IP Address used for the node's short name. If you edit the System Properties and change the "Primary IP Address", any data associated with the previous workload name reference will be lost. A system is initially discovered by IP address ONLY (for example, in a non-DNS environment). Later the system is identified in HP SIM by its fully-qualified host name (when DNS is subsequently enabled in the environment). Also in a non-DNS environment, a Windows system may be initially discovered by its NetBIOS name. If DNS is later enabled in the environment, that system may be subsequently identified by its fully-qualified host name. Suggested prevention: Make sure that all managed systems are identified the way you expect in HP SIM as soon as possible, and that they will remain identified that way during the period that you intend to collect data for those systems. For example: For VMware ESX VMs, if you ever plan to install VMware Tools on the VM guests, install the tools on all the guests OR enter the host name or IP address of all guests in the HP SIM discovery task, rather than depend on horizontal discovery. (This latter option should be applied to Hyper-V hosts also.) For multi-homed systems, discover only one IP address, or set the Primary IP Address immediately after discovery to insure that you have set the final name that you want the node to have before running Insight managed system setup wizard and data collection. If you are using DNS (or are planning to use DNS), make sure all systems are correctly discovered with a fully-qualified host name in HP SIM. Recovering system profile data lost due to a network name change: 1. Determine the name that the system was previously identified as. If not sure what the "old" name was, run capprofile to list the available profiles in Capacity Advisor. 2. Export the data from the old profile to a CSV file using capprofile -x.
Data seems to be incorrect or lost 169
3. Import the exported profile into the "new" profile using capprofile -i. For other issues where data seems to be incorrect, see: Data for node appears to differ from one profile viewer to another (page 173) A configuration change is not immediately visible in all Insight Dynamics products (page 173) Data may appear to be old when it is not (page 167) I reused a previously removed server name or IP address, and Capacity Advisor is showing an error. This situation can occur because workload definitions are currently associated with an OS instance using the fully qualified domain name (FQDN) and/or an IP address as the unique identifier for tracking the relationship between an OS instance, a workload, and the data collected for the workload and server. Keeping a record of this association allows Capacity Advisor to track an OS instance when it is moved onto new hardware and to retain the data association. As a result of keeping the workload association, when you remove a managed server from discovery by HP SIM, Capacity Advisor still retains a record of the workload, but it assumes the workload is parked, rather than deleted. Suggested resolution: Remove the parked workload(s) immediately after you remove a managed server when you know that you do not want to retain the associated workload utilization data. It is best to do this before reusing the FQDN or IP address. To remove a parked workload, click the Virtualization Manager Workload tab and select the parked workload for deletion. If you have already reused the FQDN or IP address, open the Virtualization Manager Workload tab, and check to see if the workload in question is associated with a different hostname. Remove the workload from this location. If the workload is not referenced on the Workload tab, you can delete the workload with the following command from the CLI: gwlm delete --workload=workload_name This will remove the association between the workload and its collected data. The next scheduled data collection (usually done nightly) will delete any non-referenced profile data. Capacity Advisor should correctly recognize the new server association from this point on.
read and analyze the utilization data of all systems and workloads defined in the scenario. The greater the number of systems and the longer the date range, the more memory and time is consumed to read and analyze the utilization data. Suggested action: Experiment with different combinations of systems, workloads, and data ranges to arrive at a manageable, but still useful scenario. Multiple users running simultaneous automated what-if actions Executing an automated what-if action will cause an increased use of memory and CPU time for the length time required to provide a solution. With multiple users running automated what-if actions simultaneously, the server process can reach its maximum configured memory allocation. Suggested action: See the Insight Dynamics install guide specific to your OS platform for more information on tuning configuration parameters. Running reports with very large data sets or when CMS is busy During the execution of Capacity Advisor reports, consumed memory is monitored. Should consumed memory reach a given threshold (85% of total JVM memory) the report execution stops and informs you that there is insufficient memory to complete the report(s ) Users trying to create more modest or even small reports could see this message if the rest of the system is busy. Remedies: Increase heap memory size allocated to the JVM and/or reduce memory pressure on the CMS. Try to generate the report again. Exporting four years or 3 MB of data into Capacity Advisor for profiling capprofile aborts with data sets of this size. Suggested action: Export multiple, smaller chunks of data.
TIP: When a scenario is newly created, it is unlikely that any changes will be recorded for unlicensed or unauthorized systems in the change record. A lack of user authorization on systems in a scenario can also affect the usefulness of the scenario for planning. As above, you can obtain authorization to use the systems or remove them from the scenario. Systems in scenario no longer available scenario seems corrupted Because names for what-if systems must be unique (they do not match names for existing systems on a real network), it is possible that real systems can be discovered with matching names after a scenario is created with systems having imagined names. When this occurs, the scenario change record (Undo/Edit/View screen) indicates an error; the scenario is corrupted and cannot be repaired. Suggested action: Create a new scenario, replacing the no-longer-unique what-if systems with new, uniquely named systems. Delete the corrupted scenario. Note that this naming corruption can also occur when using what-if workloads or what-if VMware DRS clusters in a scenario. The problem and remedy are the same in each case. I want to reuse a system name, but I'm seeing a name duplication error Name duplication errors can occur in these situations: when trying to create a what-if system using the same name as an existing system. You cannot reuse an existing system name. when trying to create a what-if system using the same name as a what-if system already in use in the same scenario. Suggested action: Edit the system attributes of the original what-if system (What-If ActionEdit System...) This remedy will not be sufficient if you have defined the original what-if system to have no power calibration, and then decide that you want the system to have power calibration. The Edit System screen does not provide the opportunity to edit power settings. Where it is important to reuse the system name and add power calibration, do the following: Select the original what-if system and remove it from scenario. (EditRemove Systems) Delete both the create system and remove system actions from the scenario change record. (What-If ActionUndo/Edit/View Applied What-If Actions) Re-create the system using the same name, but with new attributes, including power calibration. (What-If ActionCreate Systems...)
Workloads no longer available in a scenario With the 6.0 release, monitored workloads on Linux are no longer supported or recognized by Insight Dynamics components. This means that scenarios containing representative Linux systems that once had monitored workloads will be broken. Suggested action: Remove these systems from the scenario (EditRemove Systems...), and then re-add them EditAdd Existing Systems...). A profile viewer has error message and no profile graph The error message that you would see in this situation:
Unable to write the following file: I/O error writing PNG file!
This occurs when a profile viewer is unable to write temporary files to the CMS storage space. Suggested action: Check that permissions are correct for writing to the storage space, and check to see if the storage space is full.
172
Automatic power calibration can be done on managed Proliant Linux systems with no additional agents or providers. Automatic power calibration is supported for Integrity Linux systems when, in addition to the agentless data collection, the Utilization Provider (UP) is configured on managed nodes running supported Linux distributions. However, to obtain the UP, you must install it as part of the Integrity Linux distribution or from a separate web download. NOTE: The Utilization Provider does not support Integrity SUSE 11 or RHEL 5.5; these Integrity Linux systems must be manually calibrated.
No power metrics appear for simulated VMware DRS cluster This situation occurs when VM hosts that have not yet been calibrated for power are added to a VMware DRS cluster in a scenario. Suggested action: 1. Open the scenario change record (What-If ActionUndo/Edit/View Applied What-If Actions) and delete from the cluster all VM hosts that were not previously calibrated. (See Undo/edit/review applied what-if actions in a scenario (page 91) .) 2. From the scenario editor Systems tab, select the VM hosts that you want to calibrate, and then select EditCalibrate Power (All Selected Systems). Calibrate the systems. (See Calibrating multiple systems at once (page 109) .) 3. Add the calibrated VM hosts to the cluster by selecting What-If ActionConvert/Add to VMware DRS Cluster. (See Assigning VM hosts to a VMware DRS cluster in a scenario (page 96). )
Workload and system relationships may not match when comparing Capacity Advisor and Virtualization Manager information
A configuration change is not immediately visible in all Insight Dynamics products This information is updated every 5 minutes, but there still can be a period of time when the information that you can see in the Insight Dynamics Visualization tab may differ from that presented in Capacity Advisor. Suggested action: Click to the Workload tab in the Virtualization Manager and then click the "Refresh Data" link on the far right corner of the screen above the table that lists workloads discovered by HP SIM. HP SIM identification of a VM host and its virtual machines inconsistent If you open the Capacity Advisor "Edit Scenario" screen and see this message:
Error generating screen. Attempting to create second instance of (Scenario_systemLayout_nameHeader_system_name_popupContent*)
this means that the HP SIM identification of a VM host is inconsistent with the identification of the virtual machines associated with it. Suggested action: Re-identify the VM host and its virtual machines to correct this issue. See the HP Systems Insight Manager 6.2 online help to learn how to identify or discover systems from the top menu bar or from the command line. You need to be a privileged administrator user or root to do this action. You may then want to click the "Refresh Data" link on the Virtualization Manager Workload tab to ensure the information is also up-to-date for Capacity Advisor. If this problem persists, you may need to run vseassist on the VM host to determine why HP SIM is not correctly identifying the VM host and its constituents. Data for node appears to differ from one profile viewer to another Though a profile viewer looks the same and behaves similarly from whichever location it is accessed, the data displayed for a node may indeed differ it may be actual historic data or an aggregation of data, depending on the location from which the viewer is accessed or the type of system being viewed. For a discussion of data handling in a profile viewer, see Using the Profile Viewer (page 67).
showing one entry and a scrolling mechanism for the other menu choices. HP SIM checks for this setting on entry and shows this message to help you correct the situation:
Your browser's zone security settings are not compatible with the HP SIM popup menu. The following setting must be enabled in your current zone: Internet Options | Security | Custom Level | Miscellaneous | Allow script-initiated windows without size or position constraints (This setting is enabled by default for the "medium-low" security level, such as the "local intranet" zone.)
174
Could not access the HP SIM instance on HP SIM is not running. this system; nested exception is: java.net.ConnectException: Connection refused. Error collecting utilization data for whole-OS workload "system-name" no data collected. The Utilization Provider may be missing or incorrectly configured on the managed node. or The system may not be Error collecting utilization data for licensed for Capacity Advisor workload "workloadname" on data collection. "system-name" - no data collected. The workload may have been or moved since the last automatic update in Capacity Advisor Error collecting physical CPU utilization (update occurs every 5 data for HPVM "vm-host" from HPVM minutes). Host "vm-name" - no data collected.
Check that the Utilization Provider is running on the system. Check that the system is licensed for Capacity Advisor. Check that the workload is still associated with the same system (is Capacity Advisor information up-to-date). Run vseassist to troubleshoot connection errors.
175
A system may have been down Check that the server is up, and during the collection period. start a new collection. The workload may have been Check that the workload is still moved since the last automatic associated with the same system (is update in Capacity Advisor Capacity Advisor information (update occurs every 5 up-to-date). minutes). Run vseassist to troubleshoot connection errors.
Error: No data has been collected for the Missing authorization or specified workload. credentials for a system.
system_name: Another HP SIM Central See message text. Management Server may be accessing this system. CIM_ERR_NOT_FOUND: The requested object could not be found: Instance not found for RpID: FSS_3 and datetime: date_time, GUID: n. system_name: Error attempting to access See message text. the WBEM server; CIM_ERR_NOT_FOUND: The requested object could not be found: Instance not found for RpID: rpid and datetime: 2006...,GUID: n. system_name: Error creating object. The system specified by system_name during data collection is running Version 2.00.09 of HP-UX WBEM Services without required patches.
For systems running HP-UX 11.11, apply patch PHSS_34428; for systems running HP-UX 11.23, apply patch PHSS_34429.
176
No systems are available from HP SIM in the HPVSE collection. No WBEM credentials are available for system "system_name. Please verify that a valid WBEM account and password for this system are configured in HP SIM (Options->Protocol Settings->Global Protocol Settings).
CMS access to WBEM, using Bastille, ipf, or other means, has been shut down. Either no WBEM credentials have been entered in HP SIM or HP SIM could not successfully use the credentials entered. The latter can happen when acimserver process is not running on the system.
177
Capacity Advisor cannot analyze Synchronize the managed node clock utilization across multiple to the CMS system clock. systems or servers when system clocks (and therefore, data timestamps) are not synchronized.
Skipping system_name collection from The system or server is running the some_operating_system operating an operating system unsupported system is not supported. by VSE. System system_name has incomplete HP SIM has not discovered system information. Check the system's enough information about this status in HP SIM. system for capcollect to be able to collect data from the system. capcollect requires that the System Type attribute has the value server to collect from a system. system_name: HP SIM requires trusted See message text. certificates for managed systems but no trusted certificate exists for this system. system_name: The Utilization WBEM Provider is not installed. See message text. From the HP SIM All Systems page, click the system name to go to the HP SIM System Page. On the identify tab, click the + next to Product Description to expand it. If the System Type is unknown or unmanaged, capcollect cannot collect data from that system. Change the System Type to server. Set up the trusted certificate by manually installing the system's certificate into the HP SIM Trusted System Certificate List. Install the WBEM utilization provider on the system. Correct the global or system protocol settings for the affected system in HP SIM. You may need to rerun discovery to have the settings take effect.
system_name: The WBEM credentials The capcollect command provided by HP SIM were not accepted cannot use the WBEM credentials by the WBEM server. provided by HP SIM, perhaps because of recent changes to the user ID or password. system_name: The WBEM server is not running and should be restarted. system_name: Upgrade the Utilization Provider on this system to version A.01.06.00.00 or later.
The WBEM provider on the On the managed system, execute the system is not running and should command be restarted. /opt/wbem/sbin/cimserver See message text. See message text.
system_name: Unable to contact the A network or system problem Run vseassist to troubleshoot WBEM server. See the capcollect(1M) prevents contact with the WBEM connection issues. server. manual page. system_name: System information is not available from the WBEM provider. Collection from this system cannot proceed until this situation is corrected. The Name Resolution Service could not See message text. resolve localhost on the CMS. To correct this, make sure that either the name localhost can be resolved on the CMS or change the CMS_HOSTNAME setting in /etc/opt/vse/vseprefs.props to a hostname for the CMS that can be resolved. See the hosts(4) and nsswitch.conf(4) manual pages. Run vseassist to troubleshoot connection issues.
If you prefer not to use the method described in the message, change the value for the CMS_HOSTNAME property in the vseprefs.props file from localhost to some other name that resolves to the IP address of the CMS.
178
If HP SIM has not correctly See message text. discovered all of the system attributes (operating system type, model, CPU count/speed, and memory size) some of the attributes needed to export the profile using the capprofile command are not available. If the profile data originated from a capprofile export, re-export the data after running OptionsIdentify Systems...on the system in HP SIM, or manually correct the values in the header. See the capprofile(1M) command reference page for an example of a correctly formatted file. Install the HP VM WBEM provider (vmProvider) on the virtual machine or correct the configuration problem. For help with using vseassist, see the HP Insight Dynamics 6.2 Getting Started Guide.
The system attribute "attribute-name" When importing a file using must be specified before this profile can capprofile, the input file be imported. header must contain correct values for the system from which the profile data was gathered. If one or more attributes have the value <UNKNOWN>, the profile cannot be imported. The system "system_name" has no workload defined. Make sure to select ToolsVSE Management...in HP SIM before running this command for the first time. For HPVM Guests, please be sure that the HPVM WBEM provider is properly configured. If problems persist, run VSE Assist to further diagnose errors. The system system_name was not found in the HP SIM database. An HP virtual machine may be discovered by HP SIM and labeled as a standalone server if the system does not have a properly configured WBEM provider for HP VMs. Such a system cannot be collected from until it is discovered by HP SIM correctly.
The system name specified on the Verify that the name is spelled command line is not known to HP correctly or add the system to HP SIM. SIM. Set authorizations as needed. For information on user authorizations in VSE, see HP Insight Dynamics 6.2 Getting Started Guide. Make sure that: 1. Your user name has been added to HP Systems Insight Manager. 2. Your user name and password, if specified, are spelled correctly. 3. HP Systems Insight Manager is running. 4. You used '--' for any long options and double quotes if your user name contains a domain, for example, commandname user mydomain\myusername pass mypassword If the system is booted, go to the System page in HP SIM and resume monitoring using the link on the Tools & Links tab, then run Discovery on the system. If the system remains disabled, delete the system from HP SIM and rediscover it. Run vseassist to help locate the problem.
The user has none of the required toolbox See message text. authorizations on node cms_name, where cms_name is the name of the CMS where the command was run. There was a problem connecting to the HP SIM server.
Unable to collect from system The system may be an unbooted "system-name" because it is disabled in VM or an un-initialized blade. HP SIM.
Unable to contact the WBEM server. See A network or system problem is preventing contact with the the capcollect(1M) manual page. WBEM server.
179
On the CMS managing system_name, open the HP SIM All Systems list, click the system name to go to the HP SIM System Page.
Warning: Overlapping workload definitions detected on system_name. Warning: the system clock on system_name is ~60 minutes, ss seconds ahead of the system clock on the CMS; this may render the utilization data unusable for planning purposes. If the time on the managed node is correct, the node's version of 'HP WBEM Services for HP-UX' may be older than the minimum, A.02.00.08.
The sum of workload utilizations Redefine the workloads so that their exceeds system utilization. utilization limits fall within the resource allocation for the system. capcollect relies on WBEM to Install a version of the WBEM Services report the local time on a system, Core Product that is 2.00.08 or later. but Version 2.00.07 of the WBEM Services Core Product for HP-UX reports the local time incorrectly. Messages that do not indicate a time difference of about an hour and for which actual times on the servers are not an hour apart, are not likely to be caused by the wrong WBEM version. When systems are used together Ensure that clocks on systems in the in a scenario, Capacity Advisor scenario are synchronized to the clock assumes that the time axis of the on the CMS system. utilization graphs for all systems is the same. The time axis is obtained from the system clock on the system where the utilization data is gathered. If the system clock is not synchronized with the other systems and with the CMS, the Capacity Advisor summed utilization traces may not be correct. This error message is issued if the time difference between the system for which data is collected and the CMS is more than 15 minutes.
Warning: the time difference of nnn seconds between the system clock on system_name and the system clock on the CMS may render the utilization data gathered unusable for planning purposes.
180
Figure H-1 Example of Smart Solver Excluded Systems table, part of the a Smart Solver Results screen
Remember that the Smart Solver includes utilization limits set for the workload, system, or scenario-wide when calculating desired capacity for the solution. Therefore, one way to correct the resource insufficiency could be to raise the utilization limits for the specified metrics. Another way is to select or add additional systems having at least the minimum required capacity. In the next example, the Smart Solver is unable to arrange the workloads such that they can all be placed on available systems, even though the systems have sufficient resources to place at least one workload per system. Figure H-2 Solver error messages when too few systems are available for the calculated required capacity needed
Here every workload can be placed on at least one system. However, the Smart Solver has concluded that there is simply insufficient total capacity across all systems to place all the workloads. In this case, the Smart Solver cannot derive a singular estimate of additional required capacity for a resource because an estimate depends on whether the remaining workloads will all be placed on a single system (thereby using the most restrictive utilization limits), or spread across multiple systems. As a result, a range of estimates is displayed: the first value specifies the total aggregate demand if all workloads were placed together, while the second value is the summed demand for each workload if it were placed separately. The workload(s) used in the estimation are named. It is possible that different combinations of the same workloads and systems can result in failures on different metrics. The Smart Solver results might state that the failure to arrive at a solution is due to memory shortfalls, which occurred 100% of the time. Given the same workloads and systems but an alternate solution, the Smart Solver may identify that 80% of the failures were due to CPU overages while 20% were due to memory shortfalls.
The above message indicates that, while trying to place workloads, 15% of the placement attempts failed because the resulting set of workloads would have exceeded the invalid data threshold for CPU allowed for each system. As a result, the returned solution was less than ideal because the Smart Solver had to rearrange workloads to keep those having significant invalid data in
HP Smart Solver error messages 181
non-aligned samples from being placed together on a system. The degree to which these solutions are less than ideal increases as the invalid data threshold is pushed to allow higher tolerances because there is no way to determine the true utilization for invalidated sample intervals. To resolve this issue, use a combination of the following options: Adjust the Maximum Invalid Data percentage allowed by the Solver. Adjust the Data Range in the automated task such that all workloads have sufficient valid data. Collect or import additional valid data to improve the data validity percentage. Adjust the workload forecast model data range selection to exclude invalid periods. If these steps are insufficient or cannot be done, remove the workloads from the scenario that have higher percentages of invalid data, and run the Solver on the remaining workloads to obtain the best placement for those workloads.
Here the Smart Solver reported that during the consolidation phase, workloads "metallica03" and "metallica04" were removed from consideration because their workload data exceeded the user-specified 5% threshold on the specified metrics. Any workload removed from consideration remained on its original system. Additionally, after the load-balance phase had completed, the Smart Solver noted that both new template systems were over capacity with respect to network I/O because the workloads placed there had no utilization limits specified for that metric.
182
Glossary
90th percentile activate That utilization value in the selected time interval which 10% of the utilization values fall above, and 90% fall below or are equal to. When referring to a logical server, activate means to make a logical server definition available to be deployed into the computing environment. An active logical server is one that is currently operating within the computing environment. An inactive logical server is one that has been defined but is not currently operating within the computing environment. A core that has been turned on by the HP Instant Capacity (iCAP) software or during installation. Cores are activated with the icapmodify command (or the vparmodify command in an HP-UX virtual partition) while HP-UX is running. A logical server that has been bound to both an HP SIM node and a Insight Dynamics workload, and is bound to specific storage. Active logical servers can be in one of two states: powered on or powered off. See also inactive logical server, logical server. A program with a well-defined task that runs in the background and that is used to capture information or do processing tasks. The collection of inventory and performance data from managed systems without requiring installation or configuration of agents on the managed systems. The rate at which utilization of a resource is projected to change. 1. In HP Systems Insight Manager software (HP SIM), an association is created by discovery and identification of HP SIM system objects that are then associated with other objects. One type of association is containment. For example, clusters contain members, complexes contain nPartitions, and OS images contain resource partitions. In HP Insight Global Workload Manager software for Integrity (gWLM), a policy-workload association tells gWLM which policy to use to manage that workload's resource allocation.
activated core
2. available resources average baseline business period Capacity Advisor capacity planning capacity-planning simulation central management server CLI cluster
Cells and I/O chassis that are not assigned to an nPartition; or cores, memory, and I/O resources that are not assigned to a virtual partition. These resources are available to be used in new partitions or can be added to existing partitions. The sum of all the utilization values divided by the number of data points for the selected time interval. A timeless demand profile used to generate demand profiles in forecasting. A meaningful time interval (a day or a week) for which to create an HP Insight Capacity Advisor software report. HP Insight Capacity Advisor software. The HP Insight Dynamics application that performs analysis and planning of workloads on a system or across a set of systems. The analysis of and planning for resource usage by workloads on a system or across a set of systems. The process of combining workload demand profiles, as prescribed by a scenario, to estimate the demand profiles of the systems that contain the workloads. Statistics gathered from the simulation can be summarized in reports. See CMS.
Command line interface. An operating system shell for direct entry of commands by the user. See also GUI. A set of two or more systems configured together to host workloads, such that users are unaware that more than one system is hosting the workload.
183
CMS
Central management server. A system in the management domain that executes the HP Systems Insight Manager software software. All central operations within HP SIM are initiated from this system. See CLI. A complex includes one or more cabinets that are cabled together and all of the hardware resources that they contain. A complex has a single Service Processor. See also server, system. Resource allocation restrictions imposed by either the customer (for example, workload placement restrictions), or the HP Insight Dynamics suite. See also policy. The actual data-processing engine within a processor. A single processor might have multiple cores, and a core might support multiple execution threads. See also processor. A set of resource-demand readings made at regular intervals for some period of time. The demand profile of a workload, system, or complex is used when doing capacity planning. Demand profiles can be based on historical data or computed as part of a forecast. 1. 1. In HP Systems Insight Manager software, to implement one or more components such as software, drivers, or licenses, rendering them under control of HP SIM. In system management applications, the process of finding and identifying network objects. In HP Systems Insight Manager software, discovery finds and identifies all the HP systems within a specified network.
constraints
core
demand profile
deploy discovery
failover forecast forecast data range forecast model Global Workload Manager guest guest OS GUI
The operation that takes place when a primary service (network, storage, or CPU) fails, and the application continues operation on a secondary unit. A prediction of system utilization and workload demand profiles for some future time. A time interval specifying the set of historical data to use for generating a forecast. A combination of a forecast data range and a set of annual projected growth rates that are used to estimate future utilization. See gWLM. See virtual machine. The operating system that is running on a virtual machine. Graphical User Interface. A visually-oriented user interface in which components and actions can be selected by clicking on objects and menus instead of typing command lines. See also CLI. HP Insight Global Workload Manager software for Integrity. The HP Insight Dynamics application that allows you to centrally define resource-sharing policies that you can use across multiple HP servers. These policies increase system utilization and facilitate controlled sharing of system resources. gWLM's monitoring abilities provide both real-time and historical monitoring of the resource allocation. High availability. The ability of a server or partition to continue operating despite the failure of one or more components. High availability requires redundant resources, such as CPU resources and memory, in specific combinations.
gWLM
HA
184
Glossary
The high-availability status of a device group is usually indicated by the following notation.
N+ N The device group can experience a device failure and still function normally. The device group has just enough good devices to function normally. Subsequent failure of a device in the group can cause the cabinet to shut down. The device group does not have enough good components to function normally. If a cabinet is running and goes into an N- cooling state, then the cabinet is automatically shut down. If a cabinet has an N- power state, then devices in the group cannot be powered on. This means that if the cabinet is running, it continues running, but no additional devices can be powered on. If the cabinet is off and comes up in the N- power state, then none of its devices can be powered on.
N-
headroom
In general, the amount of a computing resource that is available on a system after all requirements for applications on the system are accounted for. In HP Insight Capacity Advisor software, requirements for applications include the utilization limits set for each application. See also relative headroom.
high availability host host name host OS HP Insight Control power management HP SIM
See HA. 1. A system or partition that is running an instance of an operating system. The name of a system or partition that is running an OS instance. The operating system that is running on the host machine. IPM
HP Systems Insight Manager software (HP SIM). HP SIM provides simplified, centralized management of multiple servers and platforms through a web-based, unified interface. HP SIM provides the platform and framework on which the VSE Management Software products are deployed. HP SIM provides administrators single sign-on access to HP SMH on managed servers (standalone or partitioned) from a central console. HP System Management Homepage. HP SMH is a web-based interface that consolidates and simplifies the management of a single HP-UX server. HP SMH is also available for Linux and Microsoft Windows systems. HP SMH integrates with HP Systems Insight Manager, the strategic platform for multisystem management. Intel Hyper-Threading Technology. The ability of certain processors to create a second virtual core that allows additional efficiencies of processing. This is not a true multi-core processor, but it adds performance benefits. True multi-core processors typically deliver much greater performance than equivalent hyper-threading technology. HP Instant Capacity. The HP Utility Pricing Solutions product that allows you to purchase and install additional processing power through the use of a two-step purchase model. Initially, you purchase system components (cores, cell boards, memory) at a fraction of the regular price because the usage rights are not included. These Instant Capacity components are inactive but installed and ready for use. When extra capacity is needed, you pay the remainder of the regular price for the usage rights to activate the components. If the regular price for the component is reduced by the time the usage rights are purchased, the remainder price is proportionally reduced, providing additional savings. Earlier versions of iCAP were referred to as Instant Capacity on Demand, or iCOD.
HP SMH
hyper-threading
iCAP
iCAP core
Also referred to as a core without usage rights, a core that is physically installed in an HP Instant Capacity (iCAP) system but does not have usage rights and is not activated. After obtaining
185
usage rights, iCAP cores can be turned on by the iCAP software or during installation. Cores with usage rights are activated with the icapmodify command (or the vparmodify command in a virtual partition) while HP-UX is running. iLO inactive logical server HP Integrated Lights-Out. An application that allows you to remotely configure, update, and operate server blades and standalone systems. A logical server that contains metadata but is not currently bound to a specific physical server or system. Inactive logical servers that have never been activated might or might not be bound to storage. See also active logical server, logical server. See iCAP. See iLO. See Integrity VM. HP Integrity Virtual Machines. A soft partitioning virtualization product that allows you to install and run multiple systems (virtual machines) on the same physical host system (Integrity server or nPartition). The Integrity server or nPartition acts as a VM Host for the virtual machines (also referred to as guests). The virtual machines share a single set of physical hardware resources, yet each virtual machine is a complete environment in itself and runs its own instance of an operating system (referred to as a guest OS). See also virtual machine, VM Host. In HP Insight Capacity Advisor software, data that could potentially skew reporting results and lead to inaccurate or misleading conclusions when capacity planning. Examples of events that Capacity Advisor can recognize as potential sources of invalid points include the following: System downtime during a data collection period Data manually marked by the user as invalid Partial collection from a virtual machine or a VM host See also missing data, valid data. HP Insight Control power management. An integrated power monitoring and management application that provides centralized control of server power consumption and thermal output at the level of the data center. It extends the capacity of data centers by enabling you to reduce the amount of power and cooling required for ProLiant and Integrity servers. Systems built on any version of the Intel Itanium architecture. A feature provided by HP Insight Virtualization Manager software, a logical server is a set of configuration and metadata that you create, activate, and assign to operate within a physical or virtual machine. An active logical server can be moved from one location to another, and its characteristics can be modified. This feature allows you to populate an enclosure, load balance servers, and evacuate servers in case of disaster; it allows you to provision resources only when needed and increase utilization of limited compute resources. See also active logical server, inactive logical server. License to use. One of the three main components of HP Insight Global Workload Manager software for Integrity (gWLM): CMS, agents, and LTU for each agent. The CMS allows you to control and monitor gWLM. The agents run on the systems where you are managing workloads. You install an LTU on each system that runs an agent in order to continue full agent functionality beyond the initial trial period. A resource that can be allocated and controlled by HP Insight Virtualization Manager software. Managed resources include: cores, memory, disks, and I/O bandwidth. A server or other system that can be managed by HP Systems Insight Manager software from a CMS . A managed system can be managed by more than one CMS. A workload that is managed by HP Insight Global Workload Manager software for Integrity (gWLM).
invalid data
IPM
LTU
186
Glossary
A CMS and its managed systems. Maximum 15-minute sustained: data given in the Utilization Metric Summary screen of the HP Insight Capacity Advisor software Profile Viewer, the highest value in the selected time interval that was sustained for at least 15 minutes. A specific measurement that defines a performance characteristic. In HP Insight Capacity Advisor software, a combination of the statistical model (such as peak or average) used to calculate the metric and whether it is to be presented as a percentage or an absolute value. Data that was not collected by HP Insight Capacity Advisor software, perhaps because a monitored system was down during data collection. Such data is not used in analysis, though the collection gap may be shown in the Profile Viewer. See also invalid data, valid data. A workload that can be monitored by HP Insight Virtualization Manager software on HP-UX and OpenVMS managed nodes, but which has no policy associated with it. Monitored workloads are not managed by HP Insight Global Workload Manager software for Integrity (gWLM). The ability of an application and operating system to allow parallel computing by dividing processing between multiple processors or cores. See system. A partition in a cell-based server that consists of one or more cells , and one or more I/O chassis. Each nPartition operates independently of other nPartitions and either runs a single instance of an operating system or is further divided into virtual partitions. See also virtual partition. Operating system. A package groups application services (individual HP-UX processes) together. See also Serviceguard package. A workload that is not currently associated with a system. A workload becomes parked if its system is set to none when it is created or later modified. A parked workload that was previously associated with a system may have historical data associated with it from HP Insight Capacity Advisor software or HP Insight Global Workload Manager software for Integrity (gWLM). As with any workload, the historical data will be lost if the workload is deleted. When migrating a workload from one system to another, it may be useful to park the workload (removing the association with the original system) until the new system becomes available. This preserves the historical data for the workload across the migration.
partition
1.
A subset of server hardware that includes core, memory, and I/O resources on which an operating system (OS) can be run. This type of partitioning allows a single server to run an OS independently in each partition with isolation from other partitions. See also nPartition, virtual partition. The highest utilization value in the selected time interval. A collection of rules and settings that control workload resources managed by HP Insight Global Workload Manager software for Integrity (gWLM). For example, a policy can indicate the minimum and maximum amount of CPU resources allowed for a workload, and a target to be achieved. A single policy can be associated with multiple workloads.
peak policy
PRM
Process Resource Manager. An HP product used to dynamically divide resource utilization among different applications and users PRM controls the amount of resources that processes use during peak system load. See PRM. The hardware component that plugs into a processor socket. Processors can contain more than one core. See also core.
187
processor module
The packaging of one or more processors to connect into a single socket on the system bus. Examples include the Intel Xeon FC-mPGA package, the HP mx2 dual-processor module, and the IBM Power 5 MCM. Provides a visual display of historical utilization data collected by HP Insight Capacity Advisor software, along with additional information that you have provided. A profile viewer enables you to examine different time intervals and different categories of data. A function that makes a component operational. Provisioning might include installing, upgrading, loading, and configuring a software or hardware component. Provisioning a server includes loading the appropriate software (operating system and applications), customizing and configuring the system, and starting the server and its newly-loaded software. This makes the system ready for operation. A combination of qualitative and quantitative factors such as up time, response time, and available bandwidth, that collectively to describe how well a system performs. The Quality of Service is frequently embodied in a Service Level Agreement or in a set of Service Level Objectives between or among organizations. The percentage by which the demand on a resource can grow before the utilization limits set for the resource are exceeded. For example, in the case of a system running several workloads, the relative headroom for any one workload is the percentage by which one workload can grow without exceeding the utilization limits set for itself and without causing any of the other workloads on the system to exceed their limits. See also headroom.
Profile Viewer
provision
Quality of Service
relative headroom
A subset of the resources available to an operating system instance, isolated for use by specific processes. A resource partition has its own process scheduler. A possible configuration of systems and workloads under consideration when doing capacity planning. See also what-if scenario. 1. Physical server: Hardware that can run one or more operating systems, including a partitionable complex. Also, hardware that can run an instance of the vPars monitor. Server hardware includes one or more cabinets containing all the available processing cores, memory, I/O, and power and cooling components. HP Integrity servers include two types of server hardware: standalone servers and cell-based servers. Virtual server: A software-based virtual environment that can run an operating system. A virtual server includes a subset of the server hardware resources, including cores, memory, and I/O. Virtual servers may be virtual partitions under vPars or virtual machines under Integrity VM.
server
2.
3.
HP Systems Insight Manager software uses the term server for any standalone server, nPartition, or virtual server that is running an instance of an operating system or an instance of the vPars monitor. See also system. Service Processor An independent support processor for HP servers that support nPartitions. The Service Processor provides a menu of service-level commands, plus commands to reset and reboot nPartitions and configure various parameters. The Service Processor in HP servers is sometimes called the Management Processor (MP) or the Guardian Service Processor (GSP). Serviceguard Specialized software for protecting mission-critical applications from a wide variety of hardware and software failures. With Serviceguard, multiple servers (nodes) and/or server partitions are organized into an enterprise cluster that delivers highly available application services to LAN-attached clients. HP Serviceguard monitors the health of each node and rapidly responds to failures in a way that minimizes or eliminates application downtime. A Serviceguard cluster is a networked grouping of HP 9000 or HP Integrity servers (host systems known as nodes) having sufficient redundancy of software and hardware that a single point of failure will not significantly disrupt service.
Serviceguard cluster
188
Glossary
Packages are the means by which Serviceguard starts and halts configured applications. A package is a collection of services, disk volumes and IP addresses that are managed by Serviceguard to ensure they are available. A monitored workload associated with a Serviceguard cluster and a particular package within the cluster. The workload (and the utilization data reported) follows the package it is associated with as it moves between the nodes of the cluster. A mock situation (scenario) that allows you to experiment with various capacity-planning solutions. See HP SMH. Hardware that can run one or more operating systems but does not support dividing hardware resources into nPartitions. 1. A server, nPartition, virtual partition, or virtual machine that is running an instance of an operating system. 2. Entities on the network that communicate through TCP/IP or IPX. To manage a system, some type of management protocol (for example, SNMP, DMI, or WBEM) must be present on the system. Examples of systems include servers, workstations, desktops, portables, routers, switches, hubs, and gateways. See also server. See headroom. See HP SMH.
system headroom System Management Homepage Systems Insight Manager unbound core
See HP SIM. For vPars versions prior to A.04xx, an unbound core is one that can be migrated between virtual partitions while those partitions are running. Unbound cores cannot handle I/O interrupts. Unbound cores are sometimes referred to as floater processors. The distinction between bound and unbound cores does not apply to vPars version 4.0 or later.
utilization limits
The limits set on the usage of system resources such as CPU, memory, or network I/O by an application. Utilization limits are expressed as a percent of the system capacity and the amount of time an application is allowed to exceed this limit. The time that a limit is exceeded can be expressed as a percentage of time or as a maximum duration of time. See also max 15-min. The WBEM services provider for real-time utilization data from managed systems. In HP Insight Capacity Advisor software, data that meaningfully contributes to the user's ability to understand actual past resource usage and that provides reliable information for accurately forecasting current and future capacity needs. See also invalid data, missing data. HP Virtual Connect. A set of interconnect modules and embedded software for HP BladeSystem c-Class enclosures that simplifies the setup and administration of server connections, thereby enabling administrators to add, replace, and recover server resources dynamically. Virtual CPU. A single-core virtual processor in a virtual machine. See also core, processor. An emulation of a physical device. This emulation, used as a device by an Integrity VM virtual machine, effectively maps a virtual device to an entity (for example, backing store) on the VM Host. A software entity provided by HP Integrity Virtual Machines, VMware ESX, VMware ESXi, or Microsoft Hyper-V. This technology allows a single server or (with Integrity Virtual machines) nPartition to act as a VM Host for multiple individual virtual machines, each running its own instance of an operating system (referred to as a guest OS). Virtual machines are managed systems in the HP Virtual Server Environment (VSE).
VC
virtual machine
189
See VM Host. A software partition of a server, or of a single nPartition, where each virtual partition can run its own instance of an operating system. A virtual partition cannot span an nPartition boundary. See also nPartition, virtual machine. HP Insight Virtualization Manager software. Provides hierarchical visualization of servers and workloads, with seamless access to the management tools of the VSE technologies. See virtual machine. A server running HP Integrity Virtual Machines, VMware ESX, VMware ESXi, or Microsoft Hyper-V, that provides multiple virtual machines, each running its own instance of an operating system. Integrity Virtual Machines Manager. The HP Insight Dynamics application that allows you to manage and configure Integrity VM. An HP software product that provides virtual partitions. See also virtual machine. The program that manages the assignment of resources to virtual partitions in a vPars-enabled system. To enable virtual partitions, the vPars monitor must be booted in place of a normal HP-UX kernel. Each virtual partition running under the monitor then boots its own HP-UX kernel. The vPars monitor reads and updates the vPars partition database, boots virtual partitions and their kernels, and emulates certain firmware calls. See also VM Host.
WBEM
Web-Based Enterprise Management. A set of web-based information services standards developed by the Distributed Management Task Force, Inc.A WBEM provider offers access to a resource. WBEM clients send requests to providers to get information about and access to the registered resources. See also Utilization Provider. See WBEM.
A configuration of systems and workloads that is different from the current configuration. Capacity-planning simulations are run using what-if scenarios as experiments before making any actual configuration changes. The entire OS instance is considered a workload for recognition by Insight Dynamics components. A sequential series of pages that transforms a complex task into simple steps and guides you though them. The wizard makes sure that you provide all of the required information and do not skip any steps. At each step, a page is presented that allows you to specify the information needed to complete that step. Help is available at each step and you always have the option of going back to continue the wizard from a previous step. The collection of processes in a standalone server, nPartition compartment, virtual partition compartment, or virtual machine compartment. See also managed workload, monitored workload, Serviceguard workload.
workload
190
Glossary
Index
A
absolute interval, 70 agentless data collection for Capacity Advisor viewing configuration, 62 annual growth rate, 34 and data range combined, 34 assistance, 121 automated consolidation to VMs expected results, 112 possible anomalies, 112 automated load balancing expected results for servers or VM hosts, 114 possible anomalies, 115 automated solutions, 31 automated workload stacking expected results, 117 possible anomalies, 118 create, 58 command capcollect, 120 hpvmmigrate, 120 comparison report selecting details in Capacity Advisor, 74 complex viewing in profile viewer, 70 configuration, 11 conversion data, 17 conversion table percent of time limit to minutes, hours, 28 cooling multiplier, 123 Copy Profile parameters for workload in Capacity Advisor scenario, 125 core, 153 cost calculating for power usage, 123 CPU, 153 utilization, 153 CPU capacity, 24 CPU Core Utilization, 125 CPU speed, 125 CPU utilization as measured for virtual machines, 23 CPU Virtualization Overhead %, 128 default value, 128 CPU Workload Multiplier, 124, 125 default value, 124 examples, 125 credentials, 13
B
back button problem with use in Capacity Advisor, 13 business interval, 32
C
calculator, 23 capacity determining resource maximum, 24 Capacity Advisor scenario modify parameters, 88 parameters, modify, 88 capacity planning goals, 23 capcollect command, 120 change record disabling, 91 editng, 91 checklist consolidating server loads onto a virtual machine manually, 36 consolidating server loads onto a virtual machine using automated solution finding, 47 determining where to put a workload using automated solution finding, 52 estimating the effect of adding processors, 51 estimating the effect of moving processors, 51 understanding current resource usage, 35 clock setting on HP-UX, 167 setting on Linux, 167 setting on Windows, 167 unsynchronized, 167 clock speed, 153 cluster, 11 cluster node Serviceguard, 119 collection schedule
D
data accuracy, 23 as measured for CPU capacity, 24 as measured for disk I/O, 25 as measured for memory, 24 as measured for network I/O, 25 as measured for power usage, 25 Capacity Advisor update, 61 collect for Capacity Advisor, 55 first time, 58 collect in Serviceguard cluster, 120 collect nightly automatically, 58 considerations in measuring resource utilization, 25 conversion, 17 export, 133 gap, 120 historical, 17 import, 133 incorrect, 168 invalid, 27
191
invalidating, 133 linear regression to calculate trend line, 33 measurement interval, 25 missing, 27, 120 old, 167 OVPA, 133 peaks, 15 PMP, 133 power caps and HP hardware, 30 utilization, 11 data collection, 16 agentless, 12, 18 and licensing, 57 automatic, 16 differences between HP PMP and Utilization Provider, 19 first time, 58 HP Serviceguard, 17 infrastructure, 16 interpreting task results, 59 menu options, 56 method comparison, 18 server resources, 24 supported configurations, 17 timing options, 56 Utilization Provider, 12, 18 data collection, Capacity Advisor impact on system performance, 56 data collection, importing OVPA information, 57 data collection, importing PMP information, 57 data collection, records not current, 66 data discrepancy in Capacity Advisor, 66 data handling for virtual machines, 23 data import view results for HP OVPA system, 65 view results for HP PMP system, 65 data normalization, 24 data range changing in Profile Viewer, 70 modify for Capacity Advisor, 88 delay in refresh of system and workload configuration data associated issues in Capacity Advisor, 173 dependency SSH and agentless data collection, 13 VMM and data collection, 13 WBEMcredentials and agentless data collection, 13 WMI and agentless data collection, 13 disk I/O bandwidth utilization, 154 edit capacity in Capacity Advisor, 99 disk I/O capacity, 25 Disk I/O Utilization, 125 Disk I/O Workload Multiplier, 125 default value, 125 example, 125 documentation, 121
192 Index
E
Edit Scenario accessing Capacity Advisor Profile Viewer, 68 error difference in workload associations to systems, 173 message explanation, 175 time synchronization, 167 when reusing a server name or IP address, 170 error analysis, 33 error, connecting to systems, 165 example adding a VM host to a scenario, 42 adding processor cores, 44 changing a utilization limit for a scenario, 45 consolidation candidate report, 157 creating a scenario, 37 determining which systems to consolidate, 37 editing a scenario, 38 making servers become virtual machines with automated solution finding, 48 making servers become VMs manually, 42, 44 scenario comparison report, 74, 157 server consolidation, planning, 36, 47 Undo/edit change record screen, 163 exported data, 133
F
fixed interval, 70 forecast viewing in an historic utilization report, 86 forecast model attributes defined, 34 editing in Profile Viewer, 69 precedence table, 33
G
gap data, 120 goals capacity planning, 23 growth rate forecasting, 124
H
headroom, 154 defined, 25 stars definitions, 26 historical data, 17 historical utilization, 15 host name, 119 HP Performance Agent, importing data into Capacity Advisor, 57 HP Performance Management Pack data collection, 19 HP SIM documentation, 121
HP Smart Solver, 31 HP Virtual Machine calculating Hypervisor Memory Overhead for Capacity Advisor, 128 hpvmmigrate command, 120 Hyper-Threading, 154 hypervisor, 154 memory overhead, 154 Hypervisor Memory Overhead calculating for HP Virtual Machine, 128 calculating for Microsoft Hyper-V, 129 calculating for VMware ESX, 128 calculating for VMware vSphere, 129 default setting, 128 definition, 128 examples, 128 where used, 128
I
iLO collecting license for power calibration, 107 imported data, 133 incorrect data, 168 infrastructure data collection, 16 Insight Dynamics documentation, 121 Insight managed system setup wizard, 12 installation, 12 Integrity VM, 119 interval business, 32 sampling, 25 invalid data affect in Smart Solver, 27 excluding data points, 32
Memory Utilization, 125 Memory Workload Multiplier, 125 default value, 125 example, 125 memory, dynamic, 67 menu options for HP Insight Capacity Advisor Consolidation software server data, 64 method data collection, 12 metric view modify for Capacity Advisor, 88 Microsoft Hyper-V calculating Hypervisor Memory Overhead for Capacity Advisor, 129 missing data, 120 modeling predictive, 11 multiplier scaling, 155 multiplier, used in Capacity Advisor cooling, 123 CPU Virtualization Overhead %, 128 Disk I/O Workload Multiplier, 125 Hypervisor Memory Overhead, 128 memory , 124 Memory Workload Multiplier, 125 Network I/O Workload Multiplier, 125 multipliers, used in Capacity Advisor cost/kWh, 123 multithreading, 155
N
network data, 19 network I/O bandwidth utlization, 155 edit capacity in Capacity Advisor, 99 network I/O capacity, 25 Network I/O Utilization, 125 Network I/O Workload Multiplier, 125 default value, 125 example, 125 no data for managed node, 66
L
license requirements, 12 licenses, checking status, 66 load balance automated solutions, 31
M
machine virtual, 120 managed node, importance of time and time zone settings for data collection accuracy in Capacity Advisor, 66 member SG, 119 memory modeling, 22 utilization, 155 memory capacity, 24 memory data, 19 Memory Multiplier, 124 default value, 124 examples, 124
O
Offset Hours, 125 old data, 167 old dates, 167 operations overview Capacity Advisor scenarios, 86 Capacity Advisor systems, 93 OTHER workload, 155 out-of-memory, 170 overview Capacity Advisor procedures, 55 OVPA data, 16 importing, 64
193
P
peak data, 15 peak width, 15 peaks and sums, 25 percent of time limit example, 29 percentage of allocation defined, 29 performance calculating for a virtual machine in a cluster, 58 planning determining where to put a workload using automated solution finding, 52 estimating the effect of adding or moving processors, 51 server consolidation, 36 with Capacity Advisor, 35 PMP, importing data into Capacity Advisor, 57 point aggregation for trend calculation, 32 power adjusting calibration, 30 calibrating for multiple systems in Capacity Advisor scenario, 109 calibrating for multiple systems in Virtualization Manager, 107 calibrating for single system in Capacity Advisor scenario, 108 calibrating for single system in Virtualization Manager, 105 calibrating one system at a time, 109 calibration options in Capacity Advisor scenario, 105, 107, 108, 109 initial calibration, 108 power cap data in Capacity Advisor, 30 power consumption, 25 power settings editing in Profile Viewer, 69 procedure access Capacity Advisor Profile Viewer from HP SIM Optimize menu, 68 access Capacity Advisor Profile Viewer from Visualization menu, 68 access Capacity Advisor Profile Viewer when editing a scenario, 68 accessing a scenario forecast model, 84 accessing Capacity Advisor, 55 accessing global forecast model, 82 add global utilization limits in Capacity Advisor, 79 add scenario-wide utilization limits in Capacity Advisor, 80 add scenario-wide workload utilization limits in Capacity Advisor, 81 add workload utilization limits in Capacity Advisor, 80 adding an existing system, 94 adding existing systems to a scenario, 94
194 Index
adding VM hosts to an existing cluster, 97 altering the automated nightly data collection, 58 ascertaining data collection period for set of servers, 66 assigning VM hosts to a VMware DRS cluster in a scenario, 96 automated consolidation to VMs choose destination systems, 110 choose systems to consolidate, 110 set level of effort, 111 view solutions, 111 automated load balance of servers view solutions, 114 automated load balance of VM hosts choose VM hosts to load-balance, 113 view solutions, 114 automated load-balance of servers define constraints, 114 automated load-balance of VM hosts define constraints, 114 set level of effort, 114 automated workload stacking choose workloads to stack, 116 open scenario, 116 set level of effort, 117 stack workloads, 116 view solutions, 117 automating finding solution for workload stacking, 115 automating finding solutions for system consolidation to VMs, 109 calculating a virtualization consolidation ratio, 75 calibrating power for a single system in Virtualization Manager, 105 calibrating power in Virtualization Manager, 107 calibrating power within a scenario, 107, 108 change the data range in Capacity Advisor, 89 change the meter bar calculation in a scenario, 90 change the meter scale of a scenario display, 88 change time and data range in profile viewer, 70 change view of system hierarchy in profile viewer, 69 collect Capacity Advisor data, 55 controlling Capacity Advisor data presentation, 88 copying a scenario, 90 creating a collection schedule, 60 creating a consolidation candidates report, 76 creating a cost allocation report, 76 creating a peak summary report, 76 creating a planning scenario, 86 creating a population report, 77 creating a power report, 78 creating a scenario comparison report, 74 creating a scenario report, 73 creating a system, 93 creating a trend report, 77 creating a workload in a scenario, 100 creating an historic utilization report, 72 defining a forecast model, 85 defining a forecast model for a workload or system, 84
defining global forecast model, 83 deleting a scenario, 92 determining idle/max power values for non-Blade servers, 129 determining idle/max values for Blade servers, 130 disabling a forecast model, 85 edit Capacity Advisor workload, 101 edit I/O capacity in Capacity Advisor scenarios, 99 editing a scenario, 88 editing a system in a scenario, 94 editing a workload in a scenario, 101 enabling a forecast model, 85 enabling or disabling a utilization limit, 80 gathering data the first time, 58 generate Capacity Advisor report, 71 importing HP OVPA data, 64 importing HP PMP data, 65 listing systems currently in agentless configuration file, 63 making VMs become servers, 94 manipulate graphic display of utilization data in profile viewer, 70 manually making servers become VMs, 95 modify data presentation in profile viewer, 69 modifying a collection schedule, 61 move Capacity Advisor workload, 102 moving a VM, 98 parking Capacity Advisor workload, 104 remove a utilization limit, 79 removing a collection schedule, 61 removing a VMware DRS cluster from a scenario, 97 removing Capacity Advisor workload, 104 removing systems from a scenario, 99 removing VM hosts from a VMware DRS cluster in a scenario, 97 renaming a scenario, 90 select targets and set data range when creating reports, 71 setting advanced options in the agentless data collection file, 63 sutomating finding solution to load balance servers or VM hosts, 113 switch to alternate resource metrics in profile view, 71 updating collected data on all systems, 62 updating the data the Profile Viewer displays, 62 viewing forecast data in a profile viewer, 86 processor, 155 hyperthreaded, 11 module, 155 multicore, 11 socket, 155 Profile Viewer access in Capacity Advisor, 67 example, 20 panning, 70 show valid or invalid allocation, 70 show valid or invalid data, 70
Q
quality of service, 23
R
report generate in Capacity Advisor, 71 selecting details for scenario comparison, 74 setting date range in scenario comparison, 74 reports available graphic displays of data, 161 reports and graphs Capacity Advisor procedure overview, 67 requirement disk space, 12 licensing, 12 resources insufficient on VM host for consolidation, 112
S
sampling interval, 25 scenario calibrating power for multiple systems at once, 109 calibrating power for single system, 108 Capacity Advisor operations overview, 86 copy in Capacity Advisor, 90 creating for Capacity Advisor, 86 editing in Capacity Advisor, 88 opening, 105, 108 remove from Capacity Advisor, 92 rename in Capacity Advisor, 90 server consolidation planning, 36, 46 servers viewing all in HP SIM screens, 64 service quality of, 23 service level agreement, 23 service level objective sizing for, 21 Serviceguard cluster node, 119 data collection, 17 workload, 119 SG Member, 119 simulator, 23 stars meaning in Capacity Advisor, 26 Static Profile creating a baseline workload, 127 parameters for workload in Capacity Advisor scenario, 125 static profile providing estimates for, 127 sums and peaks, 25 support, 121 support information, 121 sustained minutes limit example, 29
195
system add existing to Capacity Advisor scenario, 94 create for Capacity Advisor, 93 edit for Capacity Advisor, 94 overprovisioning error, 28 remove from Capacity Advisor, 99 system consolidation automated solutions, 31 System tab accessing Capacity Advisor Profile Viewer, 68 systems Capacity Advisor operations overview, 93
VM guest utilization exceeds VM host utilization, 168 workload performance accuracy, 168 workloads no longer available in scenario for Linux systems, 172
U
utilization aggregate, 11 CPU, 153 data, 11 disk I/O bandwidth, 154 forecasting growth, 33 historical, 11, 15 memory, 155 network I/O bandwidth, 155 utilization limit defaults, 27 defined, 27 for percentage of time, 28 for sustained time, 28 global, 29 precedence table, 30 scenario workload, 29 seenario-wide, 29 specifying one or more, 28 workload, 29 utilization limits editing in Profile Viewer, 69 utilization monitor, 23 Utilization Provider, 17 data collection, 18, 19 start daemon, 167 stop daemon, 167 UUID, 120
T
task result HP PMP data import to Capacity Advisor, 65 task results HP OVPA data import to Capacity Advisor, 65 time unsynchronized, 167 time zone impact on data collection, 27 trend determination in Capacity Advisor, 31 troubleshooting, 165, 175 absence of licensing, 165 absence of user authorization, 166 automatic power management for Linux systems, 172 cannot import PMP data, 170 capprofile data import, 165 collection agents or services not running, 166 CPU utilization seems high on nodes running Microsoft Windows 2003 Server, 168 create scenario wizard requires Adobe Flash Player, 166 data cannot be imported, 170 data collection agent not installed, 166 data collection not configured, 166 data seems to have disappeared, 169 Edit Scenario window not visible, 171 exporting large data sets, 171 HTML report format too wide for printer, 171 licensing before discovery is complete, 165 licensing or authorization issues, 171 Microsoft Internet Explorer timeout, 165 missing profile graph in profile viewer with error message, 172 network connectivity, 166 no power metrics appear for simulated VMware DRS cluster, 173 out-of-memory errors in Java heap, 170, 171 running reports with very large data sets, 171 socket and core count seem off, 168 socket count in population report, 168 system configuration, 165 system credentials, 166 system name duplication error, 172 systems no longer available in scenario, 172 unsupported data collection method, 166
196 Index
V
valid data factors affecting reporting in Capacity Advisor, 32 selecting appropriate business interval, 32 setting threshold values for Capacity Advisor reports, 32 view Capacity Advisor profile viewer, 67 virtual machine, 15, 120 calculating performance when running in a cluster, 58 move in Capacity Advisor, 98 VM guest viewing in profile viewer, 70 VMware ESX calculating Hypervisor Memory Overhead for Capacity Advisor, 128 VMware vSphere calculating Hypervisor Memory Overhead for Capacity Advisor, 129 vseassist, 12
W
warning explanation of messages, 176
WBEM, 178 what-if actions viewing, 91 workload, 11, 15 analysis, 20 calculating performance for, 24 considerations when moving in Capacity Advisor, 102 Copy Profile, 125 create for Capacity Advisor, 100 demand profile, 20 edit for Capacity Advisor, 101 move in Capacity Advisor, 102 multipliers for adjusting to changes in server configuration, 124 OTHER, 155 park in Capacity Advisor, 104 remove from Capacity Advisor, 104 Serviceguard, 119 Static Profile, 125 unassigning in Capacity Advisor, 104 workload stacking automated solutions, 31 Workload tab accessing Capacity Advisor Profile Viewer, 68
197