IntroductiontoVirtualization
Hans-PetterHalvorsen,M.Sc.
WhatisVirtualization?
Hans-PetterHalvorsen,M.Sc.
VirtualizationComputer
VirtualizationSoftware
...
...
...
OperatingSystem(OS),e.g.,Windows,Linux,OSX
SoftwareApplications
VirtualM
achine
s
VirtualizationSoftware(e.g.,VMware,HyperV,VirtualBox,...)
OperatingSystem(OS),e.g.,Windows,Linux,OSX
SoftwareApplications
WhydoweneedVirtualization?• TypicallyyouuseVirtualizationwhenyouneedtotestnewOperatingSystems(OS)orSoftware.
• TheSoftwareyouwanttotestcanbecreatedbyyouorbyothers
• YouwanttorunWindowsonaMacComputer• etc.
Virtualization
OperatingSystem(OS)
VirtualizationSoftware
Hypervisor
VM VM VM
Hardware(Computer)
VM VM VM
Guests
Host
VM=VirtualMachines
AHypervisorcanrundirectlyonthecomputerwithoutaHostOS
Windows,Linux,...
Windows,Linux,...
VirtualizationSoftwareAlotofVirtualizationSoftwareexists.Herearesomeexamples:• VMwareWorkstation• VMwareWorkstationPlayer (Freeofchargeandsimpleto
use)• VMwarevSphereandvSphereHyperVisor• VMwareFusion(Mac)• ParallelsDesktop(Mac)• MicrosoftHyper-V• VirtualBox• etc.
WhyDoWeNeedaTestEnvironment?
WhycantwejustuseourownPC?
WhyTestEnvironment?• “ItworksonmyPC”saystheDeveloper• CleanEnvironment• OntheDevelopersPCswehaveallkindofSoftwareinstalledthat
theCustomerdonthave,e.g.DevelopmentToolslikeVisualStudio,etc.
• WeneedtotestondifferentPlatformsandOperatingSystems• CustomersmayusedifferentWebBrowsers• Deployment:TestofInstallationpackages• MakethesoftwareavailableforTesters• etc.
Development Testing Production
DevelopmentEnvironment TestEnvironment
ProductionEnvironment
TypicallytheDevelopersPersonalComputerwithDatabase,WebServerandProgrammingSoftware
ACleanPC/Server(oranetworkwithPCsandServers)whereyouinstallandtestyourSoftware.Todaywetypicallyset-upaVirtualTestEnvironment
TheCustomersenvironmentwhereyouunstallthefinalsoftware(ServersandClients)
ProgrammingenvironmentssuchasVisualStudio,etc.shouldnotbeinstalledinthisenvironment.Youneedtocreate.exefilesetc.inordertomakeyoursoftwarerun.
Developers Developers&Testers Customersuntilfinished
VMwareWorkstationPlayer
Hans-PetterHalvorsen,M.Sc.
Downloadforfreefromthiswebsite:http://www.vmware.com
VMwareWorkstationPlayerVMwareWorkstationPlayerisforpersonaluseonyourownPC.VMwarePlayerisfreeofchargeforpersonalnoncommercialuse.
11
VMwareisacompanythathasbeenspecializingwithinvirtualizationsoftware.http://www.vmware.com
LetsCreateaVirtualMachinefromScratch
Hans-PetterHalvorsen,M.Sc.
UniversityCollegeofSoutheastNorwaywww.usn.no
E-mail:[email protected]:http://home.hit.no/~hansha/
Top Related