Docsity

virtual computing and resources, Thesis of Hydrostatics

Partial preview of the text

Download virtual computing and resources and more Thesis Hydrostatics in PDF only on Docsity!

5

Virtualization

Virtual Clusters & Resource Management

6 Introduction

  • (^) A virtual cluster is a group of virtual machines (VMs) that are deployed as a single logical unit.
  • (^) They share the same virtualization software and hardware and appear as a single unit to the end-user.
  • (^) Virtual clusters provide the ability to scale operations easily.
  • (^) You can add or remove VMs to meet changing demands , and you can move VMs to optimize

6 Physical versus Virtual Clusters

  • (^) Physical clusters are connected by network cables and are managed with a single system console.
  • (^) Virtual clusters are connected by a virtual network and are managed with multiple user consoles.
  • (^) Virtual clusters are created on a single system , and they share the same virtualization software and hardware.

6 Virtual Cluster

  • (^) Virtual clusters are built with VMs installed at distributed servers from one or more physical clusters.
  • (^) The VMs in a virtual cluster are interconnected logically by a virtual network across several physical networks.
  • (^) Three critical design issues of virtual clusters: I. live migration of VMs II. memory and file migrations

6 Virtual Cluster

  • (^) The physical machines are also called host systems. In contrast, the VMs are guest systems.
  • (^) The host and guest systems may run with different operating systems.
  • (^) Each VM can be installed on a remote server or replicated on multiple servers belonging to the same or different physical clusters.
  • (^) The boundary of a virtual cluster can change as VM nodes are added, removed, or migrated

6 Virtual Cluster

6 Provisioning of VMs to a virtual cluster

  • (^) The provisioning of VMs to a virtual cluster is done dynamically to have the following interesting properties: - (^) The purpose of using VMs is to consolidate multiple functionalities on the same server. This will greatly enhance server utilization and application flexibility. - (^) VMs can be replicated in multiple servers for the purpose of promoting distributed

6 Provisioning of VMs to a virtual cluster

  • (^) The provisioning of VMs to a virtual cluster is done dynamically to have the following interesting properties: - (^) The size (number of nodes) of a virtual cluster can grow or shrink dynamically. - (^) The failure of any physical nodes may disable some VMs installed on the failing nodes. However, the failure of VMs will not pull down the host system.

6 Live VM Migration and Performance Effects

  • (^) A cluster built with mixed nodes of host and guest systems.
  • (^) When a VM fails, its role could be replaced by another VM on a different node, as long as they both run with the same guest OS.
  • (^) This is different from physical-to-physical failover in a traditional physical cluster.
  • (^) The advantage is enhanced failover flexibility.

6 Live VM Migration and Performance Effects

  • (^) The potential drawback is that a VM must stop playing its role if its residing host node fails. However, this problem can be mitigated with VM life migration.
  • (^) The motivation is to design a live VM migration scheme with negligible downtime , the lowest network bandwidth consumption possible , and a reasonable total migration time.
  • (^) Ensure that the migration will not disrupt other

6 Live VM Migration Steps Steps 0 and 1: Start migration.

  • (^) This step makes preparations for the migration, including determining the migrating VM and the destination host.
  • (^) Users could manually make a VM migrate to an appointed host, in most circumstances, the migration is automatically started by strategies such as load balancing and server consolidation.

6 Live VM Migration Steps Step 2: Transfer memory.

  • (^) Since the whole execution state of the VM is stored in memory , sending the VM’s memory to the destination node ensures continuity of the service provided by the VM.
  • (^) All of the memory data is transferred in the first round, and then the migration controller recopies the memory data which is changed in the last round.

6 Live VM Migration Steps Step 3: Suspend the VM and copy the last portion of the data.

  • (^) The migrating VM’s execution is suspended when the last round’s memory data is transferred.
  • (^) Other non-memory data such as CPU and network states should be sent as well.
  • (^) During this step, the VM is stopped and its applications will no longer run.

6 Live VM Migration Steps Step 3: Suspend the VM and copy the last portion of the data.

  • (^) This “service unavailable” time is called the “downtime” of migration.
  • (^) It should be as short as possible so that it can be negligible to users.