| United States-English |
|
|
|
![]() |
HP Capacity Advisor Version 4.0 User's Guide > Chapter 4 Planning with Capacity AdvisorTask: Planning Server Consolidation |
|
This section starts with a generic procedure (“Understanding the Process”) for consolidating servers followed by an example of server consolidation (“Example: Consolidating to an Existing Server: Stacking Programs”). Consolidating workloads to a new server or to free up an existing server is a common task. Capacity Advisor can help make the decisions about how to consolidate the workloads informed ones. There are three fundamental approaches to consolidating servers:
The task description below is based on stacking Virtual Machines. For other approaches, the step describing editing the scenario would be different. Prerequisites. To plan for consolidating servers:
Procedure 4-1 To Consolidate Server Loads
This example demonstrates how Capacity Advisor can be used to plan for the simplest method of server consolidation: stacking programs. It illustrates many screens that you will encounter in Capacity Advisor.
Assume that several virtual machines were set up over the last few months to support applications. There is good data on resource utilization, and it is a good time to see if consolidating the applications can free up resources for other uses. The steps referenced in the following titles are from the procedure “Understanding the Process”. This step requires a profound knowledge about the systems. Many questions need to be answered about each system. Different consolidation models make different questions appropriate and others inconsequential. The questions listed below are derived from the questions in the generic procedure provided above.
This list is simply illustrative, many other questions may need to be answered for your particular environment. For the purposes of this exercise, the following three virtual machines running on puny03 are being considered for consolidation:
Each of the three systems has two processors and:
When finished creating a new scenario, the Edit Scenario screen automatically opens for editing the new scenario. The current systems in the scenario are listed on the System tab. The bar graphs in the table show the peak resource utilization from data collected for the current week. The following image shows the three virtual machines mentioned at the beginning of this planning example.
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's worth of data. Change the simulation interval to a month by clicking the first drop-down list of the Simulation Interval (where you see the word “Week”) and selecting Month from the list. Once the screen has refreshed, new information about resource utilization is available. In this case, you can see that the utilization peaks for CPU, memory, and I/O disk bandwidth have increased.
Look at the CPU utilization profile for the system with the heaviest load (in this case, puny03v8), by clicking the first bar graph beside its name. A profile viewer for the selected resource and system opens.
There are several periodic peaks that use a little over half of the available CPU resource. The majority of the time usage is below 25 percent of the available cores. Examining the tabular summary can provide more insight into the resource usage on this server:
From the table, you can see the average utilization is less than 7 percent of the available resource, while the 90th Percentile value is less than 9 percent of two cores. Also note that there are times when applications are using a little over half of the CPU allocation for the allowed 15–minute duration. Returning to the Edit Scenario screen through the “Go back to....” link, you can review the number of cores on each of the systems in a scenario in the Scenario Systems table. (See “Step 3: Edit the Scenario” for example screen shots.) In this example, all of the VMs have the same number of cores allocated (2 cores at 1.10 GHz for each VM). A look at the month long accumulation of peaks shows that the usage of the VM CPU core allocation ranges from 60% to 84% among the three servers. By mousing over the machine name in the left column of the systems table, you can see the current utilization limits set for these VMs (they are allowed to exceed 85 percent utilization 0 percent of the time).
Altogether, this indicates that for best fit, a consolidated VM will need more than 2 cores to support all the applications. Based on the one month of data in this example, it seems unlikely that the consolidated VM will need the 6 cores currently allocated to the three separate VMs. Taking into consideration the historic CPU usage and the utilization limit for all three virtual machines, one additional core is added to the target consolidation VM, puny03v8
Add one processor to puny03v8:
Next, move the workloads from selected servers (puny03v7 and puny03v9) to the consolidation server (puny03v8).
Returning to the Edit Scenario screen through the “Go back to....” link, you can review the amount of memory on each of the virtual machines in a scenario. (See “Step 3: Edit the Scenario” for an example screen shot.) In this example, all of the VMs have the same amount of memory allocation (.99 GB). However, all of the VMs are using over half of their allocation, which means that a consolidated VM will need more memory. To provide adequate memory, edit the system again.
The list of systems with new values is displayed on the System tab.
To quickly estimate the quality of service of the new configuration, it is useful to review both the utilization limits on the workloads and the combined resource utilization history of the workloads now on puny03v8. To see the current utilization limits assigned to the workloads on the consolidated server, mouse over the workload name in the name column of the System table on the Edit Scenario-System tab. Because all of the workloads have the same limits in this example, we can review the limits for the puny03v8 workload.
Now click on the CPU Utilization bar graph to open the Profile Viewer for this resource. Notice in the next example screen shot, in the Interval Metric Summary table, that peak utilization on this system is now at 62 percent of 3 cores. As the limit for CPU utilization is 85 percent for any workload, it appears that more CPU is assigned than is needed for this system. In this example, the number of CPU cores probably could be set to 2.5 instead of 3 and still meet the utilization limits for this resource.
Click the Memory radio button above the graph to switch to the memory utilization Profile Viewer. The graph indicates that memory utilization is steady, and the table data shows that measured utilization comfortably approaches the utilization limit set at 65 percent for this resource. Collecting data on the system after consolidation can provide a better picture of how much memory is actually used by the system once it is deployed.
In Step 8 of “Moving Workloads”, it appeared that I/O disk utilization would be very near the utilization limit set for the VM Host (95 percent). Click the I/O Disk radio button to check on I/O disk bandwidth utilization. The graph and table data indicate that I/O disk bandwidth utilization is well within the utilization limit for the VM Host.
The simulation scenario just completed shows that combining applications from the three virtual machines can lead to a significant reduction of the number of processors required (from 6 CPU cores to 2.5 or 3). Using peak-of-sums modeling provides a clearer picture of resource usage as compared to the traditional sum-of-peaks model. Depending on the licensing model for this setup, the number of licenses required for the underlying database application may have been reduced also. Would it be possible to reduce the number of processors further? Return to the CPU utilization profile by clicking on the CPU radio button and locate the 90th Percentile value in the Interval Metric Summary table:
This value indicates that 90 percent of processing is occurring using only 19 percent (1/5) of the available CPU cores. A detailed report can give more insight into what this implies for the number of CPU cores needed. To investigate further reduction of CPU allocation, generate a report on the scenario:
Other variations on creating a report are available. See “Stepping Through the Report Wizard”. This report combines many tabular summaries that provide detailed descriptions of the resource utilization. The one most helpful in this instance is the Time spent at or above each percent of allocation table for CPU utilization. Scroll down to see it.
From the 60% line in the table, with 0.02% of the time spent at that level, only an absolutely mission critical application would require more than three processors. Dropping down to the 40% row, with 1.64% of the time spent at or below that value, some applications might be able to tolerate dropping down to two processors. What final allocations are decided upon will be a business decision once the alternatives are understood. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||