VMware vsphere 5.5: Install, Configure, Manage Lab Addendum. Lab 13: Migrating Virtual Machines - PDF

Please download to get full document.

View again

of 11
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Entertainment & Humor

Published:

Views: 8 | Pages: 11

Extension: PDF | Download: 0

Share
Related documents
Description
VMware vsphere 5.5: Install, Configure, Manage Lab Addendum Lab 13: Migrating Virtual Machines Document Version: Copyright Network Development Group, Inc. NETLAB Academy
Transcript
VMware vsphere 5.5: Install, Configure, Manage Lab Addendum Lab 13: Migrating Virtual Machines Document Version: Copyright Network Development Group, Inc. NETLAB Academy Edition, NETLAB Professional Edition, and NETLAB+ are registered trademarks of Network Development Group, Inc. VMware is a registered trademark of VMware, Inc. Cisco, IOS, Cisco IOS, Networking Academy, CCNA, and CCNP are registered trademarks of Cisco Systems, Inc. Content Introduction... 3 Objective: Use vmotion to migrate virtual machines... 3 Pod Topology Migrate Virtual Machine Files with vsphere Storage vmotion Create a VMkernel Port Group for vmotion Migration Verify that Your ESXi Host Meets vmotion Requirements Verify that Your Virtual Machine Meets vmotion Requirements Perform a vsphere vmotion Migration of a VM on a Shared Datastore Perform a vsphere vmotion Migration to a Local Datastore /2/2014 Page 2 of 11 Introduction This addendum provides detailed guidance on performing Lab 14, Migrating Virtual Machines of the VMware vsphere 5.5 Install, Configure, Manage course, using a NETLAB+ system. Objective: Use vmotion to migrate virtual machines In this lab, you will be using the vclient machine to complete your objectives. You will be performing the following tasks: 1. Migrate virtual machines with vsphere Storage vmotion 2. Create a VMkernel port group for vsphere vmotion Migration 3. Verify that your ESXi host meets vsphere vmotion requirements 4. Verify that your virtual machines meet vsphere vmotion requirements 5. Perform a vmotion migration of a virtual machine on a Shared Datastore 6. Perform a vmotion migration of a virtual machine to a Local Datastore 6/2/2014 Page 3 of 11 Pod Topology 6/2/2014 Page 4 of 11 1 Migrate Virtual Machine Files with vsphere Storage vmotion In this task, you will migrate a virtual machine onto another datastore while it is running using vsphere Storage vmotion. 1. Click on the vclient graphic on the topology page. 2. Log into the vclient VM with the username sysadmin and password vmware Open the Chrome web browser to https:// :9443. If you get a message that the security certificate is untrusted, click Proceed anyway. 4. Login with the username admin and the password vmware. 5. On the Home tab, click on the Hosts and Clusters icon in the Inventories section. 6. Select the StudentVM-01 in the Object Navigator pane and then click on the Summary tab. 7. Scroll down on the page and find the Related Objects box. What datastore is listed next to the Storage entry? 8. Right-click StudentVM-01 in the Object Navigator pane and select Power on. 9. Once the VM has powered on, right-click StudentVM-01 and select Migrate. 10. Record which options are available to you on the Select Migration Type page: 11. Record which options are not available (grayed out) to you on the Select Migration Type page: 12. Verify that Change Datastore is selected and click Next. 13. Select iscsi for the datastore, then Thin Provision for the Select virtual disk format and then click Next. 14. On the Review Selections page, review the information and click Finish. 15. On the Summary page of your StudentVM-01 virtual machine, notice that the VM now resides on the iscsi datastore. 6/2/2014 Page 5 of 11 2 Create a VMkernel Port Group for vmotion Migration In this task, you will create a VMkernel port and use it for vmotion migration. 1. Select esxi-1.vmeduc.com from the Object Navigator pane and click the Manage tab. 2. Click the Networking button. 3. Click the Add Host Networking icon. 4. On the Select connection type page, select VMkernel Network Adapter and click Next. 5. On the Select target device page, select New standard switch and click Next. 6. On the Create a Standard Switch page, click the plus sign. 7. Select vmnic2, click OK and then click Next. 8. On the Port properties page, type vmotion in the Network Label box, mark the vmotion traffic check box and click Next. 9. On the IPv4 Settings page, select the Use static IPv4 settings radio button and enter the following and click Next: a. IP address: b. Subnet mask: On the Ready to complete page, confirm the settings and click Finish. 11. Repeat steps 1-11 for esxi-2.vmeduc.com but for Step 9, change the IP address to /2/2014 Page 6 of 11 3 Verify that Your ESXi Host Meets vmotion Requirements In this task, you will verify that your ESXi hosts meet vmotion requirements. 1. In the Object Navigator pane, select your esxi-1.vmeduc.com host and click its Summary tab. 2. In the Object Navigator pane, select your esxi-2.vmeduc.com host and click its Summary tab. 3. View the Processor Type information to verify that the CPUs are compatible. 4. For each of your hosts, verify the following: a. Click on the Manage tab and click on the Networking button and select VMkernel adapters. Each host should have a vmotion port group attached to the vmk1 Device. b. Click on the Training datacenter in the Object Navigator pane, click on the Related Objects tab in the main workspace, and then double-click on the iscsi datastore. c. Click on the Manage tab and then click the Settings button. d. Select Connectivity and Multipathing. If your esxi-2 host is not listed, proceed to Step 5. If your esxi-2 host is listed, skip to Step 6. 6/2/2014 Page 7 of 11 5. In order to remedy the situation, you must add the iscsi Software Adapter to esxi-2 and add the san VM as a target. Hint: Click on esxi-2 in the inventory, get to the Manage tab and the Storage page, and then add the adapter. Set the Target to with the default port of 3260 and then rescan the adapter. Return to Step 4b. 6. Since both hosts are listed on the Connectivity and Multipathing page, your hosts meet vsphere vmotion requirements. 6/2/2014 Page 8 of 11 4 Verify that Your Virtual Machine Meets vmotion Requirements In this task, you will verify that the virtual machine s settings meet the vmotion requirements. 1. Click on vcenter-1 in the inventory pane and then click on the Related Objects tab followed by the Virtual Machines button. 2. Double-click the StudentVM-01 virtual machine in the list of Virtual Machines. 3. Locate CD/DVD Drive 1 in the VM Hardware list and verify that the column shows Disconnected. 4. Locate Network Adapter 1 in the VM Hardware list and verify that virtual machine is connected to the VM Network network. 6/2/2014 Page 9 of 11 5 Perform a vsphere vmotion Migration of a VM on a Shared Datastore In this task, you will migrate a virtual machine while it is powered on between two hosts. 1. Click on the Hosts and Clusters tab in the Object Navigator pane. 2. In the Object Navigator pane, verify that you can see all of your virtual machines. 3. Right-click the StudentVM-01 virtual machine and power it on if it is not powered on already. 4. When the task completes, right-click the StudentVM-01 virtual machine and select Migrate. 5. On the Select Migration Type page, select Change Host and click Next. 6. On the Select Destination Resource page, select esxi-2.vmeduc.com and click Next. 7. On the Select vmotion Priority page, leave the default selected and click Next. 8. On the Review Selections page, click Finish. This process may take a few minutes. 9. When the task completes, expand both of your hosts in the Object Navigator pane. 10. What VMs are listed on the esxi-1 host? 11. What VMs are listed on the esxi-2 host? 6/2/2014 Page 10 of 11 6 Perform a vsphere vmotion Migration to a Local Datastore In this task, you will migrate a virtual machine while it is powered on to a local datastore. 1. Click on the Hosts and Clusters tab in the Object Navigator pane. 2. In the Object Navigator pane, verify that you can see all of your virtual machines. 3. Right-click the StudentVM-01 virtual machine and select Migrate. 4. On the Select Migration Type page, select Change both host and datastore and click Next. 5. On the Select Destination Resource page, select esxi-1.vmeduc.com and click Next. 6. On the Select Datastore page, select Local-51 and wait for the validation to finish. Click Next. 7. On the Select vmotion Priority page, leave the default selected and click Next. 8. On the Review Selections page, click Finish. This process may take a few minutes. 9. When the task completes, expand both of your hosts in the Object Navigator pane. 10. What VMs are listed on the esxi-1 host? 11. What VMs are listed on the esxi-2 host? 12. Click on the Summary tab of the StudentVM-01 and scroll to the bottom. 13. In the Related Objects window, with what host is the VM associated? 14. What datastore does it reside on? 6/2/2014 Page 11 of 11
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks