How to set up VMware vMotion on Synology NAS

How to set up VMware vMotion on Synology NAS

Details

vMotion is a VMware vSphere function that helps move running virtual machines from one physical server to another without impact or interruption to end users and services. If you want to use vMotion in your virtualization environment, the ESXi hosts should share the same storage server, and the storage server should support multiple sessions. You can enable the multiple session option for iSCSI targets on Synology NAS to perform virtual machine live migration on VMware.

Environment

The instructions in this article are based on VMware vSphere 6.7. If you are using other versions, refer to the links provided in each section.

Resolution

Before you start

Make sure you have:

  1. Set up a Synology NAS that supports iSCSI.
  2. Installed DSM.1
  3. Configured the iSCSI settings on DSM.2
  4. Installed the VMware vSphere Client on your computer.
  5. Set up a VMware ESXi host.

Enable multiple sessions for iSCSI targets

  1. Edit the iSCSI target's settings.
    • DSM 6.2: Open iSCSI Manager. On the Target page, select the target that is connected to a VMware host and click Action > Edit.
    • DSM 7.0: Open SAN Manager. On the iSCSI page, select the target that is connected to a VMware host and click Edit.
  2. Under the Advanced tab, tick Allow multiple sessions from one or more iSCSI initiators.
  3. Click OK (DSM 6.2)/Save (DSM 7.0).

After you enable the option, you should go to the VMware platform and create a datastore. Refer to this article for instructions on setting up LUNs as VMware server datastores.

Migrate virtual machines to another ESXi host in the same data center3

  1. Log in to the vSphere Client and navigate to the host.
  2. Right click on the virtual machine you want to migrate and click Migrate...
  3. Select Change compute resource only and click NEXT.
  4. Select a host, cluster, resource pool, or vApp to run the virtual machine. Click NEXT.
  5. Select a new destination network and click NEXT.
  6. Select Schedule vMotion with high priority and click NEXT.
  7. Click FINISH to start the migration process.

Notes:

  1. Refer to the Hardware Installation Guides for more information about hardware and software installation.
  2. Read this article for instructions on configuring iSCSI on DSM.
  3. Read Migrate a Virtual Machine to a New Compute Resource for instructions for different vSphere versions.
Details
Contents
Environment
Resolution
Before you start
Enable multiple sessions for iSCSI targets
Migrate virtual machines to another ESXi host in the same data center3