๐๐๐ฐ๐๐ซ๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง: ๐๐ซ๐๐ก๐ข๐ญ๐๐๐ญ๐ฎ๐ซ๐, ๐๐ฒ๐ฉ๐๐ฌ, & ๐๐๐๐ฅ-๐๐จ๐ซ๐ฅ๐ ๐๐ฌ๐ ๐๐๐ฌ๐๐ฌ-
๐๐๐ฐ๐๐ซ๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง: ๐๐ซ๐๐ก๐ข๐ญ๐๐๐ญ๐ฎ๐ซ๐, ๐๐ฒ๐ฉ๐๐ฌ, & ๐๐๐๐ฅ-๐๐จ๐ซ๐ฅ๐ ๐๐ฌ๐ ๐๐๐ฌ๐๐ฌ-
------------------------------------------------------------------------ VMware vMotion is a VMware feature that allows a running virtual machine (VM) to move from one ESXi host to another with zero downtime. ⚙️ ๐๐จ๐ฐ ๐๐จ๐๐ฌ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง ๐๐จ๐ซ๐ค? vMotion works by copying VM memory and state from the source host to the destination host while the VM is still running. ๐๐ญ๐๐ฉ-๐๐ฒ-๐ฌ๐ญ๐๐ฉ ๐๐ฅ๐จ๐ฐ: ⁎ vCenter initiates migration ⁎ VM memory is copied to the destination host ⁎ Changed memory pages are tracked and re-copied ⁎ VM execution switches to the destination host ⁎ Source host releases the VM ✔️ The entire process happens in milliseconds. ✅๐ฏ๐๐จ๐ญ๐ข๐จ๐ง ๐๐ซ๐๐ซ๐๐ช๐ฎ๐ข๐ฌ๐ข๐ญ๐๐ฌ Before using vMotion, these must be configured: ๐น Infrastructure Requirements • Both hosts must be managed by VMware vCenter Server • Hosts must be in the same vCenter • Compatible CPUs • vMotion supported license ๐น Network Requirements • vMotion VMkernel port enabled on both hosts • Same vMotion VLAN • Low-latency network ๐น Storage Requirements • Shared datastore (for Compute vMotion) • OR different datastores (for Storage vMotion) ๐๐๐ฒ๐ฉ๐๐ฌ ๐จ๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง ๐ข๐ง ๐๐๐ฐ๐๐ซ๐ 1️⃣ ๐๐จ๐ฆ๐ฉ๐ฎ๐ญ๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง Compute vMotion is used when you want to move a running virtual machine from one ESXi host to another, but you do not want to move its storage. • The VM stays powered ON during migration • Only CPU, memory, and VM execution state are moved • The VM disk remains on the same shared datastore • Users continue working without any interruption 2️⃣ ๐๐ญ๐จ๐ซ๐๐ ๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง Storage vMotion is used when you want to move a VM’s disk files from one datastore to another, while the VM continues running on the same ESXi host. • VM remains powered ON • Only storage (VMDK files) is moved • Host does not change • No downtime for applications 3️⃣ ๐๐ก๐๐ซ๐๐-๐๐จ๐ญ๐ก๐ข๐ง๐ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง Shared-Nothing vMotion is used when there is no shared storage between ESXi hosts. • VM compute (CPU & memory) is moved • VM storage is also copied to the destination host • VM stays powered ON • No shared datastore is required 4️⃣ ๐๐ซ๐จ๐ฌ๐ฌ ๐ฏ๐๐๐ง๐ญ๐๐ซ ๐ฏ๐๐จ๐ญ๐ข๐จ๐ง Cross vCenter vMotion is used when you want to move a running VM between two different vCenter Servers. • VM remains powered ON • VM moves across vCenters • Storage and network can also change • No service interruption ๐ข ๐๐๐๐ฅ-๐๐ข๐ฆ๐ ๐๐ฑ๐๐ฆ๐ฉ๐ฅ๐ ๐น Scenario: Production Server Maintenance Company has 3 ESXi hosts A production VM is running on Host-1 Host-1 needs patching ๐ Without vMotion: ‑ VM must be powered off ‑ Business downtime ๐ With vMotion: ‑ Admin initiates vMotion ‑ VM moves live from Host-1 → Host-2 ‑ Users continue working ‑ Host-1 is patched safely ✔️ Zero downtime ✔️ Zero user impact
Comments
Post a Comment