| United States-English |
|
|
|
![]() |
HP Capacity Advisor Version 4.0 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. 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 Capacity Advisor, such as HP OpenView Performance Agent or HP Performance Management Pack. See “Importing Data for Use in Capacity Advisor” for information. 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:
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 Capacity Advisor Extension Pack 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.
The following procedure can be used to stop automatic collection on a large number of systems or to move the nightly collection time to a period more suitable to your network. Prerequisites. To alter the automated nightly data collection:
Procedure 5-2 To Alter the Automated Nightly Data Collection
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) or the HP Capacity Advisor Version 4.0 User's Guide. 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: “Troubleshooting and 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. Prerequisites. To create a collection schedule:
Procedure 5-3 To Collect Data on Selected Systems
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
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:
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 “Activating Licenses” in VSE Management Software Version 4.0 Getting Started Guideprior to starting a license scan. Also see “Data Collection and the Capacity Advisor Extension Pack”.
Should you decide to modify the current licensing, consult the “Activating Licenses” section of the VSE Management Software Version 4.0 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. HP provides the Capacity Advisor Extension Pack 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 Capacity Advisor Extension Pack provides you with an additional, limited license to obtain data from these types of servers for use in Capacity Advisor scenarios. For six 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 Capacity Advisor Extension Pack. For an overall discussion of licensing for Capacity Advisor and other VSE Management Software, see the VSE Management Software Version 4.0 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 Capacity Advisor Extension Pack licenses to the database and to assign them to managed servers known to HP SIM. For instructions on how to add the Extension Pack licenses to HP SIM, see the VSE Management Software Version 4.0 Getting Started Guide. 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-8 Use License Manager to View and Assign Licenses
As Extension Pack servers 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 extension pack 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 Extension Pack 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-9 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-10 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||