Docstoc

Server Virtualization - Download as PowerPoint

Document Sample
Server Virtualization - Download as PowerPoint Powered By Docstoc
					                      1




Virtualization

Bryan Jensen, MSCIS
COS Mentor
                                                                      2




Overview
• What Virtualization is, how it can benefit you as a student,
 and how to set up some of the popular virtualization
 clients out there
  • All of the virtualization clients demonstrated are FREE.
• All virtualization is done at your own risk
  • There is no assessment in virtualization
  • There is no COS in virtualization
  • I am just doing this for informative purposes…I am not a certified
    virtualization expert
    • Always check the support forums/pages for the virtualization software if
      you are having issues!!
                                                                  3




What is virtualization?
• Virtualization:
    The ability to run multiple operating systems on a single physical
    system and share the underlying hardware resources*
    Virtualization is the collection of multiple operating systems on one
    physical Operating System. Each virtual operating system is a
    called a virtual machine(vm's) which is just a collection of files on a
    physical machine.
                                            4




The Traditional Server Concept




  Web Server   App Server   DB Server    EMail
  Windows        Linux       Linux      Windows
     IIS       Glassfish     MySQL      Exchange
                                            5




And if something goes wrong ...




  Web Server   App Server   DB Server    EMail
  Windows       DOWN!        Linux      Windows
     IIS                     MySQL      Exchange
                                                   6




The Traditional Server Concept
• System Administrators often talk about servers as a
  whole unit that includes the hardware, the OS, the
  storage, and the applications.
• Servers are often referred to by their function i.e. the
  Exchange server, the SQL server, the File server, etc.
• If the File server fills up, or the Exchange server
  becomes overtaxed, then the System Administrators
  must add in a new server.
                                                        7




The Traditional Server Concept
• Unless there are multiple servers, if a service experiences
  a hardware failure, then the service is down.
• System Admins can implement clusters of servers to
  make them more fault tolerant. However, even clusters
  have limits on their scalability, and not all applications
  work in a clustered environment.
                                                              8




The Traditional Server Concept
• Pros                              • Cons
  • Easy to conceptualize            • Expensive to acquire and
  • Fairly easy to deploy                maintain hardware
  • Easy to backup                   •   Not very scalable
  • Virtually any                    •   Difficult to replicate
   application/service can be run    •   Redundancy is difficult to
   from this type of setup               implement
                                     •   Vulnerable to hardware
                                         outages
                                     •   In many cases, processor is
                                         under-utilized
                                                        9




The Virtual Server Concept




Virtual Machine Monitor (VMM) is a software layer between
Guest OS and hardware
                                                                    10

Close-up*
* adapted from a diagram in VMware white paper, Virtualization
Overview




              Server              Server
                                                       Clustering
                1                   2
             Guest OS            Guest OS
                                                        Service
                                                        Console

                      VMM (Virtual Machine Monitor)

                                x86 Architecture



        Intercepts
    hardware requests
                                                                 11




The Virtual Server Concept
• Virtual servers seek to separate the server software away
 from the hardware
  • This includes the OS, the applications, and the storage for that
   server.
• Servers end up as mere files stored on a physical box, or
  in enterprise storage.
• A virtual server can be serviced by one or more hosts,
  and one host may house more than one virtual server.
                                                           12




The Virtual Server Concept
• Virtual servers can still be referred to by their function i.e.
  email server, database server, etc.
• If the environment is built correctly, virtual servers will not
  be affected by the loss of a host.
• Hosts may be removed and introduced almost at will to
  accommodate maintenance.
                                                          13




The Virtual Server Concept
• Virtual servers can be scaled out easily.
  • If the administrators find that the resources supporting a
    virtual server are being taxed too much, they can adjust the
    amount of resources allocated to that virtual server
• Server templates can be created in a virtual
  environment to be used to create multiple, identical
  virtual servers
• Virtual servers themselves can be migrated from host
  to host almost at will.
                                                           14




The Virtual Server Concept
• Pros                             • Cons
 • Resource pooling                 • Slightly harder to
 • Highly redundant                  conceptualize
 • Highly available
 • Rapidly deploy new servers
 • Easy to deploy
 • Reconfigurable while services
   are running
 • Optimizes physical resources
   by doing more with less
                                                                15




Virtualization Status
• Offerings from many companies
  • e.g. VMware, Microsoft, Oracle, ...
• Hardware support
  • Fits well with the move to 64 bit (very large memories) multi-core
    (concurrency) processors.
  • Intel VT (Virtualization Technology) provides hardware to support
    the Virtual Machine Monitor layer
• Virtualization is now a well-established technology
                              16




Virtualization For Students
• Windows 7 Virtual Machine
• Microsoft Virtual PC 2007
• VMWare Player
• Oracle Virtual Box
                                                     17




How Does Virtualization Benefit Me?
• Hands-on practice on several of the exams WGU offers
 certifications for
  • Windows Server 2008
  • Windows 7
  • CCNA
  • CEH
  • Network +
  • Security +
• Allows you to practice in an environment that you can
 break and not worry about hurting the rest of the machine
                                                       18




Windows 7 Virtual PC
• Installable virtualization software for Windows 7 that
  allows you to have virtual environments on one box
• Comes with Windows XP VM free (Professional and
  Ultimate)
• Linux does not play well
• Available at http://www.microsoft.com/windows/virtual-pc/
                                                                        19




Microsoft Virtual PC 2007
• If you do not have Windows 7 you can use Virtual PC 2007
• Save time and money as Virtual PC allows you to maintain the
 compatibility of legacy and custom applications during migration to
 new operating systems and increases the efficiency of support,
 development, and training staffs.
  • With Microsoft® Virtual PC 2007, you can create and run one or more
   virtual machines, each with its own operating system, on a single
   computer. This provides you with the flexibility to use different operating
   systems on one physical computer.
                                                                             20




Virtual PC 2007 (cont)
• Supported Operating Systems:Windows Server 2003, Standard
  Edition (32-bit x86);Windows Server 2003, Standard x64
  Edition;Windows Vista Business;Windows Vista Business 64-bit
  edition;Windows Vista Enterprise;Windows Vista Enterprise 64-bit
  edition;Windows Vista Ultimate;Windows Vista Ultimate 64-bit
  edition;Windows XP Professional Edition;Windows XP Professional
  x64 Edition;Windows XP Tablet PC Edition
• You can download it from here:
  • http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04d26402-
    3199-48a3-afa2-2dc0b40a73b6
  • Service Pack for Virtual PC
     • http://www.microsoft.com/downloads/en/details.aspx?FamilyID=28c97d22-6eb8-
       4a09-a7f7-f6c7a1f000b5
• Or you can get it through WGU MSDN AA
  • If you don’t have an account contact your mentor to arrange to get you one
                                                      21




VMWare Player
• VMware Player is the easiest way to run multiple
  operating systems at the same time on your PC. With its
  user-friendly interface, VMware Player makes it effortless
  for anyone to try out Windows 7, Chrome OS or the latest
  Linux releases, or create isolated virtual machines to
  safely test new software and surf the Web.
• VMware Player can also be used to run a virtual copy of
  an old PC so that you can recycle the old machines you
  have under your desk or stored in the closet.
  • http://www.vmware.com/products/player/
  • Free, easy to install
                                                          22




Oracle Virtual Box
• http://www.virtualbox.org
• Virtual Box is a virtualization software tool developed by
  Sun, now owned by Oracle
• Similar to Virtual PC, but it will run on different platforms
  • Windows
  • Solaris
  • Linux
  • Macintosh
• If you are not running a Windows machine, Virtual Box is
 for you!
                                                      23




Where Do I Get Windows 7/Other OS?
• For Windows OSes if you want to install them in the virtual
  environment you need to get them from your MSDN AA
  account through WGU
• You can also use an existing installation CD/DVD if you
  have it at home
• For other OSes (Linux/Unix) you need to go through the
  company website for that OS to get the installation
  files/media
• MacOS
                                                               24


Where Do I Get Windows 7/Other OS
(cont)?
• You can get a free copy of Windows 7 Professional from
 your MSDNAA account
  • If you don’t have an account, ask your mentor to get you one
• Windows 7 Enterprise 90-day trial download
  • Allows you to practice on concepts not available in Windows 7
    Professional
  • http://technet.microsoft.com/en-us/evalcenter/cc442495
  • You need an MSN login to get the download
  • Also make sure you select “IT Manager” from your career
    choices…DON’T PUT STUDENT!!!! It is only for IT professionals so
    it will refuse your download if you select a non-IT professional
    career field
                                                                 25




Demonstration
• Installing Windows 7 using Windows 7 Virtual PC
   • Microsoft OSes - Don’t use your license!!!!
   • You’ll get a 30-day period to use the OS and practice..don’t waste a
     key on this!
• VMWare Windows 7 Demo
• Virtual Box Demo
• Linux on Virtual Box Demo
                                         26




   Windows 7 Virtual PC
• You can access Windows 7
  Virtual PC through your quick
  launch menu (shown here), or
  Start > Programs > Windows 7
  Virtual PC
    • Notice Windows XP is
       installed since it is available
       to people running Windows 7
       Pro and Ultimate
                                              27




Windows 7 Virtual PC (cont)




• Here you can create a new virtual machine
                              28




Windows 7 Virtual PC (cont)
• Specify a name
 for the virtual
 machine and
 the location
 • Location will
   house the virtual
   hard drive which
   will have the
   virtual machine
   on it
                              29




Windows 7 Virtual PC (cont)
• Specify how
 much RAM you
 are using for the
 VM
  • Best to go by the
   OS requirements
• Specify if you are
 using networking
  • Use to connect to
    external network
  • BEWARE OF
    THIS!!
                              30




Windows 7 Virtual PC (cont)
• Add a virtual
 hard disk
  • If you don’t have
    one created,
    create one here
  • If you have one
    created, you
    can use an
    existing one
• Click “Create”
 and it will
 create your vhd
 for your VM
                              31




Windows 7 Virtual PC (cont)
                           32




   Windows 7 Virtual PC
• Double click on
 the Windows 7
 Virtual PC to
 start the Virtual
 PC up…nothing
 happens…why?
  • There is no OS on
    the virtual drive!!!
• Install your OS
 on your virtual
 PC
  • Place your OS
    DVD in the drive
    and restart the VM
     • Click the
        CTRL+ALT+DEL
                              33




Windows 7 Virtual PC (cont)
• Tada!! Windows
 7 will commence
 installing just like
 it would on any
 other regular PC
 • Once installation
   is done you can
   now use the
   virtual machine
   any time you
   want!
                              34




Windows 7 Virtual PC (cont)
• It’s as simple
 as that!
                              35




Windows 7 Virtual PC (cont)
• To changes settings
 for your Virtual PC,
 from the Virtual PC
 window right-click
 on the Virtual PC
 and click “settings”
                        36




 Windows 7 Virtual PC
• Deleting your
 Virtual PC
  • Browse to
    where you put
    the VHD
  • Delete the
    files
                        37




 Windows 7 Virtual PC
• Browse back
 to the Virtual
 Machines
  • Delete the
   instance
                                                     38




VMWare Player
• Launching is easy
   • Start > All Programs > VMWare > VMWare Player
                            39




VMWare Player
• You can click on open a
  virtual machine to
  browse to one you’ve
  moved from another
  machine
• You can upgrade to
  VMWare Workstation
• You can get help
                                         40




VMWare Player
• Creating a Virtual Machine
 can be done by three
 methods
  • Click on “Create a New Virtual
   Machine”
    • You can either choose to install
      the OS right there by choosing
      Install from Installer disc
    • Point to a .iso image on your
      hard drive to install from
    • Install the operating system
      later
                               41




VMWare Player
• Install the OS later
   • You’ll just pick the OS
     you want to
     install…the rest is the
     same as installing the
     iso/dvd except you’ll
     get a blank shell to
     install the OS to later
                                            42




VMWare Player
• Install using .iso or disc
   • Pointing to the .iso or disc will
     generally detect the installation
     OS type and will use Easy Install
     to install
     • Easy Install allows for unattended
      installation of the OS
  • You will be asked for the product
    key (optional)
     • You’ll get a warning screen
      notifying you that you’ll need to
      activate it at some point
  • Version of Windows
  • User name/password, if you want
    to log in automatically
                                43




VMWare Player
• Name the virtual
  machine
• Point to the location
  • Use an easy location to
   remember!
• Specify disk capacity
  (will usually use default)
• Specify if you want the
  virtual disk in a single or
  multiple files
  • Multiple files make it
   easier to move the VM to
   another computer
                                44




VMWare Player
• Create virtual machine
  • Can customize hardware
    (next slide)
  • Can power on the VM after
    it’s created
                            45




VMWare Player
• Customize
 Hardware
 • Can also add
   additional hardware if
   you need to
                          46




VMWare Player
• Click Finish to start
 your virtual machine
 installation
                       47




VMWare Player
• You will get a
  report on any
  removable
  devices you can
  connect to your
  VM when it’s
  finished
• You may also get
  a notification to
  download updates
  before you install
                      48




VMWare Player
• Download of
  updates will
  commence (if
  applicable)
• VM Update
  Installation will
  commence as
  well
                      49




VMWare Player
• Installation will
 continue once
 updates are
 applied……this may
 take a bit…
                50




VMWare Player
                51




VMWare Player
                52




VMWare Player
                                53




    VMWare Player
• You are done!! Windows
  7 is now fully functional
  on VMWare!
     • If you didn’t register
       your copy you will
       get 30 days to
       evaluate
• It may reboot the first
  time due to VMWare
  updates being applied
• If you shut down within
  the VMWare, it will shut
  down all of the
  VMWare…
     • Select Virtual
       Machine > Power >
       Power Off to keep
       VMWare running
                        54




VMWare Player
• Home screen
  • Allows you to
    change your VM
    settings
  • To launch the VM,
    just double click
                        55




VMWare Player
• To change settings
 highlight the VM and
 select Edit Virtual
 Machine Settings
                           56




  VMWare Player
• Deleting a VM
  • Right-click on the
    VM
  • Select Remove VM
    from library (will
    only remove the
    entry, not the disk)
                           57




  VMWare Player
• Remove from disk
  • This PERMANENTLY
    removes the instance
  • Make sure you want
    to do this!!!
                                                  58




Virtual Box
• You can get it from http://www.virtualbox.org
• Used to be owned by Sun, now owned by Oracle
• Download/installation is easy and quick
                                                    59




Virtual Box
• Launching Virtual Box is easy
   • Start > All Programs > Oracle VM Virtual Box
                           60




Virtual Box
• Creating a VM is easy!
  • Click “New”
                                                     61




Virtual Box
• Select the OS type you are going to install on the VM
                                                             62




Virtual Box
• Select the amount of memory to use
  • Make sure you use at LEAST the minimum required memory for
    the installation, and that you have enough memory for your own OS
    installed on the PC!
                                                             63




Virtual Box
• Create your Virtual Hard Disk
  • You can use an existing one, but most people don’t have one
    already created
                                            64




Virtual Box
• Then the Virtual Disk Wizard will start
                                                      65




Virtual Box
• If you are planning to have a virtual machine as an actual
 machine to use all the time, select dynamically expanding
 storage, otherwise select fixed-size if you’re just playing
 around
                                                                66




Virtual Box
• Select the size of your virtual hard disk
  • Make sure it’s the minimum size for your OS install (Virtual Box
    usually does this for you automatically anyway)
                                                        67




Virtual Box
• Once this is done, press finish to create the virtual hard
 disk
                                                     68




Virtual Box
• Press Finish again and the virtual machine will be created
                         69




Virtual Box
• Voila! You are done!
                                                         70




Virtual Box
• If you ever want to change the settings for your VM,
 highlight it and click Settings
                                                          71




Virtual Box
• Double click the OS to start it up, you will get the first run
 wizard
                                                     72




Virtual Box
• You will be asked to insert your media (Windows 7 install
 disk in this instance)
                                                      73




Virtual Box
• You will then press finish to mount the media and start the
 installation…install will proceed like a normal Windows
 install!
                                                    74




Virtual Box
• Deleting your virtual machine
  • Right-click on the instance and select delete
  • That’s it!
                75




Virtual Box
• Ubuntu demo
                                                                                        76




Virtualization FAQs
• Can I run multiple VMs at one time?
  • Yes, you can provided you have the hardware resources to handle multiple VMs
    running
  • You CANNOT run VMs in different virtualization software at same time
     • For example, you cannot have Linux running in Virtual Box at the same time you’re running
       Windows XP mode in Windows 7 Virtual PC…you can run them out of the same virtualization
       software
     • It seems that only one virtual machine platform may take advantage of hardware
       virtualization. Virtual PC takes over control of VT-x and thus crashes VirtualBox.
• Can I access VMs from remote machines?
  • Yes, you can access VMs from remote machines, they are just like regular machines
• Can I create an actual VM from a physical installation?
  • Yes, you can convert the physical OS install to a virtual machine and use it as a VM
    (it’s kind of dicey though!!!)
• Can I access the physical NIC from multiple VMs?
  • Yes, but it’s better to have multiple NICs as the throughput will be taxed
• Can you change resources in the VM as needed?
  • Yes, you can adjust memory/hard drive space, etc….
                                                                                77




Virtualization FAQs
• What kind of machine do I need to run my virtualization
 software?
  • Simple answer: IT DEPENDS
  • Go to the website for the virtualization software and find out what
    the system requirements are
  • Google * virtualization software name* System Requirements
  • You also need to make sure your machine can handle the OS you
    are going to install on virtualization software
  • Just because it can handle the virtualization software doesn’t mean
    it can handle the OS you’re installing!!!
       • If the system requirements are a 500MHz machine with 512MB of RAM to run
         the virtualization software, it won’t run Windows 7 in virtualization software!!!
       • Go to the OS website and find out what the system requirements are for
         running it!!
                                                                                         78




Virtualization FAQs
• I need help!!!
  • I cannot do tech support to help install and set up stuff…you need to do
    that on your own (liability issues)
  • Go to the virtualization software forums
     • Virtual Box Forums
     • Windows 7 Virtual PC Forums
     • VMWare Forums
     • Virtual PC 2007 Forums
        • I don’t have any experience in Virtual PC 2007, so you’re on your own for this one!
  • If you are asking about networking virtual machines, I don’t have a lot of
    experience in doing that, it should be the same as networking physical
    machines except in the virtual domain
     • I don’t have racks of PCs in my house to experiment!
  • Use the Client/Server community at WGU!!!
  • There is a saying in the IT world…RTM…Read The Manual….if you
    haven’t you won’t get help
                                                         79




Virtualization Demo
• Other demos
  • http://www.youtube.com/watch?v=QVpNa3rEnpk&feature=related|
  • http://www.youtube.com/watch?v=jHcvNxGfqfs
• The above videos are really great to better educate you
 on virtualization!!
            80




Questions

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:12
posted:6/27/2012
language:
pages:80