Server Virtualization - Download as PowerPoint

Document Sample
Server Virtualization - Download as PowerPoint Powered By Docstoc


Bryan Jensen, MSCIS
COS Mentor

• 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!!

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.

The Traditional Server Concept

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

And if something goes wrong ...

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

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.

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.

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
                                     •   In many cases, processor is

The Virtual Server Concept

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

* adapted from a diagram in VMware white paper, Virtualization

              Server              Server
                1                   2
             Guest OS            Guest OS

                      VMM (Virtual Machine Monitor)

                                x86 Architecture

    hardware requests

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
• 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.

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.

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.

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

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

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

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

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
• Linux does not play well
• Available at

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.

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:
  • Service Pack for Virtual PC
• 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

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.
  • Free, easy to install

Oracle Virtual Box
• 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!

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
• MacOS

Where Do I Get Windows 7/Other OS
• 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
  • 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

• 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

   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

Windows 7 Virtual PC (cont)

• Here you can create a new virtual machine

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

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

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

Windows 7 Virtual PC (cont)

   Windows 7 Virtual PC
• Double click on
 the Windows 7
 Virtual PC to
 start the Virtual
 PC up…nothing
  • There is no OS on
    the virtual drive!!!
• Install your OS
 on your virtual
  • Place your OS
    DVD in the drive
    and restart the VM
     • Click the

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

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

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”

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

 Windows 7 Virtual PC
• Browse back
 to the Virtual
  • Delete the

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

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

VMWare Player
• Creating a Virtual Machine
 can be done by three
  • Click on “Create a New Virtual
    • 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

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

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

VMWare Player
• Name the virtual
• Point to the location
  • Use an easy location to
• 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

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

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

VMWare Player
• Click Finish to start
 your virtual machine

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

VMWare Player
• Download of
  updates will
  commence (if
• VM Update
  Installation will
  commence as

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

VMWare Player

VMWare Player

VMWare Player

    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
• 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
     • Select Virtual
       Machine > Power >
       Power Off to keep
       VMWare running

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

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

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

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

Virtual Box
• You can get it from
• Used to be owned by Sun, now owned by Oracle
• Download/installation is easy and quick

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

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

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

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!

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

Virtual Box
• Then the Virtual Disk Wizard will start

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

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)

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

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

Virtual Box
• Voila! You are done!

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

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

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

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

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

Virtual Box
• Ubuntu demo

Virtualization FAQs
• Can I run multiple VMs at one time?
  • Yes, you can provided you have the hardware resources to handle multiple VMs
  • 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
     • 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….

Virtualization FAQs
• What kind of machine do I need to run my virtualization
  • 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!!

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

Virtualization Demo
• Other demos
• The above videos are really great to better educate you
 on virtualization!!


Shared By: