Unit 2 Ccs372
Unit 2 Ccs372
Virtualization
Fundamentals of Virtualization
• To Learn the basics and types of Virtualization
• To understand the Hypervisors and its types
• To Explore the Virtualization Solutions
• To Experiment the virtualization platforms
2
Unit I INTRODUCTION TO VIRTUALIZATION
7
4
UNIT III NETWORK VIRTUALIZATION 6
5
Unit IV STORAGE VIRTUALIZATION
6
Unit V VIRTUALIZATION TOOLS
7
PRACTICAL EXERCISES:
1. Create type 2 virtualization in VMWARE or any equivalent Open
Source Tool. Allocate memory and storage space as per
requirement. Install Guest OS on that VMWARE.
2.
1. Shrink and extend virtual disk
2. Create, Manage, Configure and schedule snapshots
3. Create Spanned, Mirrored and Striped volume
4. Create RAID 5 volume
3.
1. Desktop Virtualization using VNC
2. Desktop Virtualization using Chrome Remote Desktop
4. Create type 2 virtualization on ESXI 6.5 server
5. Create a VLAN in CISCO packet tracer
6. Install KVM in Linux
7. Create Nested Virtual Machine(VM under another VM) 8
COURSE OUTCOMES:
9
TEXT BOOKS
1. Cloud computing a practical approach – Anthony T.Velte , Toby J. Velte Robert Elsenpeter, TATA McGraw- Hill , New
Delhi – 2010
2. Cloud Computing (Principles and Paradigms), Edited by Rajkumar Buyya, James Broberg, Andrzej Goscinski, John
Wiley & Sons, Inc. 2011
3. David Marshall, Wade A. Reynolds, Advanced Server Virtualization: VMware and Microsoft Platform in the Virtual
Data Center, Auerbach
4. Chris Wolf, Erick M. Halter, “Virtualization: From the Desktop to the Enterprise”, APress, 2005.
5. James E. Smith, Ravi Nair, “Virtual Machines: Versatile Platforms for Systems and Processes”, Elsevier/Morgan
Kaufmann, 2005.
6. David Marshall, Wade A. Reynolds, “Advanced Server Virtualization: VMware and Microsoft Platform in the Virtual
Data Center”, Auerbach Publications, 2006.
10
UNIT II SERVER AND DESKTOP VIRTUALIZATION
11
Virtual machine basics
• A Virtual Machine (VM) is a software-based emulation of a physical computer. It
an OS and applications just like a real machine but is isolated from the host system.
Components of a Virtual
Machine
• Hypervisor: Software that creates and manages VMs (e.g., VMware, VirtualBox,
Microsoft Hyper-V).
• Virtual Hardware: The emulated components, including CPU, RAM, storage, and
network interfaces.
Types of Virtual Machines
•System Virtual Machines: Provide a complete OS environment (e.g., running Linux on a
Windows machine).
•Process Virtual Machines: Run a single application in a virtualized environment (e.g., Java
Virtual Machine - JVM).
Benefits of Virtual Machines
• Isolation: VMs are independent of each other and the host OS.
• Portability: VMs can be easily moved between different physical systems.
• Resource Optimization: Multiple VMs can share the same hardware, maximizing
utilization.
• Security: Malicious software in one VM does not affect the host or other VMs.
Common Virtualization Software
• VMware Workstation/ESXi
• Oracle VirtualBox
• Microsoft Hyper-V
• KVM (Kernel-based Virtual Machine)
• Parallels Desktop (for macOS)
Types of virtual machines
System Virtual Machines
• These VMs provide a complete virtualized environment that acts as a
separate physical computer.
• They allow users to run multiple OS instances on a single physical
machine.
• Each VM includes a full OS, virtual hardware, and applications.
• Examples: Running Ubuntu Linux on a Windows machine using VirtualBox.
Common Use Cases
✔️ Server Virtualization (e.g., VMware ESXi, Microsoft Hyper-V)
✔️ Cloud Computing (e.g., AWS, Google Cloud VMs)
✔️Software Testing & Development
Process Virtual Machines
✔ Disaster Recovery & Backup – VMs can be quickly backed up, restored, or
migrated.
Common Hypervisors for Server
Virtualization
• VMware vSphere (ESXi) – Enterprise-grade, widely used in data centers.
virtualization.
• With Virtualization: A single server can host multiple VMs, reducing the need
for hardware purchases, maintenance, and energy consumption.
• Security policies and updates can be centrally managed for multiple VMs.
production servers.
workloads.
• Automation tools can handle routine tasks like VM provisioning, patching, and
monitoring.
✔ Example: A retail chain automates server updates using Red Hat Virtualization,
requirements.
• Helps businesses achieve green IT initiatives and lower their carbon footprint.
• Use Case: A software company uses virtual machines to test apps across
platforms.
Key Factors to Consider
✅ 1.1 Performance & Scalability
• Does the platform support high-performance computing (HPC) and large
workloads?
• Can it scale efficiently with increasing workloads?
✅ 1.2 Compatibility & Integration
• Supports multiple operating systems (Windows, Linux, macOS)?
• Works with existing IT infrastructure (network, storage, cloud)?
✅ 1.3 Management & Automation Features
• Centralized management via dashboard or command-line tools?
• Supports automated provisioning, updates, and monitoring?
✅ 1.4 High Availability & Disaster Recovery
• Offers live migration, failover clustering, and backup integration?
• Ensures minimal downtime in case of hardware failure?
✅ 1.5 Security & Compliance
• Built-in security features like encryption, firewall, and isolation?
• Meets industry standards for data protection (HIPAA, GDPR, PCI-DSS,
etc.)?
✅ 1.6 Cost & Licensing
• Open-source vs. commercial licensing?
• Does it fit within your IT budget?
1. Features and Capabilities
• Virtual Machine Support: Make sure the platform supports the type of
virtual machines (VMs) you need, including hardware acceleration,
snapshots, and cloning.
• Live Migration: Some platforms allow moving running VMs from one
physical server to another without downtime, which is important for load
balancing and maintenance.
• Storage Virtualization: Check if the platform provides shared storage
options for better VM management and performance.
• Network Virtualization: Some platforms offer network virtualization to
manage the virtual network infrastructure.
• High Availability and Fault Tolerance: Ensure the platform supports
failover, replication, and disaster recovery.
2. Performance
• Resource Management: Look at how the platform handles CPU, memory,
and storage allocation for VMs.
3. Scalability
• Choose a platform that can scale with your future needs, whether that
means supporting a growing number of VMs, more servers, or greater
storage capacity.
4. Security
• The platform should offer robust security features, such as secure boot, VM
isolation, and encryption of data both at rest and in transit.
5. Cost
• Evaluate the total cost of ownership, including initial licensing, support,
training, and any additional hardware requirements.
• Consider if the platform offers a free version or trial to test the capabilities
before committing to a purchase.
6. Management Tools
• Look for a platform with a centralized management interface to manage the
virtualized environment.
• The ability to automate tasks like VM provisioning, patch management, and
updates can also reduce administrative overhead.
7. Integration and Compatibility
• Consider the level of support offered by the vendor and the community
around the platform. Some platforms have large communities and forums
where you can get help and share knowledge.
Popular Server Virtualization Platforms
1. VMware vSphere (ESXi)
• Strengths: Industry leader in virtualization, feature-rich, robust management, scalability, and high
availability.
• Pricing: Paid, with a free version of ESXi available but limited in features.
2. Microsoft Hyper-V
• Strengths: Seamless integration with Windows Server and Active Directory, supports Windows and
Linux VMs, good performance.
• Pricing: Included with Windows Server, but can have additional licensing costs for advanced features.
3. Proxmox VE
• Strengths: Open-source, flexible, supports both KVM and LXC containers, centralized
management, backup features, and good for small to medium-sized businesses.
• Strengths: Integration with Oracle software, high-performance virtualization, and good for
Oracle applications.
• Pricing: Free, but typically used with Oracle products which may incur additional costs.
• Strengths: Open-source, lightweight, and highly customizable, good for Linux environments.
• Best For: Linux-based environments or when you want full control over the virtual
infrastructure.
• Pricing: Free.
7. Red Hat Virtualization (RHV)
• Centralized Management: IT admins can manage virtual desktops from a single location, making
updates, patches, and configurations more efficient.
• Security: With virtual desktops stored centrally, data does not reside on end-user devices, reducing the
risk of data theft or loss.
• Cost Savings: By using lower-cost thin clients or repurposed old hardware for users, you can reduce
hardware expenses.
• Flexibility: Users can access their desktops from various devices (laptops, tablets, smartphones) and
locations (office, remote work, etc.).
• Disaster Recovery: Virtual desktops are easier to back up and recover in case of a system failure.
• Improved Compliance: Organizations can better control and monitor user activities, enhancing
compliance with security and regulatory standards.
Key Components of Desktop Virtualization
• Hypervisor: The software responsible for creating and managing VMs. In the case
of desktop virtualization, it runs the virtual desktops.
• User Devices (Thin Clients or Endpoints): Devices users access virtual desktops
from. These can be thin clients, laptops, or mobile devices.