may 25- june 15, 2006. building your test environment bruce cowper it pro advisor microsoft canada...
TRANSCRIPT
May 25- June 15, 2006
Building Your Test Building Your Test EnvironmentEnvironment
Bruce CowperBruce CowperIT Pro AdvisorIT Pro Advisor
Microsoft CanadaMicrosoft Canada
[email protected]@microsoft.com
Damir BersinicDamir BersinicIT Pro AdvisorIT Pro Advisor
Microsoft CanadaMicrosoft Canada
[email protected]@microsoft.com
http://blogs.technet.com/canitpro
Session Goals:Session Goals:
• Examine Virtualized test environmentsExamine Virtualized test environments• Investigate tools to help you create a test areaInvestigate tools to help you create a test area• Demonstrate methods for migrating to Windows Demonstrate methods for migrating to Windows
Vista and Office 2007Vista and Office 2007• Provide you with Best Practices, Tools and TipsProvide you with Best Practices, Tools and Tips
AgendaAgenda
• Virtualisation; What, Why, How?Virtualisation; What, Why, How?• Creating the test environmentCreating the test environment• Physical to Virtual toolsPhysical to Virtual tools• Migrating to Windows Vista and Office Migrating to Windows Vista and Office
20072007
R2R2
What is Virtualization?What is Virtualization?
Virtualization
Hardware
AppsApps
OSOS
AppsApps
OSOS. . .
Without virtualization: Adding a virtualization layer:
Opportunity• System utilization• Legacy support• Disaster recovery, availability• Flexible workload management
Physical Virtual Self Managing Dynamic Systems
Industry Issues• Security: Integrity, patching• Interoperability• Isolated management tools• Lifecycle Management• Support and licensing
Operating System = OS
Applications = Apps
AppsApps
OSOS
AppsApps
OSOS
AppsApps
OSOS
AppsApps
OSOS
Hardware
Operating System
Virtualization TodayVirtualization Today
Virtualization with the Windows Virtualization with the Windows Hypervisor - TomorrowHypervisor - Tomorrow
• Thin hypervisor• Drivers in virtual operating
system partitions– Thinner hypervisor
– Better compatibility
• Hardware virtualization assist
– Better performance
– Virtual operating system isolation
ManagementManagement
OSOS
Dri
ve
rsD
riv
ers
ApplicationApplication
OSOS
Dri
ve
rsD
riv
ers
ApplicationApplication
OSOSD
riv
ers
Dri
ve
rs
Windows hypervisorWindows hypervisor
Hardware virtualizationHardware virtualization
. . .. . .
““Parent”Parent”virtual virtual
Operating Operating SystemSystempartitionpartition
““Child”Child”virtual virtual
Operating Operating SystemSystem
partitionspartitions
The Vision; Self-Managing The Vision; Self-Managing Dynamic SystemsDynamic Systems
Traditional systems live within boundaries Applications have fixed
dedicated resources Results in need for more
responsive infrastructure Wasted capacityVirtual systems break down some of these boundaries Virtualization allows for
better resource utilizationDynamic systems go further Resources are intelligently
(policy) and flexibly assigned as needs change
Storage
Servers
Applications/Services
DynamicStorage
DynamicPlatform
DynamicServices
Virtual Server 2005 R2 SP1 beta
• Available on Connect Beta site• Beta 1
– Support for Intel Virtualization Technology– Host clustering Scripts and White Paper
• Beta 2– AMD Virtualization technology – Volume Shadow Service for enhanced backup and
recovery– Active Directory integration and Management
R2R2
What is Virtual Server?What is Virtual Server?
Virtual Server 2005 R2 Architecture
Host Host EnvironmentEnvironment
Host Operating SystemHost Operating SystemHost Operating SystemHost Operating System
Host DriversHost DriversHost DriversHost Drivers
Host HardwareHost HardwareHost HardwareHost Hardware
Virtual Server Virtualized HardwareVirtual Server Virtualized HardwareVirtual Server Virtualized HardwareVirtual Server Virtualized Hardware
Guest EnvironmentGuest Environment
Guest AppsGuest AppsGuest AppsGuest Apps
Guest OSGuest OSGuest OSGuest OS
Guest DriversGuest DriversGuest DriversGuest Drivers
Guest EnvironmentGuest Environment
Guest AppsGuest AppsGuest AppsGuest Apps
Guest OSGuest OSGuest OSGuest OS
Guest DriversGuest DriversGuest DriversGuest Drivers
Virtual Machine Files• Virtual Machine configuration file
– XML file contains all configuration metadata– Can be copied to another host server for redeployment
• Virtual Hard Disk file– Is the “hard disk” in the virtual machine– Can be copied to another host server for redeployment
• Virtual Network configuration file– XML file contains all configuration metadata– Can be copied to another host server for redeployment
Virtual DisksVirtual Disks• Dynamically Expanding Virtual Hard Disks
– Specify Max Size on creation– VHD file expands on host server
• Fixed Size Virtual Hard Disk– Can be converted to dynamic– Required for cluster quorum disk
• Differencing Virtual Hard Disk– Used for machines with a common base operating system– Uses Parent (base) / Child relationship
• Linked Virtual Hard Disk– Used to convert a Physical to Virtual Disk
• Virtual Floppy Disk
Guest OS ConfigurationVirtual Device Models
440BX chipset with PIIX4System BIOS (AMI)
PCI BusISA Bus
Power ManagementSM Bus
8259 PICPIT
DMA ControllerCMOSRTC
Memory ControllerRAM & VRAM
COM (Serial) PortsLPT (Parallel) Ports
IDE/ATAPI ControllersSCSI Adapters (Adaptec 2940)
SVGA Video Adapter (S3 Trio64)VESA BIOS
2D Graphics AcceleratorHardware Cursor
Ethernet Adapter (DEC 21140) x 4Keyboard
Mouse
Virtual Device Models
440BX chipset with PIIX4System BIOS (AMI)
PCI BusISA Bus
Power ManagementSM Bus
8259 PICPIT
DMA ControllerCMOSRTC
Memory ControllerRAM & VRAM
COM (Serial) PortsLPT (Parallel) Ports
IDE/ATAPI ControllersSCSI Adapters (Adaptec 2940)
SVGA Video Adapter (S3 Trio64)VESA BIOS
2D Graphics AcceleratorHardware Cursor
Ethernet Adapter (DEC 21140) x 4Keyboard
Mouse
• Virtual Server virtualizes:– CPU– Memory management– Synthetic hardware
• Virtual Server emulates:– Device accesses are trapped and
emulated in software through virtual device models
• VMs have no access to:– Host system physical memory – Other VMs’ virtual memory or
virtualized devices
• Note: Use the Virtual Machines Additions to provide Windows Vista Drivers
AgendaAgenda
• Virtualisation; What, Why, How?Virtualisation; What, Why, How?• Creating the test environmentCreating the test environment• Physical to Virtual toolsPhysical to Virtual tools• Migrating to Windows Vista and Office Migrating to Windows Vista and Office
20072007
Building Virtual Machines• Virtual Machines can be built from:
– CD / DVD through virtual drive mapping– ISO Images
• Booting– CD / ISO– Virtual Floppy Disk images (VFD)
• Existing Base / Sysprep Images– Use existing base image as base to create new child– Copy / Migrate images from VPC / 3rd party programs
• Physical to Virtual machine migration– Virtual Server Migration Tool (VSMT)– 3rd party tools such as Platespin PowerConvert™
Virtual Networking featuresVirtual Networking featuresVirtual Networking featuresVirtual Networking features
Virtual Networking
Corporate network
Virtual NICS Virtual NICs
Hardware serverHardware serverHardware serverHardware server Physical NICs
Bridged virtual Bridged virtual networknetwork
Virtual SwitchVirtual Switch
Private virtual networkPrivate virtual network
Virtual DHCP ServerVirtual DHCP Server
Windows VistaWindows Vista
VMVM
Virtual ServerVirtual Server
VMVM
Virtual MachineVirtual Machine
VMVM
Test / Development network
Bridged virtual Bridged virtual networknetwork
R2R2
Where can it be used?
Virtual Server Usage Scenarios
Windows NT Server 4.0 Application migration
Departmental/branchserver consolidation
Test/developmentautomation
Testing and Development
• Create isolated test and development networks• Migrate / Virtualize existing infrastructure and systems• Test deployments and upgrades in controlled networks• Leverage ‘Undo’ capabilities for rollback. • Provision and de-provision systems quickly
Virtualized Test and DevelopmentVirtualized Test and Development
demonstrationdemonstration
Test and Development
•Creating the Reference System•Differencing Disks•Creating Virtual Networks
AgendaAgenda
• Virtualisation; What, Why, How?Virtualisation; What, Why, How?• Creating the test environmentCreating the test environment• Physical to Virtual toolsPhysical to Virtual tools• Migrating to Windows Vista and Office Migrating to Windows Vista and Office
20072007
R2R2
Going from Physical to Virtual
Physical to Virtual (P2V)
Target Physical ServerW2K3 Enterprise Serverw/Virtual Server & VSMT
W2K3 Serverwith ADS & VSMT
Configure new virtual machine
Verify suitable configuration, capture image and generate task sequences to use with ADS
Transform ADS image to VHD and deploy to new target system
Tech
nolo
gy
Tech
nolo
gy
• Virtual Server Migration Toolkit– Command line tools to help automate P2V migration– Leverages Automated Deployment Services (ADS)
Gu
idan
ceG
uid
an
ce
• Solution Accelerator for Consolidating and Migrating LOB Applications– Determine which applications are good candidates for Virtualization– Guidance on using VSMT in combination with ADS
VSMT LimitationsVSMT Limitations
• Limitations– Servers with hardware not emulated in VS cannot be moved – for
example, parallel port dongle, USB, HBAs– Physical servers with less than 96 MB of memory cannot run
migration tools (160 MB if FAT partitions)– Cannot migrate extended and dynamic partitions– Cannot migrate SAN data – must be copied manually– Some hardware configurations will require manual intervention in
the migration process, particularly with Windows NT 4.0
• Targeted at IT Pros or consultants– Requires some scripting knowledge– Requires DHCP, PXE, and ADS knowledge
Managing P2V and Back Again…with PowerConvert ™
OS Portability™OS Portability™• Technology that automates the streaming of operating
system, applications, data between infrastructures
Decouple workloadfrom host
Infrastructure
Peer-to-Peer Workload Movement
Deploy or RecoverWorkload from Archives
and Backups
Reconfigure Workloads Dynamically
Virtual
Blade
Physical
Image
OS + applications are decoupled from Hardware
PowerConvert™ 5.2PowerConvert™ 5.2 • Free movement of servers
throughout your data center across infrastructures
– Awareness of what you have– Move OS, Data, and applications– Continuous Server optimization– Support for leading Virtual
infrastructure– Live Imaging Support – On the fly OS configuration– Resource right sizing and
optimization– Remote conversions
• Solutions– Consolidation– Recovery– Test lab automation– Business Service Provisioning– Hardware Migration
PowerRecon™ 2.0PowerRecon™ 2.0• Rich modeling and organization of
resources and workloads– Gives more insight into utilization data to make
smarter optimization choices
• Customizable resource and workload reports – Speed server assessment delivery
• No need for external data analysis– Data stays at customer sites reducing security
concerns
• Inventory and utilization in one product– Project use to start, with operational benefits over
time
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Three step conversion process- Remotely discover and inventory server- Configure conversion job- Start the conversion and optionally monitor
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
Remotely Discover Server Details
PowerConvert discovers and inventories source and target server using supplied hostname/IP and valid credentials
Discovered details used to:
- Review business use of server to plan consolidation
- Auto configure conversion job
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Configure and Start a Conversion Job
- With the server details discovered a conversion job can be auto configured with a drag and drop
- Right sizing can be done via the job configuration
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Create New Virtual Machine
- PowerConvert remotely installs a controller on the target Virtual Server
- PowerConvert creates a new virtual machine
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Take Control
- PowerConvert takes control of new virtual machine and source server
- Purpose is to boot source and destination so data can be transferred with integrity
- Source machine is not altered
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Data Transfer
- Virtual machine disks are partitioned and formatted
- Source data is streamed directly into the virtual machine without use of temp space
- Copied operating system is configured to run in virtual environment
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Release Control and Configure
- New VM is booted (control is released)
- PowerConvert configures the VM as per the job configuration (e.g. network, hostname, domain, etc)
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Release Source Server
- PowerConvert releases control of source server if specified in the job (e.g. avoid duplicate IP)
- Conversion is complete and the new virtual machine is now ready for operation
- PowerConvert saves server details, can be refreshed later as needed
Target Virtual Host
Source Servers
PowerConvert Server
PowerConvert Client
Conversion Complete
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Migration Process
- Take control of target with PlateSpin ISO image
- Register with PowerConvert server
- Configure conversion job
- Start the conversion and optionally monitor
Target Physical Host
Source Servers
PowerConvert Server
PowerConvert Client
PowerConvert: P2V ConversionPowerConvert: P2V Conversion
Conversion Complete
demonstrationdemonstration
Physical 2 Virtual
• Importing Source and Reference Systems to a virtualized environment with PlateSpin PowerConvert ™
AgendaAgenda
• Virtualisation; What, Why, How?Virtualisation; What, Why, How?• Creating the test environmentCreating the test environment• Physical to Virtual toolsPhysical to Virtual tools• Migrating to Windows Vista and Office Migrating to Windows Vista and Office
20072007
Deployment ScenariosDeployment Scenarios
Windows Vista
New System
System Upgrade
Side-by-Side
Installing Windows Vista in a Virtual Machine
• Considerations– Allocate plenty of RAM (512Mb+) where possible– Increase the size of the Virtual Hard Disk(s) to greater than
default 16Gb (now 127Gb in VS 2005 R2 Sp1)– Use the Virtual Machine Additions for performance and hardware
support
• Clean Install– Use Physical media or mount ISO to Virtual CD
• Upgrade– Test upgrade and application settings thoroughly
• Use the Application Compatibility Toolkit
• Side by Side Migration– Use the Files and Settings Transfer Wizard to migrate settings.
Files and Settings Transfer WizardFiles and Settings Transfer Wizard
Removable Media
Network •System Settings•E-mail•Files•Favorites
Application Compatibility ToolkitApplication Compatibility Toolkit
Application Database
Correct Run Level
Analyze your portfolio of Analyze your portfolio of Applications, Web Sites, Applications, Web Sites, and Computersand Computers
Evaluate operating system Evaluate operating system deployments or impact of deployments or impact of operating system updatesoperating system updates
Centrally manage Centrally manage compatibility evaluators compatibility evaluators and configuration settingsand configuration settings
Rationalize and Organize Rationalize and Organize by Applications, Web Sites, by Applications, Web Sites, and Computersand Computers
Prioritize compatibility Prioritize compatibility efforts with filtered efforts with filtered reportingreporting
Add and manage issues Add and manage issues and solutions for your and solutions for your personal computing personal computing environmentenvironment
Deploy automated Deploy automated mitigations to known mitigations to known compatibility issuescompatibility issues
Send/Receive compatibility Send/Receive compatibility information to Online information to Online Compatibility ExchangeCompatibility Exchange
Application Compatibility Toolkit V5.0
ACT 5.0: High Level Architecture
Log Processing Log Processing ServiceService
Local ACT DB
Agent Framework/Compatibility EvaluatorsAgent Framework/Compatibility Evaluators
DCOM WFInventory IE UAC UIA Etc…
Compatibility ExchangeCompatibility Exchange
`
`
Europe North America
Desktop TopologyDesktop Topology
AC ManagerAC Manager
Betty
Wilma
InternetInternet
HR Finance
Compatibility ExchangeFeatures: IT Pros helping each other
out by sharing of application compatibility rating with community
Secure and privacy compliant transactions
Simple and easy to share Submission can be
anonymous or by user name Partner with MCS and
deployment specialist in building and seeding community data
Scalable solution
Works for me! or
Found some issues
1. Community
See risk rating and/or
issues summary
IT Pro (Enterprise A) IT Pro
(Enterprise B)
Compatibility Exchange
Internet
Features: Feedback mechanism to
vendors on most requested applications
Authoritative data compliments community rating
Leverage existing Microsoft data repositories (test, certification, logo, vendor portal)
Limited data due to dependencies on Vendor Portal and test team
Analysis and Reporting
App Compat Testing
Certify app works or
Publish issues
ISV
Microsoft Logo and Certification
2. Authoritative Sources
Update Impact Analysis
Inventory Applications
Manifest
Windows Updates Enterprise Desktop Topology
Update Manifest
Application Profile Data
Application Compatibility
Manager
demonstrationdemonstration
Upgrading to Windows Vista
•Using the Upgrade path to convert a reference XP SP2 Workstation
• Leverage Virtualized as well as Physical Test and
Development Environments
• There are tools such as the VSMT and Platespin’s
PowerConvert ™ designed to help you move
between the physical and virtual environments
• Several options exist for testing the migration of the
operating system and applications.
Session Summary
For More Information…For More Information…
• Main TechNet Canada Web site atMain TechNet Canada Web site atwww.microsoft.ca/technet
• Microsoft Virtual Server 2005 R2 SiteMicrosoft Virtual Server 2005 R2 Sitehttp://www.microsoft.com/windowsserverssystem/virtualserver
• PlateSpin Web SitePlateSpin Web Sitehttp://www.platespin.com
• Canadian IT Pro BlogCanadian IT Pro Bloghttp://blogs.technet.com/canitpro
Join us for the next session on:Join us for the next session on:
Deploying Windows Vista Deploying Windows Vista and Microsoft Office 2007and Microsoft Office 2007