UNIT 1 INTRODUCTION TO VIRTUALIZATION
Virtualization and cloud computing - Need of virtualization – cost, administration, fast
deployment, reduce infrastructure cost – limitations- Types of hardware virtualization: Full
virtualization - partial virtualization - Paravirtualization-Types of Hypervisors.
What is Virtualization?
Virtualization is technology that you can use to create virtual representations of
servers, storage, networks, and other physical machines.
Virtual software mimics the functions of physical hardware to run multiple
virtual machines simultaneously on a single physical machine.
It is one of the main cost-effective,
hardware-reducing, and energy-saving techniques used by cloud providers.
Virtual machine
A virtual machine is a software-defined computer that runs on a physical computer with a
separate operating system and computing resources.
The physical computer is called the host machine and virtual machines are guest
machines.
Multiple virtual machines can run on a single physical machine.
Virtual machines are abstracted from the computer hardware by a hypervisor.
Hypervisor
The hypervisor is a software component that manages multiple virtual machines in a
computer. It ensures that each virtual machine gets the allocated resources and does not
interfere with the operation of other virtual machines.
Benefits of Virtualization
More flexible and efficient allocation of resources.
Enhance development productivity.
It lowers the cost of IT infrastructure.
Remote access and rapid scalability.
High availability and disaster recovery.
Pay peruse of the IT infrastructure on demand.
Enables running multiple operating systems.
Drawback of Virtualization
High Initial Investment: Clouds have a very high initial investment, but it is also
true that it will help in reducing the cost of companies.
Learning New Infrastructure: As the companies shifted from Servers to Cloud, it
requires highly skilled staff who have skills to work with the
cloud easily, and for this, you have to hire new staff or provide training to current
staff.
Risk of Data: Hosting data on third-party resources can lead to putting the data at
risk, it has the chance of getting attacked by any hacker or cracker very easily.
What is Cloud Computing?
Cloud computing is a client-server computing architecture. In cloud computing, resources are
used in centralized pattern and cloud computing is a high accessible service. Cloud
computing is a payment and useful business tool, users pay for usage.
How is virtualization different from cloud computing?
Cloud computing is the on-demand delivery of computing resources over the internet with
pay-as-you-go pricing. Instead of buying, owning, and maintaining a physical data center, you
can access technology services, such as computing power, storage, and databases, as you need
them from a cloud provider.
Virtualization technology makes cloud computing possible. Cloud providers set up and
maintain their own data centers. They create different virtual environments that use the
underlying hardware resources. You can then program your system to access these cloud
resources by using APIs. Your infrastructure needs can be met as a fully managed service.
[Link] Cloud Computing Virtualization
Cloud computing is used to provide While It is used to make various
1. pools and automated resources that can simulated environments through a
be accessed on-demand. physical hardware system.
2. Cloud computing setup is tedious, While virtualization setup is simple as
complicated. compared to cloud computing.
While virtualization is low scalable
3. Cloud computing is high scalable.
compared to cloud computing.
4. Cloud computing is Very flexible. While virtualization is less flexible than
cloud computing.
In the condition of disaster recovery, While it relies on single peripheral
5. cloud computing relies on multiple device.
machines.
6. In cloud computing, the workload is In virtualization, the workload is
stateless. stateful.
7. The total cost of cloud computing is The total cost of virtualization is
higher than virtualization. lower than Cloud Computing.
8. Cloud computing requires many While single dedicated hardware can do
dedicated hardware. a great job in it.
Cloud computing provides unlimited While storage space depends on physical
9. server capacity in virtualization.
storage space.
Cloud computing is of two types : Virtualization is of two types : Hardware
10. virtualization and Application
Public cloud and Private cloud.
virtualization.
There are several types of hardware virtualization as follows:
Full Virtualization
Partial Virtualization
Para Virtualization
Full Virtualization
Full virtualization, also known as hardware-assisted virtualization, involves the complete
simulation of a physical machine.
Including the virtualization of the CPU, memory, and other hardware components.
This approach allows unmodified operating systems to run within the virtual
environment. Example
One notable example of full virtualization is VMware's ESXi hypervisor.
It creates virtual machines (VMs) that can run various operating system such as Windows,
Linux, or others, without requiring any modifications to the guest OS.
Partial Virtualization
Partial virtualization, or software-based virtualization, involves virtualizing specific
components of the hardware
while leaving others to be managed by the host operating system. It doesn't
completely simulate the underlying hardware.
Example of Partial Virtualization
VirtualBox is an example of partial virtualization. It
allows users to create VMs on their host system,
but it relies on the host OS to manage certain hardware aspects.
VirtualBox is suitable for running guest operating systems with minimal performance impact.
Para virtualization
Para virtualization is a technique where the guest operating system is aware of the
virtualization layer and cooperates with it.
Unlike full virtualization, para virtualization requires modifications to the guest OS to
optimize its performance within the virtual environment.
Example of Paravirtualization
Xen is a hypervisor that supports paravirtualization.
Guest operating systems running on Xen are modified to interact with the hypervisor directly,
improving performance by avoiding certain virtualization overhead.
Conclusion
In summary, full virtualization simulates the entire hardware environment, partial
virtualization virtualizes specific components, and paravirtualization involves modifying the
guest OS for better cooperation with the virtualization layer.
Types of hypervisor:
TYPE-1 Hypervisor:
The hypervisor runs directly on the underlying host system. It is also known as a “Native
Hypervisor” or “Bare metal hypervisor”. It does not require any base server operatin
system. It has direct access to hardware resources. Examples of Type 1 hypervisors include
VMware ESXi, Citrix XenServer, and Microsoft Hyper-V hypervisor.
Pros & Cons of Type-1 Hypervisor:
Pros: Such kinds of hypervisors are very efficient because they have direct access
to the physical hardware resources(like Cpu, Memory, Network, and Physical
storage). This causes the empowerment of the security because there is nothing any
kind of the third party resource so that attacker couldn’t compromise with anything
Cons: One problem with Type-1 hypervisors is that they usually need a dedicated
separate machine to perform their operation and to instruct different VMs and
control the host hardware resources.
TYPE-2 Hypervisor:
A Host operating system runs on the underlying host system. It is also known as ‘Hosted
Hypervisor”.
Such kind of hypervisors doesn’t run directly over the underlying hardware rather they run as
an application in a Host system(physical machine). Basically, the software is installed on an
operating system. Hypervisor asks the operating system to make hardware calls. An example
of a Type 2 hypervisor includes VMware Player or Parallels Desktop. Hosted
hypervisors are often found on endpoints like PCs.
The type-2 hypervisor is very useful for engineers, and security analysts (for checking
malware, or malicious source code and newly developed applications).
Pros & Cons of Type-2 Hypervisor:
Pros: Such kind of hypervisors allows quick and easy access to a guest Operating System
alongside the host machine running. These hypervisors usually come with additional useful
features for guest machines. Such tools enhance the coordination between the host machine
and the guest machine.
UNIT-2 SERVER AND DESKTOP VIRTUALIZATION
Virtual MachiVirtual machines (VMs) are a fundamental technology in modern computing,
offering a way to create isolated computing environments on a single physical machine.
Essentially, a VM acts as a virtual computer with its own dedicated resources, including:
• Operating System: A VM can run its own operating system (OS) independent of
the host machine's OS. This allows users to run applications designed for different
operating systems on a single machine.
• Hardware Resources: VMs are allocated a specific amount of processing power
(CPU), memory (RAM), and storage from the physical machine's resources. This
isolation ensures that applications running within a VM do not
interfere with other VMs or the host machine itself.
Benefits of Virtualization:
• Improved Resource Utilization: VMs allow for efficient utilization of
hardware resources by consolidating multiple workloads onto a single physical
machine. This reduces hardware costs and energy consumption.
• Increased Agility and Scalability: VMs can be quickly provisioned, deployed,
and migrated, enabling rapid scaling of computing resources to meet changing
demands.
• Enhanced Security and Isolation: Each VM operates in a secure sandbox,
preventing applications within a VM from impacting other VMs or the host system.
This improves overall system stability and security.
• Simplified Testing and Development: VMs provide isolated environments for
testing and developing software, allowing developers to experiment without
risking the stability of the production environment.
Applications of Virtual Machines:
• Server Consolidation: Businesses can consolidate multiple physical servers onto
fewer machines using VMs, reducing hardware costs and simplifying management.
• Desktop Virtualization: VMs can be used to deliver virtual desktops to users,
offering a centralized and secure way to access applications and data from any device.
• Software Development and Testing: Developers can create isolated
environments for testing and development to ensure software compatibility and
functionality.
• Cloud Computing: VMs are the foundation of cloud computing, providing on-
demand access to computing resources like servers, storage, and applications.
In conclusion, virtual machines offer a powerful and versatile tool for maximizing computing
efficiency, enhancing security, and enabling flexible resource allocation. Their diverse
applications make them a cornerstone of modern IT infrastructure, facilitating cloud
computing, software development, and server consolidation.
Types of Virtual Machines (VMs)
Virtual machines (VMs) can be categorized in two main ways: by their functionality and by
their scope.
Based on Functionality:
1. System VMs (Full Virtual Machines):
o Concept: These VMs provide a complete virtual computer
environment, mimicking a physical machine.
o Details:
▪ They can run a full operating system (OS) like Windows, Linux, or
macOS.
▪ The hypervisor (software that manages VMs) simulates all hardware
components (CPU, memory, storage) for each system VM.
▪ Examples: VMs running web servers, databases, or applications in a
production environment.
2. Process VMs (Application VMs):
o Concept: These VMs are lightweight and focus on running a single
application or process within an existing operating system.
o Details:
▪ They don't require a full virtualized environment with its own OS
Often used to create isolated environments for specific applications,
ensuring they don't interfere with other applications on the host
machine.
▪ Examples: Java Virtual Machine (JVM) that allows Java
applications to run on any platform, or Docker containers that
package an application and its dependencies for consistent
execution across environments.
Based on Scope:
1. Desktop VMs:
o Provide a virtual desktop environment that users can access remotely from any
device.
o Useful for delivering a consistent desktop experience with centralized management
and security.
2. Server VMs:
o Replicate a physical server environment, allowing consolidation of multiple
servers onto a single physical machine.
o Used to run various server applications like web servers, databases, or email servers.
3. Cloud VMs:
o Form the building blocks of cloud computing, offering on-demand access to
virtualized computing resources like servers, storage, and applications.
o Users can provision and scale cloud VMs based on their specific needs.
Choosing the Right VM:
The choice of VM type depends on the specific use case. Consider these factors:
• Functionality: Do you need a complete virtual computer environment or just to
isolate a single application?
• Scope: Are you looking to virtualize a desktop, server, or utilize cloud
resources.
• Performance: Full VMs require more resources compared to process VMs. By
understanding these different types of VMs, you can make informed decisions about how
to leverage this powerful technology for your computing needs.
Server Virtualization:
Server virtualization has revolutionized modern IT landscapes. It empowers organizations to
consolidate multiple physical servers onto a single machine, creating software-based virtual
servers. Each virtual server functions independently, running its own operating system and
applications. This innovative approach unlocks a multitude of benefits, enabling
organizations to:
• Optimize Resource Utilization: Traditionally, physical servers often operate well
below their capacity, leading to wasted hardware resources and energy consumption.
Server virtualization eliminates this inefficiency. By
consolidating multiple servers onto fewer machines, organizations can significantly reduce
their hardware footprint, resulting in substantial cost savings on both acquisition and
maintenance.
• Enhance Scalability and Agility: Business needs are constantly evolving. Server
virtualization empowers organizations to adapt swiftly. New virtual servers can be
provisioned and deployed in minutes, eliminating the lengthy
wait times associated with procuring and configuring new physical hardware. This agility
ensures that IT infrastructure can seamlessly scale up or down to meet fluctuating demands,
fostering a more responsive and adaptable IT function.
Improve Resource Management: Server virtualization empowers granular control over
resource allocation. CPU, memory, and storage can be dynamically allocated to individual
virtual machines based on their specific requirements. This eliminates the issue of
overprovisioning or underutilizing hardware resources, leading to a more efficient and cost-
effective IT environment.
Strengthen Security: Each virtual server operates within a secure, isolated environment.
Applications running on one virtual machine are completely isolated from those on others,
preventing security breaches and minimizing the impact of potential vulnerabilities. This
layered approach significantly enhances overall system stability and security posture.
Simplify Disaster Recovery: Virtualization streamlines disaster recovery efforts. Virtual
machines can be easily backed up and restored, minimizing downtime and ensuring faster
recovery times in the event of an outage. This translates to improved business continuity
and reduced financial impact from disruptive events.
The Powerhouse Behind Virtualization: The Hypervisor
At the heart of server virtualization lies the hypervisor, a software application that sits
directly on the physical server hardware. Acting as a virtual layer, the hypervisor manages
and allocates resources to individual virtual machines. It oversees communication between
VMs and the underlying physical hardware, ensuring smooth and efficient operation.
Types of Virtualization:
• Full Virtualization: This approach creates a complete virtual machine
environment, mimicking a physical machine. It offers high portability but can have
slightly lower performance due to emulation overhead.
• Para-Virtualization: This method requires modifications to the guest operating
system (OS) running within the VM for improved performance. While less
portable, it offers greater efficiency compared to full virtualization.
Unlocking Business Value:
Server virtualization offers a compelling value proposition for organizations seeking to:
Reduce IT Costs: Lower hardware acquisiion and maintenance expenses through
server consolidation
Increase IT Agility: Respond rapidly to changing business demands with the ability to
quickly deploy or scale virtual machines.
Enhance Disaster Recovery: Minimize downtime and ensure faster recovery times with
efficient VM backups.
Strengthen Security: Isolated VM environments provide a more robust security posture.
• Simplify IT Management: Centrally manaVMs, reducing time spent on individual
server configurations.
Compelling Business Cases for Server Virtualization:
• Server virtualization has emerged as a transformative technology in modern IT
infrastructure, offering a multitude of benefits that translate to tangible business value.
Here's a closer look at the compelling reasons why organizations should consider
adopting server virtualization:
1. Cost Optimization:
Traditionally, physical servers often operate well below capacity, leading to wasted
hardware resources and high energy consumption. Server virtualization eliminates this
inefficiency by consolidating multiple workloads onto fewer physical machines. This
translates to significant cost savings on:
• Hardware Acquisition: Reduce capital expenditure by requiring fewer
physical servers.
• Maintenance Costs: Streamline server administration through centralized VM
management, minimizing hardware maintenance expenses.
• Energy Consumption: Consolidate server footprint, leading to lower energy bills
due to reduced power usage.
2. Enhanced Agility and Scalability:
Business needs are constantly evolving, and server virtualization empowers IT to adapt
swiftly. Here's how:
• Rapid Provisioning: New virtual servers can be provisioned and deployed in
minutes, eliminating lengthy procurement cycles associated with physical hardware.
• Dynamic Scaling: IT can seamlessly scale computing resources up or down to meet
fluctuating demands. This agility ensures that IT infrastructure remains responsive
and adapts to changing business requirements.
3. Improved Resource Management:
Server virtualization empowers granular control over resource allocation:
• Resource Optimization: CPU, memory, and storage can be dynamically allocated
to individual viruall machines based on their specific needs. This eliminates
overprovisioning or underutilizing hardware resources, leading to a more efficient
and cost-effective IT environment.
• Improved Server Utilization: Consolidate workloads, maximizing the utilization of
existing hardware resources and reducing the need for additional physical servers.
4. Robust Security Posture:
Server virtualization inherently enhances security:
• Isolation: Each virtual server operates within a secure, isolated environment.
Applications running on one virtual machine are completely isolated from those on
others, preventing security breaches and minimizing the impact of potential
vulnerabilities.
• Enhanced Security Management: Centralized management of VMs
simplifies security patching and configuration, ensuring a consistent and robust
security posture across the virtualized environment.
5. Streamlined Disaster Recovery:
Virtualization simplifies disaster recovery efforts in two key ways:
• Efficient Backups: Virtual machines can be easily backed up, minimizing data
loss in the event of an outage.
• Faster Recovery Times: Backed-up VMs can be quickly restored, ensuring minimal
downtime and faster recovery times for business-critical applications.
In conclusion, server virtualization offers a compelling value proposition for organizations
seeking to:
• Optimize IT Costs through hardware consolidation and efficient resource
utilization.
• Increase IT Agility with rapid provisioning and dynamic scaling of virtual
machines.
• Enhance Disaster Recovery with streamlined backup and restore
processes.
• Strengthen Security with isolated VM environments and centralized security
management.
• Simplify IT Management through centralized VM admnis
By adopting server virtualization, organizations can unlock a range of benefits that contribute
to a more efficient, agile, and secure IT infrastructure, ultimately supporting core business
objectives. Leveraging Virtual Server Consolidation for Enhanced IT Efficiency and Agility
In the dynamic landscape of modern IT, optimizing resource utilization and fostering business
agility are paramount concerns. Virtual server consolidation, a strategic approach empowered
by virtualization technology, offers a powerful solution for organizations seeking to achieve
these goals.
Unlocking Cost Savings and Resource Optimization:
Virtual server consolidation enables the consolidation of multiple underutilized physical
servers onto fewer machines running virtual servers. This results in significant cost
reductions across several key areas:
• Hardware Acquisition: By reducing the physical server footprint,
organizations can minimize capital expenditure on new hardware.
• Maintenance Costs: Centralized management of virtual machines streamlines
server administration, leading to lower ongoing maintenance expenses.
• Energy Consumption: The consolidation of servers translates to a smaller
physical footprint, leading to lower energy bills due to reduced power usage.
Furthermore, virtual server consolidation empowers granular control over resource
allocation. CPU, memory, and storage resources can be dynamically allocated to individual
virtual machines based on their specific needs. This eliminates overprovisioning and
optimizes server utilization, leading to a more cost-effective and resource-efficient IT
environment.
Enhancing Agility and Scalability:
Rapid provisioning and deployment are hallmarks of virtual server consolidation. New
virtual servers can be provisioned and deployed in minutes, eliminating the lengthy
procurement cycles associated with physical hardware. This agility empowers IT to
seamlessly scale computing resources up or down to meet fluctuating business demands.
With virtual server consolidation, IT can adapt swiftly to changing business requirements,
ensuring that the infrastructure remains responsive and supportive of core objectives.
Strengthening Security Posture and Disaster Recovery:
Virtual server consolidation inherently strengthens an organization's security posture by
providing isolated environments.
Isolation: Each virtual server operates within a secure, isolated environment. Applications
running on one virtual machine are completely isolated from those on others, preventing the
lateral spread of security breaches and minimizing the impact of potential vulnerabilities.
Centralized Management: Centralized management of VMs simplifies security patching
and configuration, ensuring a consistent and robust security posture across the entire
virtualized environment.
Disaster recovery efforts are also streamlined with virtual server consolidation. Virtual
machines can be easily backed up, minimizing data loss in the event of an outage.
Additionally, backed-up VMs can be quickly restored, ensuring minimal downtime and
faster recovery times for business-critical applications. This translates to improved business
continuity and reduced financial impact from disruptive events.
Conclusion:
Virtual server consolidation presents a compelling strategy for organizations seeking to:
• Optimize IT Budgets: Achieve significant cost savings through hardware
consolidation, improved resource utilization, and reduced energy consumption.
• Increase IT Agility: Respond rapidly to changing business demands with rapid
provisioning and dynamic scaling of virtual machines.
• Enhance Disaster Recovery: Strengthen business continuity with efficient
backup and restore processes.
• Strengthen Security: Establish a robust security posture through isolated VM
environments and centralized security management.
• Simplify IT Management: Streamline IT operations through centralized
administration of virtual machines.
By embracing virtual server consolidation, organizations can unlock a range of benefits that
contribute to a more efficient, agile, and secure IT infrastructure, success.