0% found this document useful (0 votes)
26 views16 pages

Vir Unit 2

A virtual machine emulates a physical computer and runs an operating system and applications in an isolated virtual environment created by a hypervisor. There are different types of virtual machines designed for specific purposes, including system virtual machines that emulate full physical computers or are optimized through para-virtualization or hardware assistance, as well as process virtual machines like application containers. Server virtualization uses a hypervisor to abstract and partition the resources of a physical server into multiple independent virtual machines, improving resource utilization, scalability, flexibility, and management of IT infrastructure.

Uploaded by

Dharu Dharani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views16 pages

Vir Unit 2

A virtual machine emulates a physical computer and runs an operating system and applications in an isolated virtual environment created by a hypervisor. There are different types of virtual machines designed for specific purposes, including system virtual machines that emulate full physical computers or are optimized through para-virtualization or hardware assistance, as well as process virtual machines like application containers. Server virtualization uses a hypervisor to abstract and partition the resources of a physical server into multiple independent virtual machines, improving resource utilization, scalability, flexibility, and management of IT infrastructure.

Uploaded by

Dharu Dharani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

A virtual machine (VM) is a software-based emulation of a physical computer that runs an operating

system and applications. It operates in an isolated environment, often called a virtualized


environment, created by a hypervisor or a virtual machine monitor (VMM). The primary goal of
virtual machines is to enable the simultaneous operation of multiple operating systems and
applications on a single physical machine.

There are different types of virtual machines, each designed to serve specific purposes and
scenarios. The two main categories of virtual machines are:

1. **System Virtual Machines:**

- **Full Virtualization:** In full virtualization, the virtual machine simulates an entire physical
computer, allowing multiple operating systems to run concurrently on a single host machine. The
hypervisor is responsible for managing and providing access to hardware resources. Examples
include VMware, Microsoft Hyper-V, and Oracle VirtualBox.

- **Para-virtualization:** Para-virtualization is a variation of full virtualization where the guest


operating system is aware of the virtualization and works in cooperation with the hypervisor to
optimize performance. This requires modifications to the guest operating system. Examples include
Xen.
- **Hardware-Assisted Virtualization:** Many modern CPUs include hardware support for
virtualization, making it more efficient. This is often referred to as hardware-assisted virtualization.
Examples include Intel VT-x and AMD-V technologies.

2. **Process Virtual Machines:**

- **Application Virtual Machines:** Application virtual machines are designed to run a single
application in an isolated environment. These are often used for compatibility purposes or to
sandbox applications. Examples include the Java Virtual Machine (JVM) and the .NET Common
Language Runtime (CLR).

- **Containerization:** Containers are a form of lightweight, process-level virtualization. While not


traditional virtual machines, containers encapsulate applications and their dependencies, allowing
them to run consistently across different environments. Examples include Docker and Kubernetes.

=-------------------------------------------------------------------------------------------------------------------------------=

SERVER VIRTUALIZATION:
Server virtualization is a technology that enables the creation of multiple virtual servers on a single
physical server. It involves using a hypervisor, which is a software layer or a hardware component, to
abstract and partition the physical server's resources—such as CPU, memory, storage, and
networking—into virtualized instances. Each of these virtual servers, known as virtual machines
(VMs), operates independently and can run its own operating system and applications.
The working of server virtualization involves the use of a hypervisor to create and manage multiple
virtual machines (VMs) on a single physical server. Here's a step-by-step overview of how server
virtualization typically works:

1. **Hypervisor Installation:**

- The process begins with the installation of a hypervisor on the physical server. The hypervisor can
be either a Type 1 (bare-metal) hypervisor, which runs directly on the hardware, or a Type 2 (hosted)
hypervisor, which runs on top of an existing operating system.

2. **Resource Abstraction:**

- The hypervisor abstracts the physical server's resources, including CPU, memory, storage, and
networking. It creates a layer of abstraction that allows these resources to be shared among multiple
VMs.

3. **Creation of Virtual Machines:**

- Virtual machines are created by the hypervisor, and each VM is configured with its own virtual
hardware, including virtual CPU cores, virtual RAM, and virtual storage. The hypervisor presents
these virtual resources to the VMs, making them appear as independent servers.

4. **Operating System Installation:**


- An operating system is installed on each virtual machine, just as it would be on a physical server.
Each VM can run a different operating system, providing flexibility in supporting various applications
and workloads.

5. **Isolation and Independence:**

- The hypervisor ensures isolation between virtual machines. Each VM operates independently, and
activities or issues in one VM do not affect the others. This isolation enhances security and stability.

