• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Virtualization Best Practices-Tips and Tricks From Expert
 

Virtualization Best Practices-Tips and Tricks From Expert

on

  • 2,863 views

Monash University,Malaysia

Monash University,Malaysia

Statistics

Views

Total Views
2,863
Views on SlideShare
2,332
Embed Views
531

Actions

Likes
0
Downloads
0
Comments
0

3 Embeds 531

http://www.ms4u.info 527
http://us-w1.rockmelt.com 2
http://translate.googleusercontent.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Presenters please use this slide to direct participants to websites, books, trials, product pages etc as a follow through to your presentation

Virtualization Best Practices-Tips and Tricks From Expert Virtualization Best Practices-Tips and Tricks From Expert Presentation Transcript

  • Virtualization Best Practices- Tips and Tricks from Expert Lai Yoong Seng | Technical Consultant MVP Virtual Machine www.ms4u.info | laiys@redynamics.com
  • Session Objective and Takeaways• Objectives: • Virtualization Best Practice in term of • Planning , Deployment ,Management • 10 awesome Tip & Tricks • Some free tools to use..• Key Takeaways: Slid • Tip & Trick for a successful virtualization deployment
  • Evolution of the Datacenter
  • Planning
  • Q1:- Physical or Virtual? Running application in physical or virtual? or
  • Q2:-Virtualize or Not Virtualize ? Suitable candidate VM 4- 4 GB  Low processor  Low Memory VM 1- VM 3- 4 GB 14 GB VM 2- 4 GB Unsuitable candidate VS VM 1- 2 GB High processor High memory Parent Parent partition partition High network use (2 GB) (2 GB) External peripheral Physical Server (16 GB RAM) Physical Server (16 GB RAM)
  • Understand Your Application #1 Don’t virtualize everything ! Not ALL Applications are Inventory suitable to be Virtualized External Hardware (USB, dongle, etc) High Resource & Utilization Reporting Assessment Check Microsoft Support Policy Use Microsoft Assessment and Planning Toolkit (MAP) 6.0
  • Microsoft Assessment & Planning Toolkit
  • MAP Sample Result
  • Workload MigrationGuest Operating System Virtual Server 2005 Hyper-VWindows NT * √Windows 2000 * √Windows 2003 √Windows 2008 / √2008 R2Linux Distribution √ Suse Linux 10+ Red Hat 5.2+ Centos
  • Hardware Selection #2 CPU Memory Hard Disk Network Hardware  More  High RPM  More NIC assisted RAM the (15K rpm) the better Virtualization better  SAS  1Gbps/10Gb Hardware DEP  RAID 10 ps X64 Bit SLAT
  • Shared Storage Selection NAS DAS iSCSI SAN FC SAN Not  Small  Small /  High Supported scale Medium Performance  2–4 scale  Expensive nodes  Cheaper than FC SAN
  • Securable Determine processor suitability for virtualization http://www.grc.com/securable.htm
  • Coreinfo Check processor suitability for virtualization. New ! Windows 8 SLAT requirement http://technet.microsoft.com/en-us/sysinternals/cc835722
  • Stand-Alone or Cluster Hyper-V #3 Up to you to decide. But recommended, Cluster Hyper-V Stand alone Hyper-V Cluster Hyper-V
  • Deployment
  • Host Setup Consideration RAID ? Antivirus? Windows ? Teaming / MPIO?
  • Windows Server 2008 R2 EE, Microsoft Microsoft Capabilities DC Hyper-V Server 2008 Hyper-V Server 2008 R2 (Hyper-V) Number of Logical 24 64 64 processors supported Number of Sockets Up to 4 Up to 8 Up to 8 = EE | Up to 64 = DC (Licensing) Memory Up to 32 GB Up to 1 TB Up to 1TB VM Migration None Quick and Live migration Quick and Live MigrationNumber of VM’s per node 32 (server workloads) 32 (server workloads) Not applicable in a cluster 64 (VDI workloads) 64 (VDI workloads) Virtualization Rights for EE = 4 VM Windows Server 2008 0 0 DC = unlimited VM’s guests Number of running VM Up to 192, or as many as Up to 384 or as many as physical resources Up to 384, or as many as physical Guests physical resources allow allow resources allowWindows Server 2008 CALsRequired for Guest Server No No Yes OS Windows Server 2008 R2, Windows Server 2008 & SP2, Windows Server 2003 SP2, Windows 2000 Server, SLES Guest OS support 10, SLES 11, Red Hat Enterprise 5.2/5.3, Windows 7, Windows Vista SP1, SP2 & Windows XP SP3/SP2
  • Use Server Core #4 Reduce surface attack, less patch Not Recommended Recommended
  • Core Configurator GUI to manage in Server Core. Mainly on system settings on Windows. http://coreconfig.codeplex.com/
  • Server Core &Core Configurator
  • Avoid using the Root Partition #5 Avoid running services on the root partition (host machine) X Just Hyper-V Roles… DHCP DNS IIS Directory Services …
  • Leave Memory for the Root #6 Leave at *least* 512MBs of RAM to the root partition. 2GB or more recommended. DM: 4 GB VM 4- 4 GB DM: 4 GB VM 3- 4 GB Hyper-V (0 GB) Physical Server (16 GB RAM) Hyper-V Host 1
  • Different Types of Virtual Machine Disk
  • Use Fixed Disk- Virtual Machine #7 Good: Dynamic and Fixed Size VHDs perform about the same now. Still Best: Pass-Through is best for performance. The following charts are from WS08 R2: Lower is better Higher is better
  • Antivirus Configure exclusion Virtual Machine Configuration Directory Virtual Machine VHD Directory Snapshot Directory VMMS.EXE VMWP.EXE Cluster Storage Volume (CSV)
  • Management
  • Close the Window on Managers #8 Hyper-V Manager, VMConnect, Wallpaper & screen Saver sessions consume resources. Close or minimize the Hyper-V Manager & VM Connect. No Wallpaper & Screen Saver on Virtual MachineHyper-V Manager VMConnect Wallpaper/ScreenSaver
  • Disable Removable Media #9 Disable the removable media drives (floppy, optical drive, etc.) when not in use. Removable media is polled periodically.
  • Monitor VM CPU MEM #10Performance DISK NET Hyper-V Hypervisor Logical Processor(*) % Total Run Time For Physical Processors Hyper-V Hypervisor Virtual Processor(*) % Guest Run Time For Virtual Processors Healthy: less than 75% Warning: greater than 75% Critical: greater than 85% Avoid Task Manager! Avoid % Processor Time!
  • Dynamic Memory Performance Monitor Counter:- Hyper-V Dynamic Memory BalancerAverage Pressure Health:- less than 80% Warning: 80 –100% Critical:- more than 100% . Indicated running out of memory on Hyper-V host and virtual machine start to use virtual paging32
  • Hyper-V Best Practice Analyzer Download:- BPA:- http://support.microsoft.com/kb/977238 BPA Update: http://support.microsoft.com/kb/2485986
  • Best Practice Analyzer
  • VMM 2012 Management Tools  
  • Service Designer Template (VMM)
  • Let’s Recap Checklist Tip & Tricks Planning Understand Your Application  MAP Hardware Selection Deployment Stand Alone or Cluster? Management Server Core Avoid using Root Partition  BPA Leave Memory for Root  VMM Use Fixed Disk Close Windows Disable Removable Media Monitor VM Performance
  • Questions & Answers
  • ResourcesLai Blog’s – Virtualization & System Centerwww.ms4u.info Join Malaysia Virtualization User Group Go Facebook & Search “MVUG”Microsoft Server Software and Supported Virtualization Environmenthttp://support.microsoft.com/kb/957006Microsoft Assessment and Planning Toolkit (MAP)http://blogs.technet.com/b/configurationmgr/archive/2011/07/21/microsoft-assessment-and-planning-toolkit-6-0-now-available.aspxMicrosoft Virtualization Hyper-V Best Practicehttp://blogs.technet.com/b/iftekhar/archive/2010/05/25/microsoft-virtualization-hyper-v-best-practices.aspx
  • Win Cool Prizes!!! Complete the Tech Insights contests and stand a chance to win many cool prizes… Look in your conference bags NOW!!
  • We value your feedback!Please remember to complete theoverall conference evaluation form (inyour bag) and return it to theRegistration Counter on the last day inreturn for a Limited Edition Gift