0% found this document useful (0 votes)
811 views22 pages

VMware Virtualization Case Study

This document provides a case study on virtualization using VMware. It begins with an introduction to virtualization, describing how it allows multiple guest operating systems to run simultaneously on a single server. It then discusses the differences between traditional and virtual architectures. The document outlines several benefits of virtualization for universities. It provides details on OS virtualization using VMware Workstation, including terminology and requirements. Steps are provided for installing VMware Workstation Player 15 and Ubuntu 20.04 in a virtual machine.

Uploaded by

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

VMware Virtualization Case Study

This document provides a case study on virtualization using VMware. It begins with an introduction to virtualization, describing how it allows multiple guest operating systems to run simultaneously on a single server. It then discusses the differences between traditional and virtual architectures. The document outlines several benefits of virtualization for universities. It provides details on OS virtualization using VMware Workstation, including terminology and requirements. Steps are provided for installing VMware Workstation Player 15 and Ubuntu 20.04 in a virtual machine.

Uploaded by

Altamash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Title Page
  • Introduction to Virtualization
  • Virtualization Benefits in Universities
  • Operating System Virtualization
  • Requirements and Terminology
  • VMWare Introduction and Products
  • Installing VMWare Workstation Player
  • Installing Ubuntu 20.04 on VMWare Player
  • Post Installation: Web Server Setup

CASE STUDY

ON

VIRTUALIZATION USING
VMWARE

Shaikh Altamash Asif


[Link]:-04
Date:-12-08-2020
Virtualization: An Introduction
 Virtualization refers to a concept in which access to a
single server, is coordinated so that multiple guest
(client) operating systems can share that server

 No guest (client) operating system being aware that it is actually sharing


anything at all

 Creating a virtual environment for any program to


run on an existing platform as a guest

 The virtual environment running might be an Operating System, Storage


device, Network or an Application server among other things.

 It is not a new technology. Mainframe computers have offered the ability


to host multiple operating systems for over 30 years

Traditional vs. Virtual Architecture


Traditional Architecture:
 Operating system is installed on the single CPU and above that
applications are installed.

 We can’t run multiple OS at same time due to limitation of x86 chips.

 We have to STOP one OS to start other.

Virtual Architecture:
 Allows us to install multiple OS on single machine.

 We can run Windows and Linux OS at same time

 A virtualization layer is added called hypervisor. It is the supervisor of


the supervisor

 Multiple OS are installed on this layer and can communicate among each
other’s.
Virtualization Benefits in Universities

Teach multiple operating systems with a single host computer


Students can ‘own’ their VM while having minimal access to the host computer
Multiple VMs can run simultaneously on one host
Easy maintenance and testing
If VM gets a virus, Copy another one.
Snapshots allow saving current states of the VM and we can restore VM to any
previous state.
Run multiple versions of software
Teach Office 2007 while previewing Office 2013 by using two different VMs.
For programming and database; write an application in one version and easily
test on another version
Isolate your OS from the campus network and host computer
For programming and networking, run services and write software
which might normally interfere with the host computer or the campus
network
Operating System Virtualization
OS Virtualization (Virtual Machines)
Separate OS from Physical Hardware
Host OS  Guest OS
Virtualization layer is added to the system.

Guest OS (Linux) Guest OS (Ubuntu)Guest OS (Others)

Virtual Layer (VMWare Workstation)

Host OS (Windows 10)

Hardware (CPU)

Operating System Virtualization (contd.)


How does Guest OS get to Hardware?
Virtualization Requirements and Recommendations
 Supported host operating system (Windows XP Pro, Vista, Server
2003/2008, Linux)

 Sufficient RAM on your host computer to accommodate the host OS and


the guest OSs you wish
 to run

 Sufficient CPU power

 Sufficient hard drive space to accommodate the stored VMs

 Minimum 1 GB RAM, 2+ GB recommended for Vista and Server 2008


virtual machines

 Minimum 3.0 GHz P4, recommended 2.4+ GHz dual-core CPU

 Separate hard drive (80 GB+) for the VMs

Virtualization Terminology

Host machine or host computer


The computer on which the virtual machine software is installed (Virtual PC or
VMWare, e.g.)

Virtual machine (VM) or Guest OS


Similar to physical machines. Have CPU, RAM, Hard disk, NIC etc.
The operating system that runs in virtual machine software on the host
computer
Comprised primarily of a configuration file and one or more virtual hard drive
files

Virtual disk
One or more files that reside on the host computer that make up the VM‟s
hard disk

Virtual network
The network configuration used by the VM
Options include: bridged, host only, NAT and none
VMs behave like just another computer on the network

Snapshot
A partial copy of a VM at a particular moment in time. Allows you to „go back‟
to the VM at that particular state. Some programs allow saving multiple
snapshots.

VMWare: A brief introduction

 VMWare was the first serious virtualization software


 Around since mid-90s
 The leader in server and desktop virtualization

Free products
 VMWare Player – runs existing virtual machines but cannot create a new
VM
 VMWare Server – can create and run VMs; better suited for low-end
server applications

VMWare Workstation
 Flagship desktop product
 One PC, multiple OS
 Create and run VMs
 Import VMs
 Has all of the additional support including unlimited snapshots, screen
capture to create movies
 Costs: $59.99 retail
Installing Workstation Player 15
Step 1:-Download and Install VMWare Workstation Player 15

Step 2:- Click on Next


Step 3:- Accept the terms in the License Agreement

Step 4:- Select the installation destination where you want to install VMWare
and then click on the checkbox and then click on Next.
Step 5:- Click on Next

Step 6:- Click on the checkbox’s and then click on Next.


Step 7:- Click on Install to start the installation process.

Step 8 :- After your installation is completed then click on Finish to complete


the process of the installation.
Installing Ubuntu 20.04 on VMWare Player 15
Step 1:- Open VMWare Workstation Player and then click on Create a New
Virtual Machine

Step 2:- Click on I will install the operating system later.


Step 3:- Click on Linux and select Ubuntu 64-bit and then Click on Next.

Step 4:- Enter your Virtual Machine Name and select the location where you
want to save your Virtual Machine and Click on Next.
Step 5:- Enter the disk capacity (e.g. 100GB) and select Split Virtual disk into
multiple files and Click on Next.

Step 6:- Click on Customize Hardware


Step 7:- Click on Customize Hardware
Step 8:- Then Customize your Hardware for your Virtual Machine e.g.(Select
Memory:2GB and [Link]) and then Click on New CD/DVD and
then Click on Use ISO Image file and then browse to the location where you
have downloaded the Ubuntu 20.04 iso file and then Click on Close and then
Click on Finish.

Step 9: Now you can see your Ubuntu 20.04 Virtual Machine is created and
then Click on Play virtual machine to install Ubuntu 20.04 on your Virtual
Machine.

Step 10:- Select English and Click on Install Ubuntu


Step 11:- Select your Keyboard layout and Click on Continue.

Step 12:-Select Normal installation and then Click on Install-third-party


software checkbox and then Click on Continue.
Step 13:- Select Erase disk and install Ubuntu don’t worry it will not erase
anything from your Windows OS so just leave as it is and Click on Install Now.

Step 14:- Select the nearest location and then Click on Continue.
Step 15:-Enter the name for your Ubuntu 20.04 OS and choose a password to
Login and then Click on Continue and your installation will begin after
installation is completed it give you the message to restart your Virtual
Machine.
Step 16:- After restarting your Virtual Machine you it will be asking the
password so enter the password and hit ENTER.

Now your Ubuntu 20.04 is successfully installed


Apache is successfully installed in Ubuntu 20.04

MySQL is successfully installed in Ubuntu 20.04


PHP is successfully installed in Ubuntu 20.04

in
Compute
Applicati
ns Roll
No. 21

Common questions

Powered by AI

Virtualization has evolved significantly from its origins in mainframe computers, which offered the ability to host multiple operating systems over 30 years ago. The evolution has been influenced by advancements in computing technologies, particularly the development of efficient virtualization software such as VMware, which was introduced in the mid-90s. Technologies enabling this evolution include the development of hypervisors, which allow multiple operating systems to run on a single physical machine, and improvements in CPU and memory management that make it possible to allocate resources dynamically. Moreover, the versatility of virtual environments has been expanded with the introduction of features such as snapshots and virtual networks, allowing for more robust system management and network integration .

Setting up a virtual environment using VMware requires several key components: a supported host operating system (e.g., Windows XP Pro, Vista, Server 2003/2008, Linux), sufficient RAM to accommodate both the host and guest operating systems, a powerful enough CPU, and sufficient hard drive space for stored virtual machines (VMs). The recommended minimum hardware specifications include 1 GB RAM (2+ GB recommended for Vista and Server 2008), a minimum 3.0 GHz P4 or a 2.4+ GHz dual-core CPU, and a separate hard drive (80 GB+) for VMs. The host machine, also known as the host computer, is where the virtual machine software is installed, such as VMware. Each virtual machine operates within this software environment, utilizing the host's resources to function as if it were a separate physical machine .

Installing Ubuntu 20.04 on VMware Workstation Player 15 involves several steps. First, after downloading and installing VMware Workstation Player, the user creates a new virtual machine and chooses the option 'I will install the operating system later'. After selecting 'Linux' and 'Ubuntu 64-bit', the user names the virtual machine and chooses a location to save it. Then, the disk capacity is set (e.g., 100GB) and the option to split the virtual disk into multiple files is selected. The hardware can be customized, for example, by selecting 2GB Memory and 4 processors. The installation uses an ISO image file to install Ubuntu. The user must then proceed through the typical installation steps of choosing language, keyboard layout, installation type, and user details, ensuring selections such as 'Erase disk and install Ubuntu' do not affect the host OS. Upon completion, the VM is restarted to finish the installation .

When setting up virtual machines (VMs) on a host system, it is essential to ensure that the hardware specifications meet certain requirements. The host system must have sufficient RAM to accommodate both the host operating system and the guest operating systems. For efficient operation, at least 1 GB of RAM is needed, although 2+ GB is recommended for running resource-intensive systems like Vista and Server 2008. The CPU should be powerful enough, with minimum requirements of a 3.0 GHz P4, though a dual-core 2.4+ GHz is recommended. Adequate hard drive space is crucial; a separate hard drive of at least 80 GB is recommended to store the VMs. These specifications ensure that the host system can handle the workloads of multiple VMs properly without performance degradation .

Virtualization in educational environments allows for the teaching of multiple operating systems with a single host computer, enabling students to 'own' their virtual machines (VMs) with minimal access to the host computer. This setup allows multiple VMs to run simultaneously on one host, making maintenance and testing easier. For example, if a VM gets a virus, it can simply be replaced by a copy of another one. Snapshots allow saving the current states of VMs, which can be restored to any previous state. Virtualization supports running multiple versions of software, facilitating the teaching of software versions such as Office 2007 while previewing Office 2013 using different VMs. For programming and database applications, it allows applications to be written in one version and easily tested on another, while also isolating the OS from the campus network and host computer. Thus, virtualization enhances learning by providing a versatile, safe, and isolated environment where complex scenarios can be simulated without affecting the actual host system .

When a virtual machine (VM) encounters a malfunction or error, using features such as snapshots and backups in VMware can facilitate recovery. It is advisable to take regular snapshots of the VM, which can serve as restore points. In the event of a failure, the VM can be reverted to a previous snapshot where the machine was known to be functioning correctly. This process can mitigate data loss and reduce downtime. Additionally, maintaining separate backups of the VM's configuration files and virtual disks ensures that the entire VM can be restored from scratch if necessary. By combining the use of snapshots and backups, one can effectively recover from errors while minimizing the impact on operations .

Virtual networks in VMware significantly enhance network configuration and management within a virtual environment. VMware provides various configurations like bridged networking, host-only networking, and NAT (Network Address Translation), allowing VMs to behave like actual computers on a network. Bridged networking connects a VM to the same network as the host, enabling it to be accessed by its own IP address. Host-only networking allows the VM to only communicate with the host and other VMs on the same host, providing isolation from the physical network. NAT shares an IP address of the host from a private subnet and enables the VM to access external networks without direct exposure. These options provide the flexibility to configure the network according to specific needs, contributing to secure management and connectivity of VMs .

In traditional architecture, the operating system is installed on a single CPU, and applications are installed on top of it. Due to the limitations of x86 chips, multiple operating systems cannot run simultaneously; one must be stopped before the other can be started. In contrast, virtual architecture allows multiple operating systems to be installed on a single machine via a virtualization layer called the hypervisor, which acts as a supervisor over the operating systems. This setup enables simultaneous running of different operating systems such as Windows and Linux and allows these systems to communicate with each other .

VMware Player and VMware Workstation differ primarily in their functionality and intended use cases. VMware Player is designed primarily for running existing virtual machines and does not have the capability to create new virtual machines. It is more suited for end-users who need to run VMs without the complexity of full virtual infrastructure management. In contrast, VMware Workstation is VMware's flagship desktop product that offers comprehensive capabilities to create and run multiple VMs. It provides advanced features such as importing VMs, unlimited snapshots, screen capture to create movies, and more. These capabilities make VMware Workstation suitable for developers and IT professionals who require more advanced features and flexibility in managing virtual environments .

Snapshots in virtualization provide a way to capture the state of a virtual machine (VM) at a specific point in time, creating a 'partial copy' that can be used to revert the VM back to that state. This capability significantly contributes to system management and recovery by allowing administrators and users to easily restore a VM to a known good state after changes, updates, or in the case of a malfunction or a virus attack. Snapshots are particularly useful in testing and development environments where changes need to be frequently undone. Furthermore, some virtualization programs allow saving multiple snapshots, providing a history of states to revert to as needed, facilitating better system management and reducing time spent in troubleshooting .

You might also like