|
Virtual Machines - Right-Sizing
In a large virtualized environment, it is often a challenge to identify which VMs are over-sized and which ones are under-sized. To help administrators quickly and accurately isolate such VMs, eG Enterprise includes a VM Right sizing report. This report highlights the VMs on a chosen host(s) that either have more CPU resources than required or less CPU resources than they need. From this report, administrators can also get valuable hints on how to right-size these VMs. Administrators can use this information to right-size their virtual infrastructure for maximum return on investment.
To generate the VM Right Sizing report, do the following:
Select the Right-Sizing option by following the menu sequence: REPORTS BY FUNCTION -> Domain Specific Reports -> Virtualization -> Virtual Machines.
The Virtual Machines - Right-Sizing page will then appear. Pick a Criteria for analysis from the Analyze by list. Using this report, you can analyze the size of the VMs available in the servers that are part of a segment, service, or a zone. The options provided by the Analyze by list box are discussed hereunder:
Component: Select this option to choose the component(s) from across all the managed components in the environment.
Service: Select this option if the components for which a report is to be generated are involved in the delivery of a business service. Then, select a Service.
Segment: Choose this option if the components for which this report is to be generated are part of a segment. Then, pick a Segment for analysis.
Zone: Pick this option if the components chosen are part of a zone. Then, choose a Zone. Also, indicate whether the components within the sub-zones of the chosen zone are also to be considered for report generation, by selecting an option from the Include subzone list.
Select the Component Type for which you wish to analyze the sizing of the VMs.
The Components list will then be populated with the servers that match the Analyze by criteria specified earlier. From this list, select the components for which the report is to be generated. If the Components list consists of too many components, then viewing all the components and selecting the ones you need for report generation could require endless scrolling. To avoid this, you can click the button next to the Components list. This will open the Components pop up window using which you can view almost all the components in a single interface and Select the ones for which the report is to be generated. If there are still too many components in the list to choose from, you can narrow your search further by using the Search Components text box. Specify the whole/part of the component name to search for in this text box, and click the icon next to it. The Components list will then be populated with all component names that embed the specified search string. Select the component of your choice from this list.
Pick an option from the Criteria list box using which you could generate a report based on the size (oversize/undersize) of the VMs. By default, the Oversized VMs option is selected from this list. If the Undersized VMs option is chosen from this list, then the report will be generated for all the VMs that are undersized i.e., for the VMs that perform most of the operations with lesser number of vCPUs/memory/vGPUs.
By default, this report analyzes the sizing of the VMs based on the CPU utilization and recommends allocation of vCPUs appropriately. Therefore, CPU Usage option is chosen from the Metric list. Likewise, if you wish to generate this report and figure out the sizing of the VMs based on the memory utilization and the usage of the vGPUs, then you can choose the Memory Usage option and the GPU Usage option respectively.
If you wish to view only the oversized/undersized VMs for the chosen server in the target environment, set the Show Matching VMs Only flag to Yes. By default, this flag is set to No.
Then, specify the Timeline for which the report is to be generated. You can either provide a fixed time line such as 1 hour, 2 days, etc., or select the Any option from the list to provide a From and To date/time for report generation.
Note:
For every user registered with the eG Enterprise system, the administrator can indicate the maximum timeline for which that user can generate a report. Once the maximum timeline is set for a user, then, whenever that user logs into eG Reporter and attempts to generate a report, the Timeline list box in the report page will display options according to the maximum timeline setting of that user. For instance, if a user can generate a report for a maximum period of 3 days only, then 3 days will be the highest option displayed in the Timeline list - i.e., 3 days will be the last option in the fixed Timeline list. Similarly, if the user chooses the Any option from the Timeline list and proceeds to provide a start date and end date for report generation using the From and To specifications, eG Enterprise will first check if the user's Timeline specification conforms to his/her maximum timeline setting. If not, report generation will fail. For instance, for a user who is allowed to generate reports spanning over a maximum period of 3 days only, the difference between the From and To dates should never be over 3 days. If it is, then, upon clicking the Run Report button a message box will appear, prompting the user to change the From and To specification.
In addition to the settings discussed above, this report comes with a set of default specifications. These settings are hidden by default. If you do not want to disturb these default settings, then you can proceed to generate the report by clicking the Submit button soon after you pick a component. However, if you want to view and then alter these settings (if required), click on the button. The default settings will then appear in the More Options pop up window. The steps below discuss each of these settings and how they can be customized.
From the More Options window, indicate the report Timeperiod.
Specify the percentage of CPU utilized by virtual machine's in VMs are undersized when amount of VCPUs used is above (%) textbox.
eG Enterprise allows users to generate desired reports for a specific time period. In large environments, while generating reports for long time periods, say a few weeks to months, report generation was found to slow down, owing to the large volume of data being processed. If users needed to generate many such reports quickly, the slowdown compelled them to generate these reports one after another, thus affecting the speed of their operations, and consequently, their productivity. eG Enterprise now includes a background processing feature that will enable users to process multiple reports, spanning long time periods in the background, while allowing them the bandwidth to generate short-term reports in the foreground. This way, users can generate multiple reports with little-to-no loss of time. To schedule background processing of a report, select the Background Save - PDF option from the Report Generation list. In this case, a Report Name text box will appear, where you would have to provide the name with which the report is to be saved in the background. To process reports in the foreground, select the Foreground Generation - HTML option from this list.
Note:
The Report Generation list will appear only if the EnableBackgroundReport flag in the [BACKGROUND_PROCESS] section of the eg_report.ini file (in the {EG_INSTALL_DIR}\manager\config directory) is set to Yes.
The default selection in the Report Generation list will change according to the Timeline specified for the report. If the Timeline set is greater than or equal to the number of days specified against the MinDurationForReport parameter in the [BACKGROUND_PROCESS] section of the eg_report.ini file, then the default selection in the Report Generation list will be Background. On the other hand, if the Timeline set for the report is lesser than the value of the MinDurationForReport parameter, then the default selection in the Report Generation list will be Foreground. This is because, the MinDurationForReport setting governs when reports are to be processed in the background. By default, this parameter is set to 2 weeks - this indicates that by default, reports with a timeline of 2 weeks and above will be processed in the background.
Finally, click the Run Report button.
If you have chosen Oversized VMs from Criteria list, No from the Show Matching VMs Only list and the CPU Usage from the Metric list, the VM Right Sizing Report then appears as follows:
For each VM hosted on the chosen component, this report lists the percentage of vCPU that is utilized, the number of vCPUs and an indication of whether the VM is oversized/undersized. If a particular VM is oversized, then the value Yes encoded with Red color is specified in the Is VM Oversized? column against that VM. The value No encoded with Green color in this column specifies that the VM is adequately sized. Likewise, if the VM is oversized, then a message will appear in the Remarks column suggesting you to reduce the exact number of vCPUs so that the VM can be optimally sized. The same procedure is followed to indicate the VMs that are undersized. In this case, the Is VM Undersized? column is used to indicate the VMs that are undersized. Based on the Number of vCPUs and the vCPU Usage of the individual VM, you can conclude whether the VM is adequately sized or is currently oversized/undersized.
By default, the Host column of this report will be sorted in ascending order which is indicated by an Up arrow. You can sort this report based on any column by just clicking on the column name - say for example, if you wish to sort the report based on the Number of vCPUs column, then simply clicking on the column will sort the report in descending order. Likewise you can sort the report based on any column.
If the Criteria chosen is Oversized VMs, CPU Usage is chosen from the Metric list and the Show Matching VMs Only flag is set to Yes, then this report will list only the VMs that are currently oversized.
If the Average vCPU utilization of a VM is considerably high and a fewer number of vCPUs are allocated for that VM, then we can conclude that the VM is currently undersized. The Remarks column of that VM will suggest you to increase the number of vCPUs allocated to the VM.
If you have chosen Oversized VMs from Criteria list, No from the Show Matching VMs Only list and the Memory Usage from the Metric list, the VM Right Sizing Report then appears as follows:
For each VM hosted on the chosen component, this report lists the percentage of memory that is utilized, the memory configured for the VM and an indication of whether the VM is oversized/undersized. If a particular VM is oversized, then the value Yes encoded with Red color is specified in the Is VM Oversized? column against that VM. The value No encoded with Green color in this column specifies that the VM is adequately sized. Likewise, if the VM is oversized, then a message will appear in the Remarks column suggesting you to reduce the memory configured for the VM so that the VM can be optimally sized. The same procedure is followed to indicate the VMs that are undersized. In this case, the Is VM Undersized? column is used to indicate the VMs that are undersized. Based on the Configured Memory and the Memory Usage of the individual VM, you can conclude whether the VM is adequately sized or is currently oversized/undersized.
By default, the Host column of this report will be sorted in ascending order which is indicated by an Up arrow. You can sort this report based on any column by just clicking on the column name - say for example, if you wish to sort the report based on the Configured Memory column, then simply clicking on the column will sort the report in descending order. Likewise you can sort the report based on any column.
If the Criteria chosen is Oversized VMs, GPU Usage is chosen from the Metric list and the Show Matching VMs Only flag is set to Yes, then this report will list only the VMs that are currently oversized.
If you have chosen Oversized VMs from Criteria list, No from the Show Matching VMs Only list and the Memory Usage from the Metric list, the VM Right Sizing Report then appears as follows:
- For each VM hosted on the chosen component, this report lists the name of the GPU card that is utilized by the VM, the percentage of GPU utilized and the GPU memory utilized by the VM. By analyzing the utilization of the GPU, this report provides administrators an insight of whether the GPU can be utilized by the VM or can be shared across VMs.
|