{"id":427,"date":"2020-11-24T08:42:24","date_gmt":"2020-11-24T08:42:24","guid":{"rendered":"http:\/\/robinplomp.com\/?p=427"},"modified":"2020-11-24T08:42:24","modified_gmt":"2020-11-24T08:42:24","slug":"configure-vmotion-in-vsphere-environment","status":"publish","type":"post","link":"https:\/\/robinplomp.com\/?p=427","title":{"rendered":"Configure vMotion in vSphere environment"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" title=\"Download\" style=\"HEIGHT: 143px; WIDTH: 262px\" border=\"0\" alt=\"Download\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/download.png\" width=\"326\" align=\"left\" height=\"154\"> Recently I&#8217;ve expanded my lab environment with a second vSphere&nbsp;host. One of the advantages of having two vSphere hosts is that you can move machine from on vSphere host to the other. If you perform this move while the machine is powered down you don&#8217;t and need any additional configuration. However, if you want to move a running machine from one vSphere host to the other without losing connectivity to this VM, you need vMotion. First let me explain what vMotion is.<\/p>\n<p>vMotion in vSphere allows a running virtual machine to move between two different vSphere hosts. During vMotion memory of the VM is sent from the running VM to the new VM (the instance on another host that will become the running VM after the vMotion). The content of memory is changing all the time. vSphere uses a system where the content is sent to the other VM and then it will check what data is changed and send that, each time smaller blocks. At the last moment it will very briefly &#8216;freeze&#8217; the existing VM, transfer the last changes in the memory content and then start the new VM and remove the old one. This process will minimize the time during which the VM is suspended.<\/p>\n<p><!--more-->I am using the Dark mode theme in vCenter. To enable the dark&nbsp;mode, logon to vCenter click on your username, and click on \u201c<em>Switch Theme\u201d<\/em>.<\/p>\n<p><strong>Environment<\/strong><\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-11-19 11_11_35-vSphere - UAG02 - Summary - Work - Microsoft\u200b Edge\" border=\"0\" alt=\"2020-11-19 11_11_35-vSphere - UAG02 - Summary - Work - Microsoft\u200b Edge\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-11-19-11_11_35-vSphere-UAG02-Summary-Work-Microsoft\u200b-Edge.png\"><\/p>\n<p align=\"left\">The above image shows my current lab environment, as you van see there are two vShpere host and &nbsp;16 virtual machines.<\/p>\n<p align=\"left\"><strong>Configuring vMotion<\/strong><\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-10-14 08_31_13-192.168.0.103 - Remote Desktop Connection\" border=\"0\" alt=\"2020-10-14 08_31_13-192.168.0.103 - Remote Desktop Connection\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-10-14-08_31_13-192.168.0.103-Remote-Desktop-Connection.png\"><\/p>\n<p align=\"left\">To configure vMotion on our vSphere host we need to navigate.&nbsp;Menu&gt;Host and Clusters&gt;Select Host&gt;Configure Tab&gt;Networking&gt;VMkerrnel adapters. Click on <em>\u201cAdd Networking\u201d<\/em><\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-10-14 08_31_58-192.168.0.103 - Remote Desktop Connection\" border=\"0\" alt=\"2020-10-14 08_31_58-192.168.0.103 - Remote Desktop Connection\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-10-14-08_31_58-192.168.0.103-Remote-Desktop-Connection.png\"><\/p>\n<p align=\"left\">&nbsp;Click \u201c<em>VMkernel Network Adapter\u201d<\/em>.<\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-10-14 08_32_31-192.168.0.103 - Remote Desktop Connection\" border=\"0\" alt=\"2020-10-14 08_32_31-192.168.0.103 - Remote Desktop Connection\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-10-14-08_32_31-192.168.0.103-Remote-Desktop-Connection.png\"><\/p>\n<p align=\"left\">Click \u201c<em>Select&nbsp;an existing standard switch\u201d.&nbsp;<\/em>Click \u201c<em>Browse\u201d<\/em>&nbsp;and&nbsp;select the available switch. In this example this is \u201c<em>vSwitch0\u201d.<\/em>&nbsp;<\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-10-14 08_33_14-192.168.0.103 - Remote Desktop Connection\" border=\"0\" alt=\"2020-10-14 08_33_14-192.168.0.103 - Remote Desktop Connection\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-10-14-08_33_14-192.168.0.103-Remote-Desktop-Connection.png\"><\/p>\n<p align=\"left\">Tick the&nbsp;box for \u201c<em>vMotion\u201d.<\/em>&nbsp;<\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-11-19 15_47_16-vSphere - homelab.rocyjati.local - VMkernel adapters and 5 more pages - Work - M\" border=\"0\" alt=\"2020-11-19 15_47_16-vSphere - homelab.rocyjati.local - VMkernel adapters and 5 more pages - Work - M\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-11-19-15_47_16-vSphere-homelab.rocyjati.local-VMkernel-adapters-and-5-more-pages-Work-M.png\"><\/p>\n<p align=\"left\">Click <em>\u201cUse static IPv4 settings\u201d. <\/em>Enter an&nbsp;available address, subnet and gateway.&nbsp;<\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-11-19 15_48_03-vSphere - homelab.rocyjati.local - VMkernel adapters and 5 more pages - Work - M\" border=\"0\" alt=\"2020-11-19 15_48_03-vSphere - homelab.rocyjati.local - VMkernel adapters and 5 more pages - Work - M\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-11-19-15_48_03-vSphere-homelab.rocyjati.local-VMkernel-adapters-and-5-more-pages-Work-M.png\"><\/p>\n<p align=\"left\">Check the overview page if all the information is correct, and click Finish.&nbsp;<\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"2020-11-19 11_12_47-vSphere - homelab.rocyjati.local - VMkernel adapters - Work - Microsoft\u200b Edge\" border=\"0\" alt=\"2020-11-19 11_12_47-vSphere - homelab.rocyjati.local - VMkernel adapters - Work - Microsoft\u200b Edge\" src=\"http:\/\/robinplomp.com\/wp-content\/uploads\/2020\/11\/2020-11-19-11_12_47-vSphere-homelab.rocyjati.local-VMkernel-adapters-Work-Microsoft\u200b-Edge.png\"><\/p>\n<p align=\"left\">Under VMkernel adapters you can now see the VMkernel Adapter for vMotion.<\/p>\n<p align=\"left\">You are now able to move&nbsp;running VM&#8217;s from one vSphere host&nbsp;to another without losing connectivity.&nbsp;<\/p>\n<p align=\"center\">&nbsp;<\/p>\n<p align=\"center\">&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I&#8217;ve expanded my lab environment with a second vSphere&nbsp;host. One of the advantages of having two vSphere hosts is that you can move machine from on vSphere host to the other. If you perform this move while the machine is powered down you don&#8217;t and need any additional configuration. However, if you want to &hellip; <a href=\"https:\/\/robinplomp.com\/?p=427\" class=\"more-link\">Lees verder <span class=\"screen-reader-text\">Configure vMotion in vSphere environment<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,33,22],"tags":[],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-esxi","category-vcenter","category-vmware"],"_links":{"self":[{"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robinplomp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=427"}],"version-history":[{"count":3,"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":438,"href":"https:\/\/robinplomp.com\/index.php?rest_route=\/wp\/v2\/posts\/427\/revisions\/438"}],"wp:attachment":[{"href":"https:\/\/robinplomp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robinplomp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robinplomp.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}