AD1735 - Virtualization and Cloud Computing Lab Manual
AD1735 - Virtualization and Cloud Computing Lab Manual
OF
COMPUTER SCIENCE AND ENGINEERING
NAME :
REGISTER NUMBER :
ROLL NO :
BRANCH :
SEMESTER :
i. Introduction of Course
ii. Syllabus –List of Experiment - Reference books
Experiments
(Planning- Aim; Description; Procedure;
Program; Viva;
Assessment – Rubrics- Mark allotted and awarded;
Result;
Observations - by student)
CO
Marks Attained?
Ex.No Date Experiment Name PageNo Sign
(100) (Yes/No)
Install Virtualbox with
1 different flavours of OS
Attach virtual block to the
virtual machine and check
2 whether it holds the data
even after the release of the
virtual machine
Install a C compiler in the
3
virtual machine
Show the virtual machine
migration based on the
4
certain condition from one
node to the other
Find a procedure to
transfer the files from one
5
virtual machine to another
virtual machine
Find a procedure to launch
virtual machine using
6
trystack (Online Openstack
Demo Version)
Laboratory Specific Instructions to Students
DOs:
Dont's:
you need. Therefore, depending on your business needs or projected traffic to your
infrastructure
b. Saving Costs: Cloud computing helps businesses to reduce costs in various ways.
Companies only pay for the resources they use, making this process a more
economical option than having to buy and manage their own resources. Cloud
c. Disaster Recovery: With all data stored in the ‘cloud’ backup and recovery of
data and applications is quicker and more reliable. This applies to all sizes of
organizations and volumes of data. 20% of cloud users claim disaster recovery in
carefully monitor security. Compare this against an in-house I.T. department, for
Syllabus – List of Experiments
Course Code
: AD1735
(As per Curriculum)
Course Code
: 20AD407
(As per NBA)
Course Name : Virtualization and Cloud Computing Laboratory
CO Assessment:
i. The assessments should be in alignment with the COs
ii. Question paper should be so set to assess all COs
iii. The average marks obtained in assessments against items for each
CO will indicate the CO attainment
CO Attainment gaps:
CO iv. Instructors can set targets for each CO of his/her course
Attainment
v. Attainment gaps can therefore be identified
vi. Instructor can plan to reduce the attainment gaps or enhance
attainment targets enhance attainment targets
CO Attainment:
vii. If the assessment is in alignment with COs, the performance of the
students indicates the CO attainment
Program Outcome (PO)
( Graduate Attributes)
At end of the laboratory course,
PO/ Engineering Graduate will be able Learning
attained the Outcomes/Skill of the
PSO to : Level
student- ( Remark by students)
Engineering knowledge: Apply the
knowledge of mathematics, science,
engineering fundamentals and an K3
PO 1
engineering specialization for the - Apply
engineering practice.
Individual and team work: Function
effectively as an individual, and as a A3
PO 9
member or leader in diverse teams, and -Value
in multidisciplinary settings.
Communication: Communicate
effectively on complex engineering
activities with the engineering
community and with the society at large,
A3
PO 10 such as, being able to comprehend and
- Value
write effective reports and design
documentation, make effective
presentations, and give and receive clear
instructions.
Project management and finance:
Demonstrate knowledge and
understanding of the engineering and
K3
PO 11 management principles and apply these
- Apply
to one’s own work, as a member and
leader in a team, to manage projects and
in multidisciplinary environments.
Life-long learning: Recognize the
need for, and have the preparation and A5
PO 12 ability to engage in independent and Characte
of technological change.
Course Objectives
To understand the concepts of cloud computing
To Explain migration concepts in virtualization
To Familiarize with cloud software environment and security in cloud
Course Outcomes
On successful completion of this course, students will be able to
CO CO-Statements Knowledge Level
CO1 Outline the evolution of Cloud Computing and its characteristics K2 - Understand
CO1 L L M L H L - - L L - L M M
CO2 M L M M H L - - L L - M M M
CO3 H M M M H L - - L L - M M M
CO4 M L M M H L - - L L - M M M
CO5 M M M M H L - - L L - M M M
CO –PO Matrix
Program
Program outcomes Specific
outcomes
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2
CO
(K3) (K4) (K5) (K5) (K6) (K3) (K2) (K3) (A3) (A3) (K3) (K5) (K3) (K5)
CO1 1 1 2 1 3 1 - - 1 1 - 1 2 2
CO2 2 1 2 2 3 1 - - 1 1 - 2 2 2
CO3 3 2 2 2 3 1 - - 1 1 - 2 2 2
CO4 2 1 2 2 3 1 - - 1 1 - 2 2 2
CO5 2 2 2 2 3 1 - - 1 1 - 2 2 2
PO
Expected
(Round off 1.8 1.4 2 1.8 3 1 - - 1 1 - 1.8 2 2
Average)
Blooms Marks CO
Course Taxonomy Obtained Attained?
S.No Experiment Name
Outcome level Out of (Y/N)
100
Install Virtualbox with CO1
1 K3
different flavours of OS
Attach virtual block to the CO1
virtual machine and check
2 whether it holds the data even K3
after the release of the virtual
machine
Install a C compiler in the CO2
3 K3
virtual machine
Show the virtual machine CO3
migration based on the
4 K3
certain condition from one
node to the other
Find a procedure to transfer CO4
the files from one virtual
5 K3
machine to another virtual
machine
Find a procedure to launch CO5
virtual machine using
6 K3
trystack (Online Openstack
Demo Version)
CO ATTAINMENT - Internal Assesment EVALUATION SHEET
Marks Average CO
Course Obtained of each Attained?
Experiment Name
Outcome Out of CO (Y/N)
100
Install Virtualbox/VMware Workstation
20AD407.1 with different flavours of linux or
windows OS on top of windows7 or 8
Find procedure to attach virtual block to
the virtual machine and check whether it
20AD407.1
holds the data even after the release of
the virtual machine
20AD407.2 Install a C compiler in the virtual
machine created using virtual box and
execute Simple Programs
20AD407.3 Show the virtual machine migration
based on the certain condition from one
node to the other
20AD407.4 Find a procedure to transfer the files
from one virtual machine to another
virtual machine
20AD407.5 Find a procedure to launch virtual
machine using trystack (Online
Openstack Demo Version)
Over All Total
Average Mark (Out of 100) – ( A)
Rubrics
Category Rubrics
AIM
To install Guest OS on Virtual Machine using Oracle VirtualBox.
DESCRIPTION
VIRTUALIZATION
Virtualization is the creation of virtual servers, infrastructures, devices and
computing resources.
Virtualization changes the hardware-software relations and is one of the
foundational elements of cloud computing technology that helps utilize the
capabilities of cloud computing to the full.
Virtualization techniques allow companies to turn virtual their networks, storage,
servers, data, desktops and applications.
Types of Virtualization
Operating System Level Virtualization: Server virtualization method where
the kernel of an operating system allows for multiple isolated user- space
instances, instead of just one. Such instances (sometimes called containers,
software containers, virtualization engines (VE), virtual private servers (VPS))
may look and feel like a real server from the point of view of its owners and
users.
Platform / Hardware Virtualization: Hardware virtualization or platform
virtualization refers to the creation of a virtual machine that acts like a real
computer with an operating system. Software executed on these virtual machines
is separated from the underlying hardware resources. For example, a computer
that is running Microsoft Windows may host a virtual machine that looks like a
computer with the Ubuntu Linux operating system; Ubuntu-based software can
be run on the virtual machine.
In hardware virtualization, the host machine is the actual machine on which
the virtualization takes place, and the guest machine is the virtual machine. The
words host and guest are used to distinguish the software that runs on the
physical machine from the software that runs on the virtual machine. Different
types of hardware virtualization include:
o Full Virtualization: Almost complete simulation of the actual hardware to
allow software, which typically consists of a guest operating system, to run
unmodified.
o Partial Virtualization: Some but not all of the target environment is
simulated. Some guest programs, therefore, may need modifications to run
in this virtual environment.
o Para Virtualization: A hardware environment is not simulated; however,
the guest programs are executed in their own isolated domains, as if they
are running on a separate system.
Application Virtualization: A software technology that encapsulates computer
programs from the underlying operating system on which it is executed. A fully
virtualized application is not installed in the traditional sense, although it is still
executed as if it were.
PROCEDURAL STEPS
1. Download and Install Oracle Virtual Box latest version & Extension
Package. Link 1: https://www.virtualbox.org/wiki/Downloads
Link 2: https://www.oracle.com/in/virtualization/technologies/vm/downloads/
virtualbox- downloads.html
2. Download Ubuntu 14.4 OVA (Open Virtual Appliance)
Link: https://www.osboxes.org/ubuntu/
3. The files are downloaded in Local Machine Click the Oracle VM VirtualBox 6.0.8
& Setup Wizard Move to run time environment (Open Terminal)
RESULT
Thus, the Guest OS is installed on Virtual Machine using Oracle VirtualBox.
1.
AIM
To install C Complier on Guest OS ‘Ubuntu 14.4’.
PROCEDURAL STEPS
1. To download package information from all configured sources $ sudo apt-get
update
2. To install C Compiler on Ubuntu 14.4 $ sudo apt-get install gcc
3. To install C++ Compiler on Ubuntu 14.4 $ sudo apt-get install g++
4. Create a file to write C program $ sudo gedit <<file_name>>.c
To compile C program $ gcc <<file_name>>.c
To run C program $ ./a.out
VIVA QUESTIONS
1.
AIM
To migrate files from one virtual machine to another virtual machine.
PROCEDURAL STEPS
1. Create two virtual machines in Oracle VM VirtualBox
Operating System used: CentOS
1. Expansion of SSH is .
RESULT
Thus, the file migration between VMs executed successfully.
1.
AIM
To create Virtual Machine in Online OpenStack Cloud Platform.
DESCRIPTION
OpenStack was introduced by Rackspace and NASA in July 2010.
OpenStack is an Infrastructure as a Service known as Cloud Operating System, that
take resources such as Compute, Storage, Network and Virtualization Technologies
and control those resources at a data center level
The project is building an open-source community to share resources and technologies
with the goal of creating a massively scalable and secure cloud infrastructure.
The software is open source and limited to just open-source APIs such as Amazon.
OpenStack Architecture
It is modular architecture
Designed to easily scale out
Based on (growing) set of core services
CINDER
Block Storage (Volume) service
Provides block storage for Virtual Machines (persistent disks)
Like Amazon EBS service
Plugin architecture for vendor extensions
NetApp driver for cinder
HORIZON
Dashboard
Provides simple self-service UI for end-users
Basic cloud administrator functions
o Define users, tenants, and quotas
o No infrastructure management
CEILOMETER
OpenStack Monitoring and Metering
Goal: To Provide a single infrastructure to collect measurements from an entire
OpenStack Infrastructure; Eliminate need for multiple agents attaching to multiple
OpenStack Projects
Primary targets metering and monitoring: Provided extensibility
PROCEDURAL STEPS
1. Create an account in Platform9
1.1 Click “Try SandBox”
1.2 Explore Managed OpenStack Give all the details Click “Submit”
1.3 Check the registered mail to get “User Name” and “Password”
1.6 Instances
2. Instance Creation
2.1 Move to Instances Click “+INSTANCE”
2.2 Source: Boot Instance from Image, Image Selection Choose an “OS image”
Click “Next”
2.3 Flavor:
Availability Zone Choose “Nova”
Flavor Selection Choose “m1.small” Click “Next”
3.4 Set the service to start with the machine #chkconfig sshd on
1. What is OpenStack?
RESULT
Thus, the Virtual Machine is created successfully in Online OpenStack Cloud
Platform.
1.