Return to site

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines

broken image


  1. Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Machine
  2. Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Free
  3. Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Manual
  4. Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Software
Sponsored By

I've got a pile of demo VMs that Stuart and I and others work on and once they're all setup they tend to get pretty big. After some work recently an 8 gig VM ballooned to nearly 10 gig! There's all sorts of tips and tricks on how to compact VMs, usually by defragging and zero'ing out free space. However, I don't have the time to do this kind of stuff manually, and when I DO run through these processes manually I'm rarely satisfied with the results.

Invirtus VM Optimizer is a clever little tool that solved this particular problem. It's an ISO image that you mount within your guest OS. I used the 'Automatic Corporate' edition. It autoruns on mount and I waited for about 20 minutes. http://ebwcwm.xtgem.com/Blog/__xtblog_entry/18988674-macbook-erase-hard-drive#xt_blog. After it was done, I ran the Virtual Disk Wizard that comes with Microsoft Virtual PC (Invirtus works on VMWare also) and compacted the 9.9 gig VM down to 3.4 gigs in another 10 minutes.

A great way to increase the resiliency of an entire site is to use replication. Using replication, you can take an exact copy of your VMware virtual machine and create a replica of that virtual machine in an entirely different location such as a DR facility. This provides protection to your data and the virtual machines themselves. If you have hardware supported virtualization, make sure your Virtual Machine program such as vmware player, virtual box etc is told to use it. In vmware player, go to edit virtual machine settings as shown in step 1 above, and under the processor tab, choose virtualize intel vt-x/ept or amd-v/rvi and make sure it is checked. See screenshot: 15.). Re: How to optimize Virtual Machine? TobiasKracht Sep 8, 2009 7:07 AM ( in response to Gemini300590 ) VM should have a lot of RAM, at least 1 Gb, and better to copy file to VM and then open it.

So, a total of 30 minutes later I had a VM that was 1/3 the size, ran faster and now fits on a single-layer DVD when the original one wouldn't have fit on even a dual-layer one.

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Machine

Full disclosure: The first Microsoft Virtual Disk Wizard compact operation failed with an obscure error message. I ran chkdsk on both the host and guest OSes, and ran again and everything worked fine. I don't think this had anything do to with Invirtus.

Here's what I can say about Invirtus VM Optimizer - It did exactly what Invirtus said it would do! Always nice to have software work EXACTLY as advertised. Frankly, I would have been thrilled with a 50% size reduction, and was VERY surprised to get 66% as a bonus. I use VMs all the time and the price is a no brainer, US$40 for personal and US$160 for Corporate. Paid for itself in one use.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.


AboutNewsletter

Summary

Requirements

Instructions

Changelog

Comments80

Bugs0

The Virtual Machine Compute Optimizer (VMCO) is a Powershell script that uses the PowerCLI module to capture information about the hosts and VMS running in your vSphere environment, and reports back on whether the VMs are configured optimally based on the Host CPU and memory. It will flag a VM as 'YES' if it is optimized and 'NO' if it is not. For non-optimized VMs, a recommendation is made that will keep the same number of vCPUs currently configured, with the optimal number of virtual cores and sockets.

Note that the VMCO will not analyze whether your VMs are configured with the correct number of vCPUs based on the VM's workload. A more in-depth analysis tool such as VMware vRealize Operations Manager can make right-sizing determinations based on workload and actual performance.

1password 7 3 1 cr2 portable. In order to run the Virtual Machine Compute Optimizer, you will need the following:

  • Windows 7/Server 2008 or above
  • Powershell v5 or higher
  • The PowerCLI Module installed, or access to the internet. The VMCO will attempt to install the module if it is not already, and give you an option to upgrade if it is out of date.
  • A user account with Read-Only rights assigned at the vCenter level with ‘Propogate to children'enabled. These rights will be needed on each vCenter that will be analyzed.

There are a few ways you can launch a Powershell script.

Please see the PDF for full instructions in the download box.

Version 2.1.0

  • Fixed errors in reporting for some VMs that are on hosts with 4 sockets
  • Fixed 'memory' missing from Details when VM memory spans pNUMA nodes
  • Added ability to call function with '-simple' which only reports VM info (leaves out vCenter, Cluster, and Host)

Version 2.0.4

  • Fixed errors with reporting on VMs with odd number of vCPUs
  • Fixed reporting on VMs that have CPU Hot Add enabled

Version 2.0.3

  • Fixed issues with odd number of vCPUs
  • Fixed issue with reporting on VMs with CPU Hot Add enabled
  • Updated documentation

Version 2.0.2 Music paradise player 1 0 3 goldeneye.

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines
  • Modified Get-OptimalvCPU.ps1 to account for vCenters with no clusters
  • Modified Error Catches so they display the line number of the error

Version 2.0.1

  • Corrected Get-OptimalvCPU.ps1 where sometimes cluster information would show as System.Object[].

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Free

Version 2.0.0

  • Priority of the findings are captured
  • Details on the findings are included
  • Cluster information is captured to determine if Host HW is not consistent across the cluster
  • Report if a VM spanning pNUMA nodes actually has the pNUMA exposed to the guest OS
  • Report if advanced settings have been changed on the VM or host level to expose pNUMA to the guest OS
  • Reports if the number of vCPUs for a VM exceeds the physical cores of the host (using hyperthreads as vCPUs)
  • Ability to use the stand alone 'Get-OptimalvCPU' function for more flexibility
Vmoptimizer 1 0 7 – optimize your vmware virtual machines software
  • Modified Get-OptimalvCPU.ps1 to account for vCenters with no clusters
  • Modified Error Catches so they display the line number of the error

Version 2.0.1

  • Corrected Get-OptimalvCPU.ps1 where sometimes cluster information would show as System.Object[].

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Free

Version 2.0.0

  • Priority of the findings are captured
  • Details on the findings are included
  • Cluster information is captured to determine if Host HW is not consistent across the cluster
  • Report if a VM spanning pNUMA nodes actually has the pNUMA exposed to the guest OS
  • Report if advanced settings have been changed on the VM or host level to expose pNUMA to the guest OS
  • Reports if the number of vCPUs for a VM exceeds the physical cores of the host (using hyperthreads as vCPUs)
  • Ability to use the stand alone 'Get-OptimalvCPU' function for more flexibility

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Manual

Version 1.0.4

Vmoptimizer 1 0 7 – Optimize Your Vmware Virtual Machines Software

  • Added a -Property filter to the Get-View commands for hosts and VMs to reduce time and amount of returned data
  • Removed if statement in Get_Optimal_CPU function that included $hostCPUs as it was not yet being used

Version 1.0.3

  • Fixed calculation of # of vm cores which was incorrectly reporting on some vms




broken image