Vmware Server Free Edition

 Posted admin

Check out my new vm cloning article here.

Vmware Server Free Edition

VMware vSphere is the most robust virtualization solution today. Cloning a Virtual Machine (VM) in ESxi 5.1 is a feature of vCenter server. Out of the box vSphere free edition hypervisor does not support cloning. But there is an alternative way to clone a VM.

In this example we will use version 5.1.0.

Veeam Backup Free Edition 9.5 User Guide > User Guide > Backup Infrastructure > Adding VMware vSphere Servers. Adding VMware vSphere Servers. You must add to the backup infrastructure VMware vSphere servers on which VMs that you plan to process reside.

vSphere client connection

Hypervisor

First connect to the VSphere using the vSphere client and power off the source VM.

Select the Configuration tab and Storage settings on the left menu. The Datastores list will come up on the right pane.

Edition

vSphere Datastores

Right click on the datastore of the source VM and select Browse.

Right click on the root folder on the left tree and create a new folder. e.g Application

Copying the files

Select the source folder of the VM to be cloned (2008R2 Machine in this example) and select the configuration file (.vmx) and the virtual disk file (.vmdk). Right click and copy them to clipboard. Now select the destination folder and paste the two files. Finally, right click the copied .vmx file and select Add to Inventory.

Enter the name of the cloned VM and finish the wizard. Now the VM has been created to the vSphere hypervisor.

In case of using a VM as a template you should make sure that the template is unique everytime. So you must use sysprep utility to generalize the VM. In case of windows 2008R2 sysprep is included in the windows installation, under the folder c:windowsSystem32sysprep. This utility exists for other Windows versions as well.

Sysprep utility

Run sysprep and select Enter System Out-of-Box Experience, check the Generalize box and select Shutdown.

Now everytime you power on the template VM, a mini setup will come up to configure your new VM.

Post Remarks

Check out my new vm cloning article here.

As Frank noted in the comments, it is possible to clone the vm and specify the filenames by command. SSH to your ESXi and use the vmkfstools -i command. Use -d option to specify the thin/thick disk format. Be careful if you need to consolidate delta disks/snapshots. You can find more detailed information in this VMware’s article.

Advertisements

Installing VMware Tools on running virtual machines in a VMware vSphere environment is best practice and a great way to make sure the running virtual machines perform at their best. Having VMware Tools running as well is a necessary requirement for most modern data protection solutions that utilize VMware Tools as a means to perform “application aware” backups that allow applications such as Microsoft SQL Server to be backed up in an application consistent state. Generally speaking when you update your VMware ESXi host versions either via patches or upgrade media (i.e. going from 6.0 to 6.5), there are VMware Tools upgrades available. Let’s take a quick look at how to Upgrade VMware Tools to Latest Version via GUI and PowerShell. Also, we will look at how VMware has decoupled the VMware Tools version from the version of ESXi.

Upgrade VMware Tools to Latest Version GUI

Perhaps the easiest and most intuitive way to upgrade the VMware Tools version is simply using the GUI. For the most part here, I will be showing the Flash client instead of HTML5. The functionality is there with HTML5 however, there are still a few views that don’t appear with HTML5. The first helpful bit with the web client is to show the “VMware Tools Version Status” column. To do this, right click in the default columns area, and you should see the Show/Hide Columns option.

Choosing VMware Tools version status column to display

After clicking the Show/Hide Columns option, choose the VMware Tools Version Status checkbox.

Select the VMware Tools Version status checkbox

Now your VMs listing should have the column available and show the tools version and an indication of whether there is an upgrade available.

Showing which virtual machines have VMware Tools upgrade available

To upgrade any virtual machine VMware Tools version, simply right-click on the VM, select Guest OS >> Upgrade VMware Tools option.

This displays the Upgrade VMware Tools dialog box. There are a couple of options available here:

  • Interactive Upgrade – The interactive upgrade mounts the VMware Tools ISO and allows the upgrade process to be run interactively within the Windows guest operating system.
  • Automatic Upgrade – The automatic upgrade process is preferable since you can run the upgrade without logging into each virtual machine. Additionally, by using the Advanced Options switches, you can specify no reboot options such as the string below:

Choosing the VMware Tools Upgrade option

Once we kick off the VMware Tools upgrade option, we can see the progress in the Recent Tasks window of the web client.

Upgrade VMware Tools to Latest Version PowerCLI

We can use the power of PowerCLI to see tools that need to be upgraded as well as to actually perform the upgrade. Use the command below to see the virtual machines that have the VMware Tools status of guestToolsNeedUpgrade:

We can also initiate a mass upgrade of all VMs that need the tools upgrade by the following command:

Above, we are passing the found VMs that need an upgrade to VMware Tools to the For loop and specifying the noreboot parameter and the runasync parameter which kicks all that need the upgrade off at once instead of serially working through each one.

VMware Tools version no longer tied to the ESXi version

Starting with VMware Tools version 10, VMware has decoupled the VMware Tools version from the ESXi version. Black widow solitaire free free. So in other words, you don’t have to wait for the latest VMware ESXi version to have the latest VMware Tools version and also virtual machines are not necessarily tied to the host for the VMware tools version.

Vmware Vsphere Free Edition Download

You can now download the latest and greatest VMware tools version directly from VMware and they are released asynchronously from the ESXi version.

There is a great post from Brian Graf about setting up the Product Locker to serve as a centralized location to upgrade VMware Tools. This procedure shows how to setup the Product Locker method to provide the centralized repository for ESXi hosts which centralizes the VMware Tools upgrades, versioning, etc. Be sure to check that out as this is a much better way of controlling VMware Tools moving forward.

See Current VMware Tools Version and Upgrade Resources

Vmware Server Free Download

Download

There are many good tools at our disposal to see the current VMware Tools version. One of those resources is the vmwaretoolboxcmd.exe utility that is found in the VMware Tools directory of a virtual machine that already has VMware Tools installed. Using this utility along with the “-v” switch, we can see the current version specifically.

See Current VMware Tools Version with Commandline

As shown above, we can see the Tools version as well as the build version. VMware has a very helpful VMware Tools Version Mapping file link that is publicly available to check VMware Tools version. Interestingly, you can see at the top the esx/0.0 listing next to the current 10.1.15 VMware Tools version showing the departure from the most current and a specific ESXi version.

Upgrade VMware Tools to Latest Version Thoughts

The process to Upgrade VMware Tools to Latest Version is easily done from both the GUI as well as using PowerCLI. It is extremely important to keep VMware Tools updated and current as this ensures the virtual machine will run with best performance and stability during application aware backups especially. Using the new method for creating and maintaining a centralized ProductLocker location can help to keep all hosts no matter what version pulling the latest VMware Tools version for running virtual machines.