Professional Documents
Culture Documents
Hands On 2018 - Virtual Operating Systems - Course For Intermediate Students in Secondary School
Hands On 2018 - Virtual Operating Systems - Course For Intermediate Students in Secondary School
Systems
(Sistemi operativi virtuali)
Introduction (introduzione)
VS
2
VS
3
VS
4
Sistemi operativi virtuali
Virtual Operating Systems
VS
5
What is a Virtual Operating System?
Creates a virtual environment where we can install
another operating system and use it almost as if we were
running it normally.
6
We can switch between these and
use them for different tasks!
7
OOPS…What do we do?
8
Why is it useful(utile)?
● Trial software and updates
● Web surfing
● Older software
9
Pros!
● Cheaper
● Predictable Costs
● Reduces workload
● Faster deployment
● Energy Savings
10
11
Downsides?
● Takes time to learn
● Could conflict
● Slower
12
13
Approaches to Virtualization
14
Partitioning services on top of First layer of software installed on a
a standard operating system clean x86-based system. Direct
and supports the broadest access to the hardware resources,
range of hardware more efficient, security, scalability,
configurations, less cost, no robustness and performance.
additional drivers, easy to Ex. Microsoft Hyper-V 15
use.
Ex. VMware Player
In the real world
16
In the real world
17
In the real world
18
Virtualization for Server Consolidation and
Containment
Server containment reduces existing
infrastructure “box count”, retiring older
hardware or life-extending legacy
applications. Reduction in the overall
number of systems and related recurring
costs (power, cooling, rack space, etc.)
19
20
Other approach – Multi/Dual Booting
●Good for gaming
●Completely separate!
21
Downsides
●Have to restart completely each switch
22
Back to the beginning….
Mainframe Operating
Systems
23
Jobs
SLOW TO DO one at a
time!!
24
Jobs
SLOW TO DO one at a
time!!
25
Simultaneous Jobs!
Mainframe
26
Mainframe OS
● Computer that can support
thousands of applications and I/O
at the same time for thousands of
users!
27
Timeline
● 1950s: Physically large computers, $$$$
28
Why do we use it?
●Encrypt sensitive data across
network
29
30
Why do we use it?
●Web sites use it to store
production databases on a
mainframe host
31
What do they do?
1. Access same data on shared resource
2. Batch jobs without user interaction thousands of times!
3. Ensures no conflicts!
32
33
34
Today
35
How Virtualization Complements New-
Generation Hardware
●Processors with 64-bit extensions supporting very large memory capacities
37
Quiz time!
●Which should you use if you are a gamer?
38
Quiz time!
●Which should you use if you are a gamer?
39
Quiz time!
●Which should you use if want to access your clipboard between OS?
40
Quiz time!
●Which should you use if want to access your clipboard between OS?
41
Quiz time!
●What are mainframe OS good for?
1. Job batching
2. Storing data
4. Sending emails
42
Quiz time!
●What are mainframe OS good for?
1. Job batching
2. Storing data
4. Sending emails
43
Next time: Laboratory
How to build and configure a VM!
Ex. VMWare Workstation Player!
44
Virtual Appliances
●A preconfigured software solution that makes it possible to package,
maintain, update and manage one or more virtual machines together as a single
unit.
45
Comparison to a dishwasher
●Dishwasher integrates water sprayers,
heating coils, sensors and timers as a
prepackaged solution for washing and
drying dishware
●VS
47
Differences
48
Benefits of using Virtual Appliances
49
Benefits for Software Developers and
Appliance Vendors
●Simpler, more cost- effective and more secure way to deliver their
solutions to market
●Accelerate time to market, expand customer reach, and tighten control over
the security and quality of their products.
50
Benefits for Customers
●Reduce the cost of owning and operating software.
51
How to get one
52
How to get one
53
How to get one
●https://marketplace.vmware.com/vsx/
54
Next time…
●Cloud computing…..
55
How to build and configure a VM:
VMWare Workstation Player 12
Lab 1(lezione uno)
Approaches to Virtualization in a PC environment.
● 1st Step: Build a Virtualization Layer over an Host Operative System installed
on PC without modify anything in our computer;
● 2nd Step: Install new Guest Operative Systems, usually different from the
original Host O.S.; each system must have a license, unless they are open source
(Linux for example);
● 3rd Step: Install Applications over new Guest Operative Systems and go !
2
What happen to our computer ?
3
Which Virtual. Products work better with PC ?
Linux Host S.O. :
they are Proprietary Software and than they have license costs (costless for
student and non-professional use).
4
Next time… Virtual Appliance download and
installation
● Virtual Operating System +
Software Application
= Virtual Appliance!!
5
Virtual Appliances
2
A dilemma: Jack and Jill
● Normally, Content
Management Services are
hard to setup
3
Examples
4
Examples
● Open source Web
application framework and
Web CMS (content
management system)
● Aimed at businesses,
universities, and schools that
need an easy-to-use Web
publishing system
● Publish articles, create
forums, build photo galleries,
conduct surveys and polls
5
Examples
● WebGUI offers a server as a virtual appliance that runs on VMWare
6
Examples
● Open source and easy to change!
7
8
Virtual Appliances
● A preconfigured software solution that makes it possible to package, maintain,
update and manage one or more virtual machines together as a single unit.
9
Comparison to a dishwasher
● Dishwasher integrates water sprayers, heating
coils, sensors and timers as a prepackaged
solution for washing and drying dishware
● VS
● Virtual
appliances allow virtual machines to work
together as an integrated, preconfigured
solution that provides an end-to-end service
such as email spam protection.
10
More explanation
● Pre-configured virtual machine image,
ready to run on a hypervisor
● Installation of a software appliance on a
virtual machine and packaging that into an
image creates a virtual appliance.
● Eliminate the installation, configuration and
maintenance costs associated with running
complex stacks of software.
11
How a Virtual Appliance works
● Let’s do math:
● Virtual Operating System + Software Application
= Virtual Appliance!!
12
How a Virtual Appliance works
13
How a Virtual Appliance works
14
Differences
15
Benefits of using Virtual Appliances
● Simplified deployment: encapsulated dependencies
● Free users from having to worry about resolving potentially complex OS
compatibility issues
● Improved isolation: In case of a crash
16
Benefits of using Virtual Appliances
17
Benefits for Software Developers and Appliance Vendors
● Simpler, more cost- effective and more secure way to deliver their
solutions to market
● Accelerate time to market, expand customer reach, and tighten control over
the security and quality of their products.
18
Benefits for Customers
● Reduce the cost of owning and operating software.
19
Examples
20
How to get one
21
How to get one
22
How to get one
23
How to get one
24
How to get one
25
How to get one
● https://marketplace.vmware.com/vsx/
26
How Virtualization Complements New - Generation Hardware
● Processors with 64-bit extensions supporting very large memory capacities
27
Para-virtualization
● Operating system compatibility is traded off against performance for certain
CPU-bound applications running on systems without virtualization hardware assist
Downside:
Modified guests cannot ever be migrated back to run on
physical hardware.
28
Cloud Computing
29
Cloud Computing
● As virtualization becomes pervasive, a common infrastructure is being laid
across datacenters and bridging corporate boundaries that will enable local
and remote resources to be combined securely into a single compute cloud.
30
Cloud Computing
● Enables companies to liberate themselves from the constraints imposed by
physical datacenters
● Run their businesses without the huge costs associated with over-
provisioning resources for peak demands, failover, or disaster recovery.
31
Why
● Resources are pooled across local datacenters and remote
compute clouds interchangeably, fluidly, and safely shared,
tracked, and charged-back to the user.
32
Why
33
Why
34
Quiz time!
● What are Virtual Appliances?
35
Quiz time!
● What are Virtual Appliances?
36
Quiz time!
● Why do Jack and Jill want to use a Virtual Appliance?
37
Quiz time!
● Why do Jack and Jill want to use a Virtual Appliance?
38
Quiz time!
● When do you want to use a Virtual Appliance?
39
Quiz time!
● When do you want to use a Virtual Appliance?
40
Next time: Laboratory
41
Next time…
● Cloud computing…..
42
Installing Virtual Appliances
2
More explanation
● Pre-configured virtual machine image,
ready to run on a hypervisor
● Installation of a software appliance on a
virtual machine and packaging that into an
image creates a virtual appliance.
● Eliminate the installation, configuration and
maintenance costs associated with running
complex stacks of software.
3
How a Virtual Appliance works
● Let’s do math:
● Virtual Operating System + Software Application
= Virtual Appliance!!
4
How a Virtual Appliance works
5
Differences
6
Benefits of using Virtual Appliances
7
How to get one ( … a File Server, why not ?)
● https://www.turnkeylinux.org/fileserver
An “easy to use” File Server that combines Windows-compatible network file
sharing (Samba) with a Web Based File Manager over a TurnKey Core as
Guest OS = TurnKey File Server !
TurnKey Core is a Debian GNU/Linux …. Configured just like a J.E.OS !
TurnKey File Server includes support for SMB, SFTP, NFS, WebDAV and
rsync file transfer protocols. The server is configured to allow server users to
manage files in private or public storage. Based on Samba and WebDAV CGI.
8
How to get one …
It’s Free of Charge !
It’s light, only 360 Mb !!
It’s a Rock Steady Linux !!!
9
Let’s install the virtual appliance …
● Be sure that Oracle VM Virtual Box Application is installed on your computer, or
download and installed it (5 minutes) … Launch the VM Application !
● Launch the .ova file from the folder in which you’ve released the file (5 minutes)
… The Virtual Appliance plugs itself in the VM desktop !
● Launch the VA from the VM desktop and configure the application with
teachers ..
10
Launching the virtual appliance …
● After previous actions, “TurnKey File Server” appears in the desktop of Oracle
VM Virtual Box Application …
11
Launching the virtual appliance …
● After launch, “TurnKey File Server”
asks for some parametrizations …
12
Launching the virtual appliance …
● After launch, “TurnKey File Server”
asks for some parametrizations …
13
Launching the virtual appliance …
14
Launching the virtual appliance …
15
Launching the virtual appliance …
16
Launching the virtual appliance …
17
Next time … Let’s go to the Exams !
18