SlideShare una empresa de Scribd logo
1 de 49
Let’s talk Virtualization
Etienne Tremblay Associate Director Microsoft Technologies at Fujitsu MVP ALM .NET Montreal     User Group     Leader section     ALM Email: etienne.tremblay@live.ca Twitter: @tegaaa
Questions Who uses virtualization today? Which product do you use? Devs or IT? What do you use virtualization for?
Agenda What is virtualization? Different virtualization products Licensing… Why is virtualization important to you! Key concepts Scenarios Let’s get started (demos) What about Azure? Tips, Tricks and best practices Don’t forget these… Let’s finish (demos)
Virtualization types
Server and workstation virtualization
Application virtualization
Presentation virtualization
The cloud
Popular virtualization products Microsoft Virtual PC 2007 SP1 (free) Microsoft Virtual Server 2005 R2 SP1 (free) Microsoft Windows Virtual PC (Windows 7) (free) Microsoft Hyper-V (free with Windows 2008(R2)) Microsoft App-V ($) VMWare Player (free) VMWare Workstation 7 ($) (trial 30 days) VMWare Server 2 (free) VMWare ESX ($) Parallels (mac) ($) (trial 15 days) Xen (unix) Oracle VirtualBox(free)
Microsoft licensing 101 … I’m NOT a licensing expert. Talk to a rep for that! One license per VM and per application installed like any other PC Windows Server 2008 R2 Enterprise *gives* you 4 free licenses to run VMs in Hyper-V on the same server Check out WindowsXPMode… a free copy of Windows XP running on Windows 7 Pro and Ultimate. …Get MSDN/TechNet it’s way easier
Why is virtualization important to you! Better control over you development and testing environments Quick development team ramp up with gold developer workstation and build server image Easier recovery plan Easy setup of multiple testing environment for our customers (integration, pre-prod, etc.) Training workstation and server VMs Multiple VMs running on the same developer machine to simulate different tiers
Key virtualization concepts
Key concepts #1: VMs are just files Files Virtual hard drives (vhd, vmdk, etc.) Virtual machine configuration (vmc, vmx, etc.) Undo/Snapshot files (vud, vmsn, etc.) Save states (vsv, vmss)
Key concept #2: Undo/Snapshot disk
Key concepts #3: Differencing disks
Key concept #4: Gold Images
Key concept #5: Sysprep
Typical virtualization scenarios
Development workstation #1
Pros and cons Pros Portable Reutilization of existing assets (developer workstation) Developers have more control over their VMs (also a con…) Cons Performance issues can be a problem (running all on the same disk for example, better with multiple disks) Each developer need to manage their VMs (Patch, AV, etc.).  We can mitigate with MedV/Gold Images
Development workstation #2
Pros and cons Pros Faster if the central server is faster Centralization of the management of hardware and patching Cons Obviously less portable Need continuous connectivity to host/web Need of a big central server
Development workstation #3
Pros and cons Pros All hardware taken into account (memory, disk, video, etc.) Fast (same as a regular PC) Can have multiple boot partition by having multiple virtual disk We can even combine scenario 1 & 2 & 3 Cons Marginal loss in disk speed Each developer need to manage their VMs (Patch, AV, etc.). Need to reboot to access another partition Only works with Windows 7/Windows 2008 R2 to create Windows 7/Windows 2008 R2 partitions.
Demos
Lets get started with virtualization Preparation  HAV (Hardware Assisted Virtualization) setting in the BIOS ISOs of the OSs you will use (Windows XP, 7, 2008, etc.) Demos Creation of a new VM Differencing Drives Undo disks/Snapshots Integration Services (or equivalent) Sysprep (Windows XP, Windows Vista+) Networking/Loopback adapter
Azure
Azure Management portal
MSDN and Azure
Azure VM sizes
TFS Lab Manager
Test Lab Management – Define Environment
Test Lab Management – Run Tests
Test Lab Management – Capture State Dev clicks on lvr link & selects connect to snapshot of the environment
38 Dev is able to access the snapshot’ed environment via LE viewer
Tips, tricks and best practices
How to create a bootable Windows Installation USB key You need a 4G+ USB key Start a command windows and execute diskpart Copy the content of the Windows DVD on the key Choose the USB at boot and you are good to go LIST DISK (trouvervotre clé USB dans la list et noter le #) SELECT DISK <# de votre clé USB>  CLEAN CREATE PARTITION PRIMARY SELECT PARTITION 1 ACTIVE FORMAT FS=NTFS LABEL=“<Win7/Win8R2>” QUICK ASSIGN EXIT
How to setup Boot from VHD Add an entry in the Windows Bootloader menu Reboot (you should see    this) but if you select the    New partition it will fail. Use the DVD or USB    Windows 7/Windows 2008 R2 Boot Disk At the setup welcome screen press Shift-F10 C:gt;bcdedit /copy {current} /d "My New VHD Option“ C:gt;bcdedit /set {guid} device vhd=[driveletter:]lt;directory>lt;vhd filename>C:gt;bcdedit /set {guid} osdevicevhd=[driverletter:]lt;directory>lt;vhd filename>C:gt;bcdedit /set {guid} detecthal on
How to setup Boot from VHD Start Diskpart Create and attach the VHD Exit the command window and continue the setup and select the vhd on the partition screen. You might get a warning just ignore it and continue. create vdisk file=“[drive]:lt;machine>.vhd" type=expandable maximum=50000 select vdisk file=“[Drive]:lt;machine>.vhd"attach vdisk
Best practices Create Gold image VMs Keep them up to date (update every 3 months) Generalize them (sysprep) Use Undo/Snapshot as much as possible One thing to keep in mind with snapshot is they are time based so if you hadn’t activated windows when you revert you might have too. If you know you’ll snapshot and your VM is attached to a domain, make sure you turn off the “Domain Member: Maximum machine account password age”
Best practices Use fixed disk as much as possible to help with performance Delegate the Team Development VM creation task to one person and make sure he keeps it up to date with the latest tools the team uses Great productivity gain Everyone starts with the same environment Activate HAV in your laptop BIOS
Don’t forget these… VMs are “real” computer so threat them as such (AV, Patch, etc.) Try to use VMs on a second hard disk even a USB disk is better then the same as the OS.  USB 3 will rock! Don’t forget to backup!!! If it’s performance you are looking for, maybe virtualization not for you If you don’t want to impact you company network set your VM networking to offline or NAT or loopbak Think about using all the features (Diff disk, Undo, Snapshot, etc.) Don’t forget about licensing… 
Demos
Lets get started with virtualization Preparation  HAV (Hardware Assisted Virtualization) setting in the BIOS ISOs of the OSs you will use (Windows XP, 7, 2008, etc.) Demos Creation of a new VM Differencing Drives Undo disks/Snapshots Integration Services (or equivalent) Sysprep (Windows XP, Windows Vista+) Networking/Loopback adapter (hdwwiz.exe)
Links VMWare Server and Workstation www.vmware.com Windows Virtual PC www.microsoft.com/virtualpc Test yourBIOS if HAV issupported http://www.microsoft.com/downloads/details.aspx?FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2&displaylang=en Windows Server 2003 Service Pack 2 32-bit Deployment Tools http://www.microsoft.com/downloads/details.aspx?familyid=96A35011-FD83-419D-939B-9A772EA2DF90&displaylang=en Hyper-V http://www.microsoft.com/windowsserver2008/en/us/hyperv-main.aspx ALM Rangers VM Factory http://rangersvsvmfactory.codeplex.com/ MDT (Microsoft Deployment Toolkit) http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=25175
Call to action! Start using virtualization today!

Más contenido relacionado

La actualidad más candente

Dell Venue 7 3740
Dell Venue 7 3740Dell Venue 7 3740
Dell Venue 7 3740Kojo King
 
Managing your images with Deployment Image Servicing & Management (DISM) – wi...
Managing your images with Deployment Image Servicing & Management (DISM) – wi...Managing your images with Deployment Image Servicing & Management (DISM) – wi...
Managing your images with Deployment Image Servicing & Management (DISM) – wi...Vijay Raj
 
Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Gene Carboni
 
setting up v ms
 setting up v ms setting up v ms
setting up v mschigio
 
Virtualization technology "comparison vmware 9 vs virtualbox 4.2"
Virtualization  technology "comparison vmware 9 vs virtualbox 4.2"Virtualization  technology "comparison vmware 9 vs virtualbox 4.2"
Virtualization technology "comparison vmware 9 vs virtualbox 4.2"Lagendary Sheeva
 
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...Roel van Bueren
 
Windows xp and windows 7 installaton
Windows xp and windows 7 installatonWindows xp and windows 7 installaton
Windows xp and windows 7 installatonSiddharth Jain
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - BabeliLianna Babeli
 
Kali Linux Installation process in VMware Step-By-Step
Kali Linux Installation process in VMware Step-By-StepKali Linux Installation process in VMware Step-By-Step
Kali Linux Installation process in VMware Step-By-StepSupriya G
 

La actualidad más candente (20)

sm bus controller
sm bus controllersm bus controller
sm bus controller
 
Prepping software for w7 deployment
Prepping software for w7 deploymentPrepping software for w7 deployment
Prepping software for w7 deployment
 
Dell Venue 7 3740
Dell Venue 7 3740Dell Venue 7 3740
Dell Venue 7 3740
 
groupProject-1-Win8
groupProject-1-Win8groupProject-1-Win8
groupProject-1-Win8
 
Installing Operating System
Installing Operating System Installing Operating System
Installing Operating System
 
Managing your images with Deployment Image Servicing & Management (DISM) – wi...
Managing your images with Deployment Image Servicing & Management (DISM) – wi...Managing your images with Deployment Image Servicing & Management (DISM) – wi...
Managing your images with Deployment Image Servicing & Management (DISM) – wi...
 
Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7
 
setting up v ms
 setting up v ms setting up v ms
setting up v ms
 
Virtualization technology "comparison vmware 9 vs virtualbox 4.2"
Virtualization  technology "comparison vmware 9 vs virtualbox 4.2"Virtualization  technology "comparison vmware 9 vs virtualbox 4.2"
Virtualization technology "comparison vmware 9 vs virtualbox 4.2"
 
ZCM 3rd Party Imaging
ZCM 3rd Party ImagingZCM 3rd Party Imaging
ZCM 3rd Party Imaging
 
Windows thin pc
Windows thin pcWindows thin pc
Windows thin pc
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
 
Bad ram or ddr
Bad ram or ddrBad ram or ddr
Bad ram or ddr
 
Appa
AppaAppa
Appa
 
boot from lan
boot from lanboot from lan
boot from lan
 
Windows xp and windows 7 installaton
Windows xp and windows 7 installatonWindows xp and windows 7 installaton
Windows xp and windows 7 installaton
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - Babeli
 
Winver
WinverWinver
Winver
 
Kali Linux Installation process in VMware Step-By-Step
Kali Linux Installation process in VMware Step-By-StepKali Linux Installation process in VMware Step-By-Step
Kali Linux Installation process in VMware Step-By-Step
 

Similar a Let’s talk virtualization

TechMentor Fall, 2011 - WDS Tricks You Didn't Know
TechMentor Fall, 2011 - WDS Tricks You Didn't KnowTechMentor Fall, 2011 - WDS Tricks You Didn't Know
TechMentor Fall, 2011 - WDS Tricks You Didn't KnowConcentrated Technology
 
Ci For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalCi For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalChad Woolley
 
Windows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeWindows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeMike Herrity
 
VM201 - IdoSphere
VM201 - IdoSphereVM201 - IdoSphere
VM201 - IdoSphereCarl Tyler
 
WIndows 7 Migration tools for Nashville AITP
WIndows 7 Migration tools for Nashville AITPWIndows 7 Migration tools for Nashville AITP
WIndows 7 Migration tools for Nashville AITPDavid Strom
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalStephen Rose
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...Concentrated Technology
 
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...Concentrated Technology
 
Linux On V Mware ESXi
Linux On V Mware ESXiLinux On V Mware ESXi
Linux On V Mware ESXiMasafumi Ohta
 
IT109 Microsoft Windows 7 Operating Systems Unit 02
IT109 Microsoft Windows 7 Operating Systems Unit 02IT109 Microsoft Windows 7 Operating Systems Unit 02
IT109 Microsoft Windows 7 Operating Systems Unit 02blusmurfydot1
 
Ideal Deployment In .NET World
Ideal Deployment In .NET WorldIdeal Deployment In .NET World
Ideal Deployment In .NET WorldDima Pasko
 
Free tools for win server administration
Free tools for win server administrationFree tools for win server administration
Free tools for win server administrationConcentrated Technology
 
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Camilo Alvarez Rivera
 
Windows Server Core
Windows Server CoreWindows Server Core
Windows Server CoreMark Wilson
 

Similar a Let’s talk virtualization (20)

TechMentor Fall, 2011 - WDS Tricks You Didn't Know
TechMentor Fall, 2011 - WDS Tricks You Didn't KnowTechMentor Fall, 2011 - WDS Tricks You Didn't Know
TechMentor Fall, 2011 - WDS Tricks You Didn't Know
 
Server Core2
Server Core2Server Core2
Server Core2
 
Ci For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or GalCi For The Web 2.0 Guy Or Gal
Ci For The Web 2.0 Guy Or Gal
 
Windows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeWindows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology College
 
VM201 - IdoSphere
VM201 - IdoSphereVM201 - IdoSphere
VM201 - IdoSphere
 
Best free tools for w d a
Best free tools for w d aBest free tools for w d a
Best free tools for w d a
 
Best free tools for win database admin
Best free tools for win database adminBest free tools for win database admin
Best free tools for win database admin
 
WIndows 7 Migration tools for Nashville AITP
WIndows 7 Migration tools for Nashville AITPWIndows 7 Migration tools for Nashville AITP
WIndows 7 Migration tools for Nashville AITP
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint Final
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
Deploying w7
Deploying w7Deploying w7
Deploying w7
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
 
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...
WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Micr...
 
Linux On V Mware ESXi
Linux On V Mware ESXiLinux On V Mware ESXi
Linux On V Mware ESXi
 
IT109 Microsoft Windows 7 Operating Systems Unit 02
IT109 Microsoft Windows 7 Operating Systems Unit 02IT109 Microsoft Windows 7 Operating Systems Unit 02
IT109 Microsoft Windows 7 Operating Systems Unit 02
 
Ideal Deployment In .NET World
Ideal Deployment In .NET WorldIdeal Deployment In .NET World
Ideal Deployment In .NET World
 
Free tools for win server administration
Free tools for win server administrationFree tools for win server administration
Free tools for win server administration
 
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01Introductiontoasp netwindbgdebugging-100506045407-phpapp01
Introductiontoasp netwindbgdebugging-100506045407-phpapp01
 
Windows Server Core
Windows Server CoreWindows Server Core
Windows Server Core
 
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
 

Último

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 

Último (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

Let’s talk virtualization

  • 2. Etienne Tremblay Associate Director Microsoft Technologies at Fujitsu MVP ALM .NET Montreal User Group Leader section ALM Email: etienne.tremblay@live.ca Twitter: @tegaaa
  • 3.
  • 4.
  • 5. Questions Who uses virtualization today? Which product do you use? Devs or IT? What do you use virtualization for?
  • 6. Agenda What is virtualization? Different virtualization products Licensing… Why is virtualization important to you! Key concepts Scenarios Let’s get started (demos) What about Azure? Tips, Tricks and best practices Don’t forget these… Let’s finish (demos)
  • 8. Server and workstation virtualization
  • 12. Popular virtualization products Microsoft Virtual PC 2007 SP1 (free) Microsoft Virtual Server 2005 R2 SP1 (free) Microsoft Windows Virtual PC (Windows 7) (free) Microsoft Hyper-V (free with Windows 2008(R2)) Microsoft App-V ($) VMWare Player (free) VMWare Workstation 7 ($) (trial 30 days) VMWare Server 2 (free) VMWare ESX ($) Parallels (mac) ($) (trial 15 days) Xen (unix) Oracle VirtualBox(free)
  • 13. Microsoft licensing 101 … I’m NOT a licensing expert. Talk to a rep for that! One license per VM and per application installed like any other PC Windows Server 2008 R2 Enterprise *gives* you 4 free licenses to run VMs in Hyper-V on the same server Check out WindowsXPMode… a free copy of Windows XP running on Windows 7 Pro and Ultimate. …Get MSDN/TechNet it’s way easier
  • 14. Why is virtualization important to you! Better control over you development and testing environments Quick development team ramp up with gold developer workstation and build server image Easier recovery plan Easy setup of multiple testing environment for our customers (integration, pre-prod, etc.) Training workstation and server VMs Multiple VMs running on the same developer machine to simulate different tiers
  • 16. Key concepts #1: VMs are just files Files Virtual hard drives (vhd, vmdk, etc.) Virtual machine configuration (vmc, vmx, etc.) Undo/Snapshot files (vud, vmsn, etc.) Save states (vsv, vmss)
  • 17. Key concept #2: Undo/Snapshot disk
  • 18. Key concepts #3: Differencing disks
  • 19. Key concept #4: Gold Images
  • 20. Key concept #5: Sysprep
  • 23. Pros and cons Pros Portable Reutilization of existing assets (developer workstation) Developers have more control over their VMs (also a con…) Cons Performance issues can be a problem (running all on the same disk for example, better with multiple disks) Each developer need to manage their VMs (Patch, AV, etc.). We can mitigate with MedV/Gold Images
  • 25. Pros and cons Pros Faster if the central server is faster Centralization of the management of hardware and patching Cons Obviously less portable Need continuous connectivity to host/web Need of a big central server
  • 27. Pros and cons Pros All hardware taken into account (memory, disk, video, etc.) Fast (same as a regular PC) Can have multiple boot partition by having multiple virtual disk We can even combine scenario 1 & 2 & 3 Cons Marginal loss in disk speed Each developer need to manage their VMs (Patch, AV, etc.). Need to reboot to access another partition Only works with Windows 7/Windows 2008 R2 to create Windows 7/Windows 2008 R2 partitions.
  • 28. Demos
  • 29. Lets get started with virtualization Preparation HAV (Hardware Assisted Virtualization) setting in the BIOS ISOs of the OSs you will use (Windows XP, 7, 2008, etc.) Demos Creation of a new VM Differencing Drives Undo disks/Snapshots Integration Services (or equivalent) Sysprep (Windows XP, Windows Vista+) Networking/Loopback adapter
  • 30. Azure
  • 35. Test Lab Management – Define Environment
  • 36. Test Lab Management – Run Tests
  • 37. Test Lab Management – Capture State Dev clicks on lvr link & selects connect to snapshot of the environment
  • 38. 38 Dev is able to access the snapshot’ed environment via LE viewer
  • 39. Tips, tricks and best practices
  • 40. How to create a bootable Windows Installation USB key You need a 4G+ USB key Start a command windows and execute diskpart Copy the content of the Windows DVD on the key Choose the USB at boot and you are good to go LIST DISK (trouvervotre clé USB dans la list et noter le #) SELECT DISK <# de votre clé USB> CLEAN CREATE PARTITION PRIMARY SELECT PARTITION 1 ACTIVE FORMAT FS=NTFS LABEL=“<Win7/Win8R2>” QUICK ASSIGN EXIT
  • 41. How to setup Boot from VHD Add an entry in the Windows Bootloader menu Reboot (you should see this) but if you select the New partition it will fail. Use the DVD or USB Windows 7/Windows 2008 R2 Boot Disk At the setup welcome screen press Shift-F10 C:gt;bcdedit /copy {current} /d "My New VHD Option“ C:gt;bcdedit /set {guid} device vhd=[driveletter:]lt;directory>lt;vhd filename>C:gt;bcdedit /set {guid} osdevicevhd=[driverletter:]lt;directory>lt;vhd filename>C:gt;bcdedit /set {guid} detecthal on
  • 42. How to setup Boot from VHD Start Diskpart Create and attach the VHD Exit the command window and continue the setup and select the vhd on the partition screen. You might get a warning just ignore it and continue. create vdisk file=“[drive]:lt;machine>.vhd" type=expandable maximum=50000 select vdisk file=“[Drive]:lt;machine>.vhd"attach vdisk
  • 43. Best practices Create Gold image VMs Keep them up to date (update every 3 months) Generalize them (sysprep) Use Undo/Snapshot as much as possible One thing to keep in mind with snapshot is they are time based so if you hadn’t activated windows when you revert you might have too. If you know you’ll snapshot and your VM is attached to a domain, make sure you turn off the “Domain Member: Maximum machine account password age”
  • 44. Best practices Use fixed disk as much as possible to help with performance Delegate the Team Development VM creation task to one person and make sure he keeps it up to date with the latest tools the team uses Great productivity gain Everyone starts with the same environment Activate HAV in your laptop BIOS
  • 45. Don’t forget these… VMs are “real” computer so threat them as such (AV, Patch, etc.) Try to use VMs on a second hard disk even a USB disk is better then the same as the OS. USB 3 will rock! Don’t forget to backup!!! If it’s performance you are looking for, maybe virtualization not for you If you don’t want to impact you company network set your VM networking to offline or NAT or loopbak Think about using all the features (Diff disk, Undo, Snapshot, etc.) Don’t forget about licensing… 
  • 46. Demos
  • 47. Lets get started with virtualization Preparation HAV (Hardware Assisted Virtualization) setting in the BIOS ISOs of the OSs you will use (Windows XP, 7, 2008, etc.) Demos Creation of a new VM Differencing Drives Undo disks/Snapshots Integration Services (or equivalent) Sysprep (Windows XP, Windows Vista+) Networking/Loopback adapter (hdwwiz.exe)
  • 48. Links VMWare Server and Workstation www.vmware.com Windows Virtual PC www.microsoft.com/virtualpc Test yourBIOS if HAV issupported http://www.microsoft.com/downloads/details.aspx?FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2&displaylang=en Windows Server 2003 Service Pack 2 32-bit Deployment Tools http://www.microsoft.com/downloads/details.aspx?familyid=96A35011-FD83-419D-939B-9A772EA2DF90&displaylang=en Hyper-V http://www.microsoft.com/windowsserver2008/en/us/hyperv-main.aspx ALM Rangers VM Factory http://rangersvsvmfactory.codeplex.com/ MDT (Microsoft Deployment Toolkit) http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=25175
  • 49. Call to action! Start using virtualization today!