Chapter 3 - CC
Chapter 3 - CC
Benefits of Virtualization:
Optimized Use of Resources: Makes the most out of physical hardware.
Reduced Costs: Saves money on software licenses, infrastructure setup, and cooling.
Easier Backup: Simplifies backup procedures for virtual servers and machines.
• Allows quick transfer of virtual machines between servers.
Privilege Levels / Protection Rings: Provide security and fault tolerance by limiting
resource access to specific privilege levels.
Privilege Levels:
• Level 0: Innermost layer
- Highest privilege | Runs the OS kernel | CPU operates at this level when the OS boots.
Techniques of virtualization
1. Full Virtualization
• Primary hardware is replicated and made available to the guest operating system.
• User-level code (executed in ring 3) runs directly on the processor.
• Virtual machine monitor (VMM) must be executed in Ring 0.
• Binary translation is used to run the guest operating system without modification.
Advantages:
• Virtual machines are fully isolated.
• Operating systems can be installed without modification.
• Provides performance like native CPU and memory.
• Supports various operating systems and versions from different vendors.
• Because the guest OS remains unmodified, migration and portability is very easy.
Example: VMware, Hyper-V
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
3. Hardware assisted virtualization
• Provides full virtualization using hardware capabilities.
• Embedding VM into hardware component of server.
Example: Intel-VT, AMD-V
ID: 52J20125 INSTA: SALMAN_UTASA
Types of Virtualizations
1. Data virtualization is the process of combining data from different sources of
information into one virtual view. This view can be accessed by front-end solutions like
applications and dashboards without needing to know where the data is stored.
3. CPU Virtualization allows a single processor to act as multiple individual CPUs and
enable the users to run different operating systems simultaneously.
6. Server Virtualization divides a physical server into several logically isolated virtual
machines and creates multiple resource instances.
Virtualization in cloud
• Virtualization plays a very important role in achieving the aim/ objectives of cloud
technology, “to be everywhere, flexible, and easy to use.”
• Virtualization provides sharing of infrastructure.
-----------------------------------------------------------------------------------------------------------------
Linux commands