20150514-vSphere6-ICM-Day4
Lesson 3: Migrating Virtual Machines
Migrating Virtual Machines
Types of migrations
- Cold
- Migrate a virtual machine that is power off.
- Suspended
- Migrate a virtual machine that is suspended
- vMotion
- Migrate a virtual machine that is power on
- vSphere Storage vMotion
- Migrate a virtual machine’s files, while the virual machine is powered on, to a different datastore.
Cross-Host vMotion = vMotion + Storage vMotion
Comparison of Migration Types
- 目前vSphere 6 Migration 都可以跨 vCenter Servers
How vSphere vMotion Migration Works
vMotion 的必要條件
- 要有 shared storage
- 要有vMotion Network ( 如果是長距離的 vMotion 不可以用預設的VMkernel Port, 要使用 vMotion 專用 )
- Virtual Machine Port Group
Notes:
- 同一台主機同時只能做兩個 Storage vMotion 或是 8 個 vMotion, ( 但是如果同時有進行vMotion 以及 Storge vMotion 就是 2 Storage vMotion + vMotion 與 6 vMotion )
vSphere vMotion Migration Requirements
- 不可以有 internal vSwitch(沒有 uplink 的vSwitch)
- 不可以連接到 virtual device ( such as a CD-ROM or floppy)
- A virtual machine must not have CPU affinity configured.( 不可以指定CPU)
- swap 必須被目的地主機存取的到
- If a virtual machine uses an RDM, the RDM must be accessible by the destination host.
vSphere Storage vMotion in Action
- 如果有支援 VAAI ( Enterprise 版本以上 ) 那就可以在Storage 直接搬移, 如果是 Standard 版本則是利用 ESXi 上的 Data Mover 來搬動, 有效能的差異.
Cross-Host vSphere vMotion
- 必須使用 Web Client 才能操作
Migration Between vCenter Server Instances
This type of migration requires:
- ESXi hosts and vCenter Server systems must be upgraded to vSphere 6.
- vCenter Server instances must be in Enhanced Linked Mode.
- Hosts must be time-synchronized.
vSphere vMotion TCP/IP Stacks
In vSphere 6, each host has a second TCP/IP stack dedicated to vSphere vMotion migration.
Network Checks for Migrations Between vCenter Server Instances
vCenter Server performs several network compatibility checks to prevent the following configuration problems:
- MAC address compatibility on the destination host
- vSphere vMotion migration from a distributed switch to a standard switch
- vSphere vMotion migration between distributed switches of different versions
- vSphere vMotion migration to an internal network, for example, a network without a physical NIC
Lab 14: Migrating Virtual Machines
- 進行 storage vMotion
- 建立 vSwitch 以及 VMkernel port group
- 執行 vMotion
- 執行 Cross-Host vSphere Storage vMotion
Lesson 4: Creating Virtual Machine Snapshots
Remove VM
- Remove from Inventory
- Delete from Disk
Lesson 5: Creating vApps
Managing Virtual Machines with a vApp
Create vApp
- Standalone Host
- DRS cluster
A vApp:
- Is a container for one or more virtual machines
- Can be used to package and manage related applications.
Lab 15: Managing Virtual Machines
Lab 16: Managing vApps
-- 上午課程結束 --
下午處理公事無法上課 Orz….
-- Class End --
沒有留言:
張貼留言