Difference between revisions of "Managing your VMware vSphere Homelab without vCenter"

From Open Homelab
Jump to: navigation, search
Line 36: Line 36:
[http://www.vmware.com/uk/products/converter/ VMware Converter Product Page (including Download and Documentation)]
==Veeam Backup==
==Veeam Backup==

Revision as of 09:08, 5 May 2016

Running standalone/free ESXi Hypervisors without vCenter means you're missing out on some of the features- creating templates, cloning, moving VMs from host to host etc. There are ways to get vCenter licensing on your homelab - VMUG Advantage and the vExpert Scheme are a couple of good examples -however there are some workarounds you can do to imitate some of the functionality.


With Microsoft Windows 8 and Windows 10 comes great responsibility! in Microsoft PowerShell you can now power on your hosts via there IPMI/ILO interface (if you have IPMI connected hosts obviously!). with the commandlets you can:

  1. Get Information on the IPMI connected host (Get-PcsvDevice)
  2. Power On an IPMI connected host (Start-PcsvDevice)
  3. Power Off an IPMI connected host (Stop-PcsvDevice)



PowerCLI won't let you do anything you're not licensed for- just because the Move-VM cmdlet exists doesn't mean it will run and let you vMotion guests- but you can use PowerCLI to move or copy VMs, there's just a bit of thinking involved to put the script together. For example, to move a VM between independent ESXi hosts with no shared storage we could

  1. Shutdown the Source VM on the Source Host (see the Shutdown-VMGuest cmdlet)
  2. De-register the Source VM on the Source Host (see Remove-VM)
  3. Mount the Source Datastore as a PowerShell Drive (see Get-Datastore and New-PSDrive)
  4. Mount the Target Datastore as a PowerShell Drive
  5. Move the VM files (so all the config files, VMDK's etc) between the two Drives (see Copy-DatastoreItem)
  6. Register the (now Target) VM on the Target Host (see New-VM -VMFilePath)
  7. Power on the Target VM (see Start-VM)

All of these steps are available at the Free licensing level and higher.


ESXi Shell

There's lots of functionality available through the ESXi Shell- remember, as with PowerCLI, you still don't have access to unlicensed features just because you're using the command line.


VMware Converter

This free tool from VMware allows you to move Virtual Machines between different infrastructures so can be used, amongst other things, to cold-migrate between ESXi hosts.


VMware Converter Product Page (including Download and Documentation)

Veeam Backup

Veeam Backup, right from the free offering, allows you to backup a VM and this backup can be restored to a different target host- in effect a cold-migration with an intermediate step.


Veeam on Open Homelab

Someone else's vCenter

Creating an OVF/OVA template requires vCenter, but you can deploy them direct to an ESXi host. So if you have access to a VCenter somewhere outside your homelab (an employer perhaps) then you can use that to create the OVF files and then deploy them back at home.

Deploy OVF Template