Migrate a vSphere server without vMotion
Is there a generally accepted way to migrate a virtual machine that runs vSphere from one host to another without vMotion?
I have a small two-machine vSphere installation. There is no shared storage, and even if there was, vMotion is not licensed on the installation.
I can use the vSphere Update Manager to upgrade one host, but when I attempt to do the other host, it fails:
The host vm02.enets.local has a VM vSphere with VMware vSphere Update Manager or VMware vCenter Server installed. The VM must be moved to another host for the remediation to proceed.
Normally I would just shut the VM down and migrate it while it's offline. But of course, if I do that to the vSphere machine, I will lose the ability to migrate because it's the vSphere server that provides that functionality.
Can you enable the SSH service on the hosts (Tech Support Mode) and SCP the Virtual Machine while it's powered off?
To be recognized, you will need to remove it from inventory on the sending side and add it to inventory on the receiving side.
I'm not sure if this answers your question, but I generally use one of several different methods to move VM's between vSphere hosts that aren't licensed for vMotion:
Use Trilead VM Explorer to replicate the VM from the source host to the target host.
Use WinSCP or Veeam FastSCP to copy and paste the VM's between hosts.
Browse the datastore to download and upload the VM's between hosts.
Note that if you use Trilead VM Explorer you'll need a 30 day trial key to get access to the Replication and/or Backup functions to replicate/copy/move VM's directly between hosts.
I just perform the ESXi host upgrades manually in this case. Shut the offending VM down and run the ESXi updates from the CLI or remote CLI. This is detailed a bit in: Are VMware ESXi 5 patches cumulative?
and
VMWare's technical blog
However, as to the question on how to export/import a VM, I've used the OVF approach mentioned here to migrate a virtual machine between datastores/systems.