Unit II Server and Desktop Virtualization
Unit II Server and Desktop Virtualization
Virtual Machine is like fake computer system operating on your hardware. It partially uses
the hardware of your system (like CPU, RAM, disk space, etc.) but its space is completely
separated from your main system. Two virtual machines don’t interrupt in each other’s
working and functioning nor they can access each other’s space which gives an illusion that
we are using totally different hardware system. More detail at Virtual Machine.
Question : Is there any limit to no. of virtual machines one can install?
Answer – In general there is no limit because it depends on the hardware of your
system. As the VM is using hardware of your system, if it goes out of it’s capacity
then it will limit you not to install further virtual machines.
Question : Can one access the files of one VM from another?
Answer – In general No, but as an advanced hardware feature, we can allow the file-
sharing for different virtual machines.
Types of Virtual Machines : You can classify virtual machines into two types:
A virtualization layer is added between the hardware and operating system. This
virtualization layer allows multiple operating system instances to run concurrently
within virtual machines on a single computer, dynamically partitioning and sharing the
available physical resources such as CPU, storage, memory and I/O devices.
1. System Virtual Machine: These types of virtual machines gives us complete system
platform and gives the execution of the complete virtual operating system. Just like virtual
box, system virtual machine is providing an environment for an OS to be installed
completely. We can see in below image that our hardware of Real Machine is being
distributed between two simulated operating systems by Virtual machine monitor. And then
some programs, processes are going on in that distributed hardware of simulated machines
separately.
2. Process Virtual Machine : While process virtual machines, unlike system virtual
machine, does not provide us with the facility to install the virtual operating system
completely. Rather it creates virtual environment of that OS while using some app or
program and this environment will be destroyed as soon as we exit from that app. Like in
below image, there are some apps running on main OS as well some virtual machines are
created to run other apps. This shows that as those programs required different OS, process
virtual machine provided them with that for the time being those programs are
running. Example – Wine software in Linux helps to run Windows applications.
OS-Level Virtualization: Unlike full and para-virtualization, OS-level visualization does not
use a hypervisor. Instead, the virtualization capability, which is part of the physical server
operating system, performs all the tasks of a hypervisor. However, all the virtual servers must
run that same operating system in this server virtualization method.
Why Server Virtualization?
Server virtualization is a cost-effective way to provide web hosting services and effectively
utilize existing resources in IT infrastructure. Without server virtualization, servers only use a
small part of their processing power. This results in servers sitting idle because the workload
is distributed to only a portion of the network’s servers. Data centers become overcrowded
with underutilized servers, causing a waste of resources and power.
By having each physical server divided into multiple virtual servers, server virtualization
allows each virtual server to act as a unique physical device. Each virtual server can run its
own applications and operating system. This process increases the utilization of resources by
making each virtual server act as a physical server and increases the capacity of each physical
machine.
What to Consider for Server Virtualization
Server virtualization is a promising method that can maximize the use of IT resources – that’s
why tech giants like Microsoft, Dell, and IBM are continuously developing this technology.
However, before picking the optimal virtualization for a business, it’s important to determine
their benefits and disadvantages first.
Pros Cons
Physical Servers, Virtualization Software, and Virtual Servers make up the three primary
parts of the server consolidation architecture.
Physical Servers: The server consolidation environment’s hardware consists of
physical servers. These servers are usually powerful machines with high processing
speeds that are built to manage massive volumes of data. They are utilized to run virtual
servers and host virtualization software.
Virtualization: A single physical server can run several virtual servers thanks to
virtualization software. Multiple virtual servers can share the resources of a single
physical server thanks to the software’s creation of an abstraction layer between the real
hardware and virtual servers.
Virtual Servers: Physical servers are virtualized into virtual servers. They run on top
of the physical servers and are produced and controlled by the virtualization software.
Each virtual server can execute its own programs and services and is a separate instance
of an operating system.
Server consolidation creates virtual servers that share the resources of the physical servers
by fusing a number of physical servers into a single virtualized environment utilizing
virtualization software. This makes it possible to use resources more effectively and save
money. Additionally, it makes it simple to manage existing servers, set up new ones, and
scale resources up or down as necessary.
Types of Server Consolidation
1. Logical Consolidation: In logical server consolidation, multiple virtual servers are
consolidated onto a single physical server. Each virtual server is isolated from the
others and has its own operating system and applications, but shares the same physical
resources such as CPU, RAM, and storage. This allows organizations to run multiple
virtual servers on a single physical server, which can lead to significant cost savings
and improved performance. Virtual servers can be easily added or removed as needed,
which allows organizations to more easily adjust to changing business needs.
2. Physical Consolidation: Physical Consolidation is a type of server consolidation in
which multiple physical servers are consolidated into a single, more powerful server or
cluster of servers. This can be done by replacing multiple older servers with newer,
more powerful servers, or by adding additional resources such as memory and storage
to existing servers. Physical consolidation can help organizations to improve the
performance and efficiency of their cloud computing environment.
3. Rationalized Consolidation: Rationalized consolidation is a type of server
consolidation in which multiple servers are consolidated based on their workloads. This
process involves identifying and grouping servers based on the applications and
services they are running and then consolidating them onto fewer, more powerful
servers or clusters. The goal of rationalized consolidation is to improve the efficiency
and cost-effectiveness of the cloud computing environment by consolidating servers
that are running similar workloads.
How to Perform Server Consolidation?
Server consolidation in cloud computing typically involves several steps, including:
1. Assessing the Current Environment: The first step in server consolidation is to assess
the current environment to determine which servers are running similar workloads and
which ones are underutilized or over-utilized. This can be done by analyzing the usage
patterns and resource utilization of each server.
2. Identifying and Grouping Servers: Once the current environment has been assessed,
the next step is to identify and group servers based on their workloads. This can help to
identify servers that are running similar workloads and can be consolidated onto fewer,
more powerful servers or clusters.
3. Planning the Consolidation: After identifying and grouping servers, the next step is to
plan the consolidation. This involves determining the best way to consolidate the
servers, such as using virtualization technology, cloud management platforms, or
physical consolidation. It also involves determining the resources required to support
the consolidated servers, such as CPU, RAM, and storage.
4. Testing and Validation: Before consolidating the servers, it is important to test and
validate the consolidation plan to ensure that it will meet the organization’s needs and
that the servers will continue to function as expected.
5. Consolidating the Servers: Once the plan has been tested and validated, the servers
can be consolidated. This typically involves shutting down the servers to be
consolidated, migrating their workloads to the consolidated servers, and then bringing
the servers back online.
6. Monitoring and Maintenance: After the servers have been consolidated, it is
important to monitor the consolidated servers to ensure that they are performing as
expected and to identify any potential issues. Regular maintenance should also be
performed to keep the servers running smoothly.
7. Optimizing the Consolidated Environment: To keep the consolidated environment
optimal, it’s important to regularly evaluate the usage patterns and resource utilization
of the consolidated servers, and make adjustments as needed.
Benefits of Server Consolidation
Server consolidation in cloud computing can provide a number of benefits, including:
Cost savings: By consolidating servers, organizations can reduce the number of
physical servers they need to maintain, which can lead to cost savings on hardware,
power, and cooling.
Improved performance: Consolidating servers can also improve the performance of
the cloud computing environment. By using virtualization technology, multiple virtual
servers can run on a single physical server, which allows for better utilization of
resources. This can lead to faster processing times and better overall performance.
Scalability and flexibility: Server consolidation can also improve the scalability and
flexibility of the cloud environment. By using virtualization technology, organizations
can easily add or remove virtual servers as needed, which allows them to more easily
adjust to changing business needs.
Management simplicity: Managing multiple servers can be complex and time-
consuming. Consolidating servers can help to reduce the complexity of managing
multiple servers, by providing a single point of management. This can help
organizations to reduce the effort and costs associated with managing multiple servers.
Better utilization of resources: By consolidating servers, organizations can improve
the utilization of resources, which can lead to better performance and cost savings.
Server consolidation in cloud computing is a process of combining multiple servers into a
single, more powerful server or cluster of servers, in order to improve the efficiency and
cost-effectiveness of the cloud computing environment.
Modern IT organizations need to support both VMs and containers. Containers group
together just what’s needed to run a single application or service and tend to be smaller than
VMs, making them lightweight and portable. Containers and VMs may need to operate
seamlessly across hybrid and multicloud environments.
Faced with all this complexity, IT organizations seek to simplify their application
development and deployment pipelines. A platform should support both containers and VMs
and help teams use computing resources efficiently, and ensure applications and services roll
out in an orderly, consistent way.
Traditional virtualization platforms can be separate from container platforms. Sometimes
they are meant to work in a single environment, rather than across multiple cloud
environments.
More modern virtualization platforms act as components of unified platforms that work
across different infrastructure, including on premise and cloud environments. This approach
can streamline deployment, management and monitoring of both VMs and containers. A
unified platform can eliminate duplicate work and improve flexibility, making it easier to
adapt to changes.
What to look for in a virtualization platform
Equipped with an understanding of virtualization concepts, you’ll want to list your
requirements for a virtualization platform and evaluate the benefits and drawbacks of
different choices in the marketplace. Your research should include important qualities like
costs and support levels, as well as features specific to virtualization platforms. Here are a
few such features to look for.
Ease of migration
When moving from one virtualization platform to another, administrators will seek to avoid
disruptions, incompatibilities, and degraded performance. Virtualization platforms can have
different deployment and management processes, and different tooling, especially across
different cloud providers.
Preparation can help avoid many migration pitfalls. Using tested and effective toolkits to
preemptively validate VM compatibility and move multiple VMs at once can help migrations
go quickly and smoothly.