| United States-English |
|
|
|
![]() |
HP Capacity Advisor Version 4.1 User's Guide > Chapter 5 Basic ProceduresGathering Data for Capacity Advisor |
|
HP Capacity Advisor works best when using generous amounts of data to generate reports and create meaningful simulation scenarios. Though it is most efficient and effective to collect data on a regular schedule, you can also start an up-to-date data collection for reports and profile generation at any time. Collected data is kept on a managed system for 30 days and on the CMS for four years. 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:
To collect data on any system managed using HP SIM and VSE Management Software, you must have the following configured on the CMS:
The data collection process is purposely designed to consume few resources on the managed systems from which data is being collected. This means you can feel free to collect data whenever you want. However, the data collection process can take a relatively long time to run to completion when collecting data from a large number of systems. Collected Capacity Advisor data is not the same as VSE data. For a diagram of the Capacity Advisor data collection infrastructure, see Figure 2–1. When preparing to collect data for use in scenarios or for obtaining historical activity reports, consider the following:
Deciding From Which Servers to Collect Data collection via Capacity Advisor is limited
to those systems recognized as servers within HP Systems Insight Manager
(HP SIM). The list of all possible servers can be viewed by opening
the All Systems view or the All Servers view in the HP SIM left navigation bar. The list of all possible
servers that are licensed with VSE Management Software can be viewed
by opening the All VSE Resources view in the
HP SIM left navigation bar or by opening HP Virtualization Manager
(Tools 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 OpenView Performance Agent or HP Performance Management Pack. Regardless of the method of data collection, once the data is brought into the VSE Management Software database, it can be used in Capacity Advisor scenarios and reports for analysis and planning. For information on bringing agentless and imported data into Capacity Advisor, see the following topics: How to Collect Data Using Capacity Advisor Data collection functions are accessible from multiple locations:
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:
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. In general, the procedures for collecting data are similar: you must select the target system or systems, schedule the collection task for a later run or to run now, and start the task. Upon installation of VSE Management Software (and Capacity Advisor in particular), Capacity Advisor is set to automatically collect data from all discovered managed nodes that are licensed to run Capacity Advisor and from managed nodes that have the HP Insight Capacity Advisor Consolidation Software license. The data collection is set to start at midnight on the CMS time clock. This is called the nightly data collection. It occurs automatically at this time unless and until it is disabled or rescheduled to a different time. Prerequisites To alter the automated nightly data collection:
Procedure 5-2 To Alter the Automated Nightly Data Collection For specific descriptions of each field on the user interface screens, click the help topic link on the software screen for the task.
Once the Status field shows Complete, the collection task is complete. An Exit code of 0 means complete success. Positive values indicate partial or complete failure. For a complete explanation of the error codes, see capcollect(1M). The results of the task are presented in the Stdout and Stderr tab windows. The messages on the Stdout tab include indications of any errors that occur. Be sure to click both tabs for a complete understanding of what happened. See also Appendix Dand “Capacity Advisor Messages” for additional information to help you troubleshoot data collection errors. While error messages are sent to the Stderr tab, the fact that errors have occurred is indicated on the Stdout tab. The messages sent to the Stdout tab are explained below. .
As you review and analyze the resulting data collection, you may notice discrepancies. See “Possible Sources of Discrepancies in Collected Data” for information. As conditions evolve over time or to manage data collection for large numbers of servers, you can schedule one or more periodic data collections in addition to, or in place of, the automated nightly collection. At the scheduled time, Capacity Advisor will pull data collected by the Utilization Provider or via the agentless configuration file into the VSE database on the CMS for storage. Prerequisites To create a collection schedule:
Procedure 5-3 To Collect Data on Selected Systems For specific descriptions of each field on the user interface screens, click the help topic link on the software screen for the task.
See “Interpreting Task Results” for more information about the Task Results screen. As collection needs change over time, you can modify an existing schedule for better results. Prerequisites To modify a collection schedule:
Procedure 5-4 To Modify a Collection Schedule For specific descriptions of each field on the user interface screens, click the help topic link on the software screen for the task.
As your collection needs change over time, you might need to remove a collection schedule. Prerequisites To remove a collection schedule:
Procedure 5-5 To Remove a Collection Schedule
At times, such as when you are generating reports and developing or refining scenarios, you may want to trigger data collection so that your work is based on the most up-to-date data. You may want to do one of the following actions:
You may want to update data for all systems at one time. Prerequisites To update collected data on all systems:
Procedure 5-6 To Update Collected Data on All Systems
At times, you might want to collect data on selected systems. In this case, follow the same procedure as for “Scheduling a Data Collection”, steps 1–9. To update the data in a Profile Viewer display:
This section describes how to progress through the screens that you encounter when configuring a list of systems from which to gather data without the use of an agent for use in Capacity Advisor. Agentless data collection is currently available for systems that run supported versions of Microsoft® Windows® operating system and that are licensed for Capacity Advisor. This section describes the procedure to follow when adding systems to the agentless data collection configuration file. PrerequisitesTo add one or more systems:
Procedure 5-8 Adding Systems to the Agentless Data Collection File This procedure assumes that you are starting from the Virtualization Manager Visualization tab in an appropriate perspective view.
For specific screen descriptions, see “Add Agentless Systems Screens” in Capacity Advisor Help online in the software. This section describes the procedure for determining the current settings for agentless data configuration on a CMS, particularly the list of systems from which to collect data using this method. PrerequisiteTo view the contents of the configuration file:
Procedure 5-9 List Systems in the Agentless Data Collection File
For specific screen descriptions, see “List Agentless Systems Screens” in Capacity Advisor Help online in the software. This section describes the procedures that you can follow when you want to remove some or all systems from the agentless data collection configuration file. Use this procedure when you want to remove some, but not all systems from the agentless data collection file. PrerequisitesTo remove one or more systems:
Procedure 5-10 Remove One or More Systems from Agentless Data Collection File This procedure assumes that you are starting from the HP SIM Configure menu.
Use this procedure when you want to remove all systems at once from the agentless data collection configuration file. PrerequisitesTo remove all systems:
Procedure 5-11 Remove All Systems from Agentless Data Collection File This procedure assumes that you are starting from the Capacity Advisor tab in Virtualization Manager.
For specific screen descriptions, see “Remove Agentless Systems Screens” in Capacity Advisor Help online in the software. This section describes the procedure to use when defining advanced options to be included in the agentless data collection configuration file. PrerequisiteTo change advanced options:
Procedure 5-12 Setting Advanced Options in the Agentless Data Collection File Select an appropriate menu pick. For example, from the Capacity Advisor tab,
select Configure The Specify Parameters screen opens.
For specific screen descriptions, see “Advanced Agentless Options Screens” in Capacity Advisor Help online in the software. What Now? Once you have edited the agentless data collection configuration file to contain the set of desired servers and options, you might want to:
HP provides the HP Insight Capacity Advisor Consolidation software specifically to address the need to understand resource utilization on servers that are targeted for consolidation onto other systems. Such servers often will not be running VSE Management Software. Yet, being able to use Capacity Advisor's planning facilities can greatly reduce the amount of time needed to plan a consolidation effort. The HP Insight Capacity Advisor Consolidation software provides you with an additional, limited license to obtain data from these types of servers for use in Capacity Advisor scenarios. For 6 months from the time the license is locked into its assignment to a server, you can collect data to use in your consolidation planning scenarios within Capacity Advisor. This help topic focuses on applying and using the HP Insight Capacity Advisor Consolidation software. For an overall discussion of licensing for Capacity Advisor and other VSE Management Software, see the HP Insight Dynamics — VSE and HP VSE Management Software 4.1 Getting Started Guide. The HP SIM License Manager allows you to view the available and applied licenses for all products in the HP SIM License Manager database. You can use License Manager to add HP Insight Capacity Advisor Consolidation software licenses to the database and to assign them to managed servers known to HP SIM. For VSE license information and general instructions on how to add these licenses to HP SIM, see “VSE Licenses” in the VSE Management Software Help. To use HP SIM License Manager, you must have administrative rights on the CMS and you must be authorized for the All Tools toolbox on the managed systems that you want to license. Procedure 5-13 Use License Manager to View and Assign Licenses For specific descriptions of each field on the user interface screens, click the help topic link on the software screen for the task.
Because servers using the HP Insight Capacity Advisor Consolidation software are not licensed for VSE Management Software, you must use HP SIM Optimize menu options for Capacity Advisor to collect and manipulate this data. The available Optimize menu options allow you to do the following actions:
Another implication of this limited license is that servers with this license are not visible in the Visualization tab of HP Virtualization Manager. To see these servers in a list, look for “All Servers” selections and links within HP SIM task screens and a few Capacity Advisor screens. The “All Servers” list allows you to view and select servers licensed with the Because servers using the HP Insight Capacity Advisor Consolidation software for inclusion in scenarios or for creating reports. To import system utilization data, the system must be discovered by HP SIM. For systems that you know are running HP OpenView Performance Agent (OVPA), you can verify discovery by clicking “All Systems” or “All Servers” in the HP SIM left navigation bar. If the system has not been discovered, you can
add it manually. (From the HP SIM menu bar, select Options For systems running HP Performance
Management Pack (PMP), select Optimize Once you verify that the system of interest has been discovered by HP Systems Insight Manager, you can import system utilization data into Capacity Advisor. Prerequisites To import OVPA-collected data for selected systems:
Procedure 5-14 Import HP OVPA Data Into Capacity Advisor 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 Technical Reference Guide 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. Prerequisites To import PMP-collected data for selected systems:
Procedure 5-15 Import HP PMP Data Into Capacity Advisor
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 Technical Reference Guide 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.
Several possibilities exist to explain discrepancies that may appear in the data or that may affect data collection. Check these possibilities to understand what actions you can take to correct the discrepancy. If you do not obtain data on systems from which you expect to collect data, use the license scan to help you discover if a lack of licensing for Capacity Advisor may be the problem. To learn about VSE Management Software licenses, including those for Capacity Advisor, review “Adding and Applying Licenses” in HP Insight Dynamics — VSE and HP VSE Management Software 4.1 Getting Started Guideprior to starting a license scan. Also see “Data Collection and the HP Insight Capacity Advisor Consolidation software”.
Should you decide to modify the current licensing, consult the “Adding and Applying Licenses” section of the HP Insight Dynamics — VSE and HP VSE Management Software 4.1 Getting Started Guide for information on how to assign licenses to servers. For best accuracy in providing simulation solutions and historic reporting of actual system resource use, it is assumed that the time clocks of managed nodes are synchronized with the time clock of the central management server. If, on gathering or collecting data, the date stamp on your data is not current, the time or time zone on a managed node may be set incorrectly in relation to the CMS. For instructions on correcting this, see “Data May Appear to be Old When it is Not”. A dynamic memory feature is available in HP Integrity VMs. This allows the memory allocated to each virtual machine to be changed without rebooting the virtual machine. Capacity Advisor is aware of this feature and records both the memory allocated to each virtual machine, as well as how much of this memory is in use for each five-minute interval. Both of these values are correct when the virtual machines are using the dynamic memory feature. When a virtual machine is running HP-UX 11.23, most built-in commands such as top and sar will not be aware of the dynamic memory feature and can show memory sizes that are different from what is recorded by Capacity Advisor. For example, if a virtual machine is initially booted with 16 GB of memory, and is then re-sized to 4 GB, the built-in commands will not know about the change and will show 16 GB for physical RAM. Capacity Advisor, however, will show that the available memory for the VM is 4 GB. Also, when a virtual machine is sized less than its maximum size, some built-in commands will show the kernel using more memory than it is actually using. Related Topics |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||