VMware

** How to copy a VM from ESXi 'A' to ESXi 'B'

  • Enable SSH on ESXi Server A
  • Enable SSH on ESXi Server A
  • Make sure SSH client FW security profile is enabled on Server A (so you can ssh from Server A to Server B)
  • The below command will copy the complete VM folder from Server A to Server B
  • Use Datastore GUI iunterface on vSphere to add VM to the inventory

NOTE: Enable SSH Client on Firewall on Server A, so it is allowed out!!!

scp -r "/vmfs/volumes/datastore1/<VM Folder>" root@<ipaddress of esxiB>:/vmfs/volumes/datastore1/

Make sure SSH is enabled on both Make sure SSH client FW security profile is enabled on Source Server

if you only have a single Datastore - how do you migrate from VMFS 5 to 6

  1. Copy all VMs off VMFS5 to another Machine (or delete!)
  2. Disable Swamp
  3. Change Scratch Config to use “/tmp” folder

Error:

<MISSING_DEPENDENCY_VIBS ERROR: Found=['EMU_bootbank_scsi_be2iscsi_12.0.1108.0-10EM.600.0.0.2494585']

[root@MYESXISERVER:~] esxcli software vib list | egrep iscsi
ima-be2iscsi                   12.0.1108.0-1OEM.600.0.0.2494585      EMU          VMwareCertified   2019-08-16
scsi-be2iscsi                  12.0.1108.0-1OEM.600.0.0.2494585      EMU          VMwareCertified   2019-08-16
[root@MYESXISERVER:~] esxcli software vib remove -n scsi-be2iscsi
Removal Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
   VIBs Installed:
   VIBs Removed: EMU_bootbank_scsi-be2iscsi_12.0.1108.0-1OEM.600.0.0.2494585
   VIBs Skipped:

VMware References

  • Make sure no VMs reference the datastore as CD/DVD drive
  • Unregister all VMs from the Datastore
  • Move all these VMs to a different Datastore
  • Unmount the Datastore
  • Recreate the Datastore as VMFS 6