6. **Resource Allocation:**

- The hypervisor dynamically allocates physical resources to each virtual machine based on
demand. This allows for efficient utilization of resources and ensures that each VM gets the
necessary computing power and memory to run its applications.

7. **Networking:**

- The hypervisor manages networking for the virtual machines. It can create virtual networks and
assign virtual network interfaces to each VM, enabling communication between VMs and the
external network.

8. **Storage:**

- Virtual machines store their data on virtualized storage resources. The hypervisor abstracts
physical storage and presents it to each VM. This allows for flexibility in allocating storage space and
managing data.

9. **Live Migration and High Availability:**

- Advanced hypervisors often support features like live migration, allowing VMs to be moved
between physical servers without downtime. High availability features ensure that if a physical server
fails, VMs can be automatically restarted on other servers.

10. **Management Interface:**

- Administrators use a management interface provided by the hypervisor to monitor, configure,


and control the virtualized environment. This interface allows for tasks such as creating or removing
VMs, adjusting resource allocations, and monitoring performance.

In summary, server virtualization works by abstracting and virtualizing the resources of a physical
server, creating multiple independent virtual machines. The hypervisor manages the allocation of
resources, provides isolation between VMs, and offers tools for efficient administration and control
of the virtualized environment. This technology has become a cornerstone in modern data centers,
improving resource utilization, scalability, and flexibility in managing IT infrastructure.

Let's explore server virtualization in a different way by using an analogy:

**Analogy: The Hosting Party**

Imagine you're hosting a party, and you have a large table where you want to serve different types of
dishes (applications and operating systems). You have various options for how you arrange and
manage the serving process:

1. **Full Virtualization (Individual Plates):**

- In full virtualization, it's like preparing individual plates for each guest. Each plate represents a
complete set of food (an operating system with applications). Guests (virtual machines) can enjoy
their meals independently. The table (physical server) is shared, but everyone gets their own
dedicated portion.

2. **Para-virtualization (Coordinated Buffet):**

- Now, let's say you have a coordinated buffet where guests are aware of the available dishes. In
para-virtualization, the guests (virtual machines) collaborate with you (hypervisor) to optimize the
buffet experience. The guests are informed about the offerings, allowing for more efficient dining
(better performance).

3. **Container-based Virtualization (Dish Sharing):**

- In containerization, it's like serving dishes family-style. Instead of individual plates, you place the
main dishes and sides in separate containers (containers). These containers share the same table
(host operating system's kernel), making it more resource-efficient. Guests (applications) can grab
what they need without the need for separate plates (virtual machines).

4. **Hardware-Assisted Virtualization (Smart Buffet Helpers):**

- Imagine having smart helpers (hardware extensions like Intel VT-x or AMD-V) at the buffet. These
helpers streamline the serving process, making it more efficient. They assist in providing a seamless
dining experience for guests (virtual machines) by reducing the workload on the host (physical
server).

Virtual server consolidation refers to the practice of consolidating multiple physical servers into
fewer virtual servers. This approach offers several benefits, and here are ten common uses for virtual
server consolidation:
1. **Resource Optimization:**

- **Use Case:** Pooling resources from underutilized physical servers to create a consolidated
virtual environment.

- **Benefits:** Efficient utilization of computing resources, reduction in idle capacity, and improved
overall performance.

2. **Cost Savings:**

- **Use Case:** Consolidating servers leads to reduced hardware, maintenance, and energy costs.

- **Benefits:** Lower total cost of ownership (TCO), decreased capital expenditure, and improved
return on investment (ROI).

3. **Energy Efficiency:**

- **Use Case:** Fewer physical servers result in decreased power consumption and cooling
requirements.

- **Benefits:** Lower energy bills, reduced environmental impact, and alignment with green IT
initiatives.

4. **Simplified Management:**

- **Use Case:** Managing a smaller number of virtual servers is more straightforward than
handling numerous physical servers.

- **Benefits:** Streamlined administration, quicker troubleshooting, and improved overall IT


management efficiency.

5. **Scalability and Flexibility:**

- **Use Case:** Easily scale up or down by adding or removing virtual servers based on demand.

- **Benefits:** Improved agility, responsiveness to changing workloads, and better alignment with
business growth.

6. **Enhanced Disaster Recovery:**

- **Use Case:** Virtual server consolidation simplifies backup and recovery processes.

- **Benefits:** Faster recovery times, reduced data loss, and simplified disaster recovery planning.

7. **Improved Performance:**
- **Use Case:** Efficiently allocate resources to virtual machines to optimize performance.

- **Benefits:** Enhanced overall system performance, reduced bottlenecks, and better


responsiveness to user demands.

8. **Legacy System Support:**

- **Use Case:** Extend the lifespan of legacy applications by running them on modern virtualized
infrastructure.

- **Benefits:** Avoid the costs and risks associated with maintaining outdated physical servers,
while still supporting critical legacy systems.

9. **Isolation and Security:**

- **Use Case:** Enhanced security through isolation of virtual machines.

- **Benefits:** Improved protection against security threats, isolation of sensitive workloads, and
easier enforcement of security policies.

10. **Consolidation of Test Environments:**

- **Use Case:** Create isolated virtual environments for development and testing.

- **Benefits:** Faster and more efficient software development cycles, improved quality
assurance, and quicker deployment of test environments.

Virtual server consolidation is a strategic approach to optimizing IT infrastructure, offering a range of


advantages from cost savings and improved resource utilization to enhanced scalability and security.
Organizations often undertake virtual server consolidation projects to streamline their operations,
reduce complexity, and position themselves for future growth.

When referring to "platforms" in the context of server virtualization, it generally means the
virtualization software or hypervisors that provide the foundation for creating and managing virtual
machines. Here are some prominent virtualization platforms:

1. **VMware vSphere/ESXi:**

- **Description:** VMware is a leading provider of virtualization solutions. vSphere is a


comprehensive platform that includes ESXi, a Type 1 hypervisor that runs directly on the hardware. It
offers advanced features for server virtualization, management, and automation.

2. **Microsoft Hyper-V:**
- **Description:** Hyper-V is Microsoft's virtualization platform. It includes the Hyper-V hypervisor,
which can be installed on Windows Server. Hyper-V provides virtualization capabilities for running
multiple Windows and Linux virtual machines.

3. **KVM (Kernel-based Virtual Machine):**

- **Description:** KVM is a Linux kernel module that turns the host operating system into a
hypervisor. It allows Linux to function as a Type 1 hypervisor. KVM is often used in conjunction with
tools like QEMU for virtualization.

4. **Xen:**

- **Description:** Xen is an open-source hypervisor that supports para-virtualization. It can


operate as a Type 1 hypervisor or be hosted on a traditional operating system. Xen is known for its
stability and efficiency.

5. **Citrix Hypervisor (formerly XenServer):**

- **Description:** Citrix Hypervisor is based on the open-source Xen Project. It provides additional
features and tools for managing virtualized environments, making it suitable for both server and
desktop virtualization.

6. **Proxmox Virtual Environment (Proxmox VE):**

- **Description:** Proxmox VE is an open-source virtualization platform that combines two


virtualization technologies: KVM for virtual machines and LXC (Linux Containers) for lightweight
container-based virtualization. It offers a web-based management interface.

7. **Oracle VM VirtualBox:**

- **Description:** VirtualBox is a free and open-source virtualization platform developed by Oracle.


It supports running various guest operating systems on a host machine and is popular for
development and testing purposes.

8. **Red Hat Virtualization (RHV):**

- **Description:** Red Hat Virtualization is an enterprise-grade virtualization solution based on the


KVM hypervisor. It provides features for managing virtual machines, storage, and networking in a Red
Hat ecosystem.

9. **Docker:**
- **Description:** While not a traditional virtualization platform, Docker is a popular
containerization platform. It allows the packaging and distribution of applications and their
dependencies in containers, providing lightweight and efficient deployment.

These platforms enable organizations to implement server virtualization, offering features such as
resource management, high availability, scalability, and ease of administration. The choice of a
virtualization platform depends on factors like the specific requirements of the organization,
compatibility with existing infrastructure, and the desired features and capabilities.

Certainly! Let's explore a business case for implementing server virtualization in a fictional company
called "TechSolutions Inc."

**Business Case for Server Virtualization at TechSolutions Inc.:**

**1. Current Challenges:**

- **Description:** TechSolutions Inc. is facing challenges with their existing IT infrastructure. They
have a large number of physical servers that are underutilized, resulting in high hardware and energy
costs. Managing these servers has become complex, and there are concerns about the efficiency of
resource utilization.

**2. Objectives:**

- **Description:** TechSolutions aims to address the challenges by implementing server


virtualization.

- **Business Impact:**

- **Cost Reduction:** Reduce hardware, maintenance, and energy costs associated with the
current infrastructure.

- **Efficient Resource Utilization:** Optimize resource utilization to achieve better performance


and responsiveness.

- **Streamlined Management:** Simplify IT management processes for improved efficiency.

**3. Solution:**

- **Description:** Implement a server virtualization solution using VMware vSphere/ESXi.

- **Business Impact:**

- **Consolidation:** Consolidate multiple underutilized physical servers into fewer virtual


servers.

- **Dynamic Resource Allocation:** Dynamically allocate resources based on demand for


improved efficiency.
- **Centralized Management:** Utilize vSphere for centralized management, monitoring, and
administration.

**4. Cost Savings:**

- **Description:** Calculate the potential cost savings from server virtualization.

- **Business Impact:**

- **Hardware Cost Reduction:** Decrease the need for new hardware acquisitions.

- **Energy Efficiency:** Lower energy consumption and cooling costs.

**5. Scalability and Flexibility:**

- **Description:** Highlight the scalability benefits of server virtualization.

- **Business Impact:**

- **Scalability:** Easily scale up or down based on changing business requirements.

- **Faster Deployment:** Accelerate the deployment of new virtual servers to meet business
demands.

**6. Disaster Recovery and Business Continuity:**

- **Description:** Emphasize the improved disaster recovery capabilities.

- **Business Impact:**

- **Quick Recovery:** Ensure faster recovery times with virtual machine snapshots and backups.

- **Reduced Downtime:** Minimize downtime and data loss in case of system failures.

**7. Simplified IT Management:**

- **Description:** Focus on the streamlined IT management benefits.

- **Business Impact:**

- **Reduced Complexity:** Simplify IT infrastructure, reducing the number of physical servers to


manage.

- **Automation:** Implement automation for routine tasks, saving time and reducing manual
errors.

**8. Improved Security and Compliance:**

- **Description:** Highlight security advantages.


- **Business Impact:**

- **Isolation:** Enhance security through improved isolation between virtual machines.

- **Policy Enforcement:** Enforce security policies consistently across the virtualized


environment.

**9. Return on Investment (ROI):**

- **Description:** Evaluate the expected ROI of the server virtualization project.

- **Business Impact:**

- **Financial Gains:** Demonstrate a positive return on the investment over time.

**10. Future-Proofing:**

- **Description:** Consider the long-term benefits of server virtualization.

- **Business Impact:**

- **Adaptability:** Ensure the IT infrastructure is adaptable to future technologies and business


growth.

- **Technology Alignment:** Align IT capabilities with the evolving needs of the organization.

=------------------------------------------------------------------------------------------------------------------------------=

DESKTOP VIRTUALIZATION:
Desktop virtualization, also known as virtual desktop infrastructure (VDI), is a technology that
separates the desktop environment, including the operating system and applications, from the
physical device. The desktop environment is hosted on a remote server or data center and delivered
to the user's device over a network.
The working of desktop virtualization involves separating the user's desktop environment, including
the operating system and applications, from the physical device. Here's a simplified overview of how
desktop virtualization typically works:

1. **Hosted Infrastructure:**

- A centralized server or data center hosts virtual desktops. This server is equipped with
virtualization software, which could include a hypervisor.

2. **Virtual Machines (VMs):**

- Virtual desktops are created as virtual machines (VMs) on the host server. Each VM represents an
individual user's desktop environment.

3. **User Access:**

- Users access their virtual desktops from endpoint devices such as thin clients, laptops, or desktop
computers. These devices act as "windows" into the virtualized desktop environment.

4. **Network Communication:**

- The user's device communicates with the host server over a network connection. This connection
can be local or remote, depending on the deployment.
5. **Desktop Delivery:**

- The virtualized desktop environment, including the operating system and applications, is delivered
to the user's device over the network. The user interacts with the desktop as if it were running locally
on their device.

6. **Input and Output:**

- User input (keyboard, mouse actions) is sent to the virtual desktop, and the desktop's output
(display, audio) is transmitted back to the user's device.

7. **Centralized Management:**

- IT administrators centrally manage and maintain virtual desktop images on the host server.
Updates, patches, and software installations can be performed at the central server, affecting all
virtual desktops simultaneously.

8. **Isolation and Security:**

- Each virtual desktop operates in isolation from others. This isolation enhances security and
ensures that user activities on one virtual desktop do not impact others.

9. **Resource Allocation:**

- Resources such as CPU, memory, and storage are allocated dynamically to virtual desktops based
on demand. This ensures optimal performance and efficient resource utilization.

10. **User Mobility:**

- Users can access their virtual desktops from different devices and locations. This mobility is
facilitated by the centralized nature of desktop virtualization.

Desktop virtualization provides several benefits, including centralized management, improved


security, resource efficiency, and the ability to support a variety of devices. It is commonly used in
environments where there is a need for secure and flexible access to desktop environments, such as
in businesses, educational institutions, and healthcare settings.

Desktop virtualization comes in various types, each catering to specific needs and use cases. Here are
some common types of desktop virtualization:
1. **Virtual Desktop Infrastructure (VDI):**

- **Description:** VDI is a centralized approach where individual desktop environments run as


virtual machines on a server. Users access their virtual desktops remotely using thin clients or other
devices.

- **Use Case:** Suitable for businesses needing centralized management, security, and control
over desktop environments.

2. **Remote Desktop Services (RDS):**

- **Description:** Also known as Terminal Services, RDS allows multiple users to share a single
operating system instance. Applications are hosted on a central server, and users access them
remotely.

- **Use Case:** Ideal for scenarios where multiple users need access to a shared set of applications
on a server.

3. **Application Virtualization:**

- **Description:** Instead of virtualizing the entire desktop, this type focuses on virtualizing
individual applications. Applications run in isolated containers and can be delivered to user devices
on-demand.

- **Use Case:** Useful for organizations aiming to simplify application management, enhance
security, and support diverse device environments.

4. **Hosted Shared Desktops:**

- **Description:** Similar to VDI, but with a shared desktop experience. Multiple users share a
single virtualized desktop environment hosted on a server.

- **Use Case:** Appropriate for scenarios where users have similar desktop requirements and can
share a common environment.

5. **Local Desktop Virtualization (Type-2 Hypervisor):**

- **Description:** Involves running a virtualization layer on a user's local device, allowing them to
run a virtual machine with its own operating system alongside the native operating system.

- **Use Case:** Useful for development, testing, or scenarios where users need to run multiple
operating systems on their personal devices.

6. **Client-Based Virtual Desktops:**

- **Description:** Similar to VDI, but the virtual desktops run locally on the user's device rather
than being hosted on a centralized server.
- **Use Case:** Suitable for scenarios where users require a consistent environment but need
offline access to their desktops.

7. **Offline Virtual Desktops:**

- **Description:** Users access a virtual desktop hosted on a central server, but they have the
ability to download and run the virtual desktop locally when offline.

- **Use Case:** Useful for situations where users need access to their desktops even without a
network connection.

8. **Cloud-hosted Virtual Desktops (Desktop as a Service - DaaS):**

- **Description:** Virtual desktops are hosted in the cloud by a third-party provider. Users access
their desktops over the internet, and the provider manages the infrastructure.

- **Use Case:** Offers flexibility, scalability, and reduced infrastructure management for businesses
without a dedicated IT team.

The choice of desktop virtualization type depends on factors such as the organization's requirements,
infrastructure, user needs, and the level of control and customization desired.

**Benefits of Desktop Virtualization:**

1. **Cost Savings:**

- **Reduced Hardware Costs:** Centralized virtual desktops mean less reliance on individual, high-
powered desktop computers.

- **Energy Efficiency:** Lower energy consumption as powerful servers in data centers are more
energy-efficient than numerous desktops.

2. **Centralized Management:**

- **Simplified Administration:** IT administrators can manage and update all virtual desktops from
a central location.

- **Uniform Deployment:** Applications, updates, and patches can be uniformly deployed across
the organization.

3. **Enhanced Security:**

- **Isolation:** Each virtual desktop operates independently, providing isolation and preventing
security breaches from spreading.
- **Centralized Security Measures:** Security measures and updates are centralized, ensuring
consistent protection across all virtual desktops.

4. **Flexibility and Accessibility:**

- **Anytime, Anywhere Access:** Employees can access their virtual desktops from any device and
location, fostering flexibility and remote work capabilities.

- **User Mobility:** Virtual desktops can be accessed seamlessly, promoting user mobility within
and outside the organization.

5. **Resource Efficiency:**

- **Dynamic Resource Allocation:** Resources such as CPU, memory, and storage are allocated
dynamically based on demand, optimizing performance and resource utilization.

- **Reduced Downtime:** The central server's robust infrastructure enhances system reliability
and reduces downtime.

6. **Scalability:**

- **Easy Expansion:** As the organization grows, adding new virtual desktops is simpler and more
scalable compared to deploying physical desktops.

- **Adaptability:** Desktop virtualization adapts to changing business needs and the number of
users without significant infrastructure changes.

=---------------------------------------------------------------------------------------------------------------------------------=

You might also like