Updates from QA Training

Enabling vMotion for VMs connected to Internal Only Virtual Switches

In this blog we look at how to disable in check performed to test if a virtual machine has a connection to an “Internal Network” during a vMotion migration.


Andy Fox | 20 July 2012

In this blog we look at how to disable in check performed to test if a virtual machine has a connection to an “Internal Network” during a vMotion migration.

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.


Andy-Fox

Andy Fox

Senior Learning Consultant

Andy has been a Consultant Instructor with QA for 10 years, and has 16 years IT Training experience. In his 25+ years in the IT industry he has gained experience working with Novell products and Microsoft from MS-DOS onwards. Since joining QA, his focus moved towards SuSE Linux where he gained CLP and CLE status. Over the past 4 years he has been engaged in the delivery of VMware vSphere training and has gained VCP, VCI and VCAP-DCA status.
Talk to our learning experts

Talk to our team of learning experts

Every business has different learning needs. QA has over 30 years of experience in combining the highest quality training with the most comprehensive range of learning services, ensuring the very best fit for your organisation.

Get in touch with our learning experts to talk about how we can help.