Home > vSphere > Enabling vMotion for VMs connected to Internal Only Virtual Switches

Enabling vMotion for VMs connected to Internal Only Virtual Switches

In many of the VMware courses it is stated that if a virtual machine is connected to a “Internal Only” virtual switch is cannot be migrated to another host with vMotion migration.  This is because a check is performed on the virtual machine network configuration to ensure that it will be accessible after the move, and when connected internally that would not be the case, and from a production perspective makes perfect sense.  There would be no point in migrating a virtual machine from one host to another if it could not then communicate with other virtual machines also connected to the same internal network.

From a test and development perspective, this may be desirable.  For example, you may be testing a multitier application (using more than one vm), and resources on the current host (due to other factors) become scarce, migration of the multitier application to another host with sufficient resources would be desirable.

This can be achieved by disabling the test performed when a vMotion is initiated that looks for connection to an internal network.  (I would not recommend that this is done with Production environments!)

From a vSphere Client connected to the vCenter Server navigate to Administration > vCenter Server Settings > Advanced Settings and add config.migrate.test.CompatibleNetworks.VMOnVirtualIntranet with a value of “false”.

This change does not require a restart of vCenter Server.

Obviously to change the setting back, change the value to “true”.

For more detail check out the VMware Knowledgebase Article 1003832.

Advertisements
Categories: vSphere
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: