Professional Documents
Culture Documents
Module 33 - 71 - 2
Module 33 - 71 - 2
Module 33 - 71 - 2
Virtualization Figures
Module 33
1
12/3/2023
2
12/3/2023
Virtual Clusters
• The failure of a host can make the hosted VMs unavailable but
the virtual cluster does not collapse.
• The failure of a VM does not fails the host.
• A physical cluster may host multiple virtual clusters.
• A virtual cluster may span over multiple physical cluster
• In order to deploy a virtual cluster, several VMs with installed
OS and application software are required.
• The deployment time is to be as quick as possible.
• Templates can be used to deploy the VMs from.
• A template is a disk image with preinstalled OS with or
without certain applications.
• A suitable template can be copied as disk image of a VM. This
saves time of installing and configuring.
• 6
• .
3
12/3/2023
Virtual Clusters
• When the VM is ready and up, it is deployed to a suitable
host.
• The VM then joins a virtual cluster.
• All of the above can be done manually as well as full or
partially automated.
• Reasons of virtualization:
1. Sharing of resources
2. Isolation of users of shared resource
3. Aggregation of smaller resources into a single big
virtual resource (e.g., Storage)
• Reasons of virtualization:
4. Dynamic relocation/provisioning of virtual
resources is easier than physical resources
5. Easier management of virtual
resources/devices/machines. 7
VM Migration
Module 36
• VMs can be migrated from one host to another for:
1. Server Load balancing
2. Server consolidation
3. Remedy for failover hosts and VMs
4. Remedy for resource shortage for a VM
• A VM can be in any of the following states:
1. Powered-off
2. Suspended
3. Paused
4. Powered-on
• The following options are available for VM migration:
1. Cold migration: The VM has to be powered-off before
migration.
2. Warm migration: Suspended VM migration.
3. Live migration: For powered-on VM with zero
downtime and full availability. 8
4
12/3/2023
VM Migration
• A VM is made of two basic components:
• VM state: The processor and RAM contents
• Virtual hard disk: Residing on network storage or on
host’s hard disk
• Live migration of VM means zero downtime of OS,
connectivity and applications running on the VM.
• For live migration, the VM state is to be copied from
source to destination host. The virtual disk can also be
migrated through live storage migration feature of the
hypervisor.
• Modern day hypervisors provide unbroken network
connectivity of the VM during live migration.
VM Migration
• During the live migration, the state and storage of the VM
keeps on working on source host to avoid down-time.
• For live migration of a VM with the virtual hard disk on
network accessed shared storage, the virtual hard disk need
not to be copied if the destination host can access that
network based storage.
• Migrating the virtual hard disk is time consuming as well as
network bandwidth consuming due to multi-Gigabyte
migration.
• A better solution is to use the network storage
10
5
12/3/2023
6
12/3/2023
7
12/3/2023
Network Virtualization
Module 39
• Multiple virtual Network Interface Cards (vNIC) are
linked to physical NIC or pNIC through a virtual Switch
(vSwitch) inside a hypervisor.
• A virtual network consists of virtual nodes and virtual
links.
• Network virtualization establishes the coexistence of
multiple virtual networks
• A virtual network consists of virtual nodes and virtual
links.
• Network virtualization establishes the coexistence of
multiple virtual networks.
• Network virtualization proposes the decoupling of
traditional ISP functionalities such as infrastructure setup
and management from the creation and management of
virtual networks.
16
8
12/3/2023
Network Virtualization
• It is possible to use physical infrastructures of multiple
providers to dynamically compose virtual network/s.
• Technologies:
1. Virtual Local Area Network (VLAN): Logically grouping
the hosts with common interest into a single
broadcasting domain.
• Technologies:
2. Virtual Private
Networks (VPN): A
dedicated
communications
network of
enterprise/s and user/s
by using tunneling
over public networks
(Internet). 17
9
12/3/2023
19
10
12/3/2023
22
11
12/3/2023
23
12
12/3/2023
25
13
12/3/2023
27
28
14
12/3/2023
• Cloud Service:
Any IT resource (software/VM) that is made remotely available by
the cloud provider.
• Remember that not all the IT resources deployed in a cloud
environment are remotely accessible. Some resources are used
within the Cloud for support and monitoring etc.
• The human users interact with a leased VM.
• Client programs interact with cloud software service/s through API
calls.
• The software program and service accessing a cloud service is
called a cloud service consumer
29
15
12/3/2023
32
16
12/3/2023
17
12/3/2023
35
providers.
18
12/3/2023
19
12/3/2023
20
12/3/2023
41
•
42
21
12/3/2023
Cloud Characteristics
Module 53
• On-demand usage
• Ubiquitous access
• Multitenancy
• Resource pooling
• Elasticity
• Measured usage
• Resiliency
• Multitenancy: A software architecture software executing
over a server and serves different users (tenants) whereby
each tenant is isolated from the others.
• Cloud computing serves different cloud consumers by
using virtualization software frequently.
• The cloud provider pools the IT-resources by using
multitenancy technology to dynamically assign and
reassign these resources according to cloud consumers’
demands. The physical as well as virtual resources are
multi-tenanted (or shared) by using statistical multiplexing.
43
Cloud Characteristics
Module 54
44
22
12/3/2023
Cloud Characteristics
23
12/3/2023
• Control level:
• SaaS: Usage and usage related configuration
• PaaS: Limited administrative
• IaaS: Full administrative
• Functionality provided to cloud consumer:
• SaaS: Access to front-end user-interface
• PaaS: Moderate level of administrative control over
programming platform
• IaaS: Full administrative control over virtual resources
of the VMs
24
12/3/2023
25
12/3/2023
• For the time being we shall assume that the browser acts
as cloud service consumer when accessing a SaaS.
• aaS solutions eliminate the need of on-premises (data
center based) applications, application administration and
data storage.
• The customer is allowed to adopt pay-as-you-go type
of rental.
26
12/3/2023
• Classes of SaaS:
• Business logic: Connect the suppliers, employees,
investors and customers.
• Example: Invoicing, fund transfer, inventory
management, customer relationship management
(CRM)
• Collaboration: Support teams of people work
together.
• Examples: Calendar systems, email, screen sharing,
conference management and online gaming.
• Office productivity: Office environment support.
• Examples: word processors, spreadsheets,
presentation and database software.
27
12/3/2023
28
12/3/2023
SaaS Examples
SaaS Examples
29
12/3/2023
SaaS Examples
30
12/3/2023
SaaS Benefits
SaaS Benefits
31
12/3/2023
32
12/3/2023
33
12/3/2023
PaaS Overview
• What does PaaS clouds really provide: a set of software
building blocks, a set of development tools (languages
and compilers) and supporting environments for run-
time of applications developed over PaaS.
• PaaS clouds also provide tools to deploy the developed
applications.
• Additionally, the PaaS clouds provide processing,
storage and networking resources.
• PaaS consumers:
• Application developers
• Application testers
• Application deployers
• Application administrators
• Application end users (SaaS users)
• The consumers are charged according to tools and IT-
resources usage.
PaaS Overview
34
12/3/2023
PaaS Overview
PaaS Examples
Module 64
• We are going to discuss a few examples of PaaS.
1. Google App Engine (GAE): Allows the users to create and
host web based (Java, Python & Go) applications running
over the infrastructure and services provided by Google.
• GAE is a free service until the application grows to a
significant size.
• Force.com as a PaaS: This is a service of Salesforce.com (a
SaaS provider). It offers four different programming
environments for nonprogrammers, programmers and
software vendors.
• Nonprogrammers can create finance, HR etc. applications
and websites without coding by using drag drop of
controls. Programmers can develop Java applications and
deploy them as SaaS.
• The software vendors can distribute and update their
applications over cloud by using Force.com.
35
12/3/2023
PaaS Examples
• Benefits:
i. Lower total cost of ownership in terms of hardware and
software investment.
ii. Lower administrative overhead of system development.
iii. No requirement of software upgrades of tools.
iv. Faster application development and deployment.
v. Scalable resources available for the applications. The user
pays only for the resources used.
• Disadvantages:
i. The inherent problem of data placed offsite raises the
security concerns.
ii. The integration of PaaS applications with on-site legacy
solutions is not trivial.
iii. The PaaS provider has to be trusted for data and
application security.
36
12/3/2023
iv. The issues of SaaS are also the issues of PaaS such as
browser based risks, network dependence and isolation
vs efficiency.
v. Portability of PaaS applications across different
providers may not be possible sue to incompatibility in
coding structures (hash, queue, file etc.).
• PaaS Recommendations
• Module 66
end
• Generic interfaces: The consumer should make sure that the
interfaces for hash tables, queues and files etc. are generic
so that there will be less issues of portability (among PaaS
providers) and interoperability (of applications) in future.
PaaS Recommendations
37
12/3/2023
PaaS Recommendations
6. Component testing: The software libraries provided by
the PaaS provider should be aiming at providing proper
functionality and performance.
7. Security and secure data deletion: Ensure that the PaaS
applications can be configured to run in a secure manner
(e.g., using cryptography during communication) and
that a reliable mechanism for data deletion is provided
by the PaaS provider.
• IaaS Overview
• Module 67
• As an alternative to PaaS, some consumers may prefer to
use IaaS in order to have management control over the
IT resources.
• The IaaS provider makes available the computing
resources in the form of VMs.
• The consumer has the duty of installing OS and software.
IaaS Overview
38
12/3/2023
IaaS Overview
• Customer billing:
• Per CPU hour
• Data GB stored per hour
• Network bandwidth consumed, network infrastructure
used (e.g., IP addresses) per hour
• Value-added services used (e.g., monitoring, automatic
scaling).
• IaaS Operational Overview
end
• Module 68
• Saving in upfront cost: As in SaaS and PaaS. Although the
responsibility of installing OS and software is of the consumer
IaaS Benefits
• Full administrative control over VM:
• Start, shut down, pause
• Installation of OS and applications
• Accessing VM through network services of VM
through a network protocol such as Secure Shell.
• Flexible and scalable renting: The VMs can be rented
in any volume desired by the consumer. The rental
for each VM can be on usage (of raw resources such
as CPU, memory, bandwidth, storage, firewall,
database etc.) basis.
• Portability and interoperability with legacy
applications: Since the consumer has full control
over the VM to install OS and other applications, the
legacy applications (which are usually installed on
consumer owned server/s) can be configured to run
with or ported to the VM.
39
12/3/2023
40
12/3/2023
end
41