Designing a Virtualization Architecture: A Best Practices Approach - PowerPoint PPT Presentation

1 / 41
About This Presentation
Title:

Designing a Virtualization Architecture: A Best Practices Approach

Description:

Las Vegas in the Spring. Orlando in the Fall. Virtualization. Automation & PowerShell ... by McGladrey and Pullen shows that 43% of companies experiencing ... – PowerPoint PPT presentation

Number of Views:346
Avg rating:3.0/5.0
Slides: 42
Provided by: Sus575
Category:

less

Transcript and Presenter's Notes

Title: Designing a Virtualization Architecture: A Best Practices Approach


1
Designing a Virtualization Architecture A Best
Practices Approach
  • Greg Shields, MVP Terminal Services
  • Author / Speaker / Instructor / Consultant / All
    Around Good Guy
  • gshields_at_concentratedtech.com

1
2
Join Us _at_ TechMentor Events
  • TechMentor Las Vegas Three weeks!
  • Early bird registration still available
  • TechMentor 2009
  • Las Vegas in the Spring
  • Orlando in the Fall
  • Virtualization
  • Automation PowerShell
  • Proactive Windows Management
  • Becoming an IT Architect
  • Windows Security, Auditing, and Compliance
  • Exchange Server Administration
  • Windows Fundamentals
  • Windows Technologies
  • http//www.techmentorevents.com

3
Fear the Worst
  • The National Academy of Archives and Records
    states that 96 of companies that lose access to
    their data centers for 10 days or longer are out
    of business within a year.
  • A study by McGladrey and Pullen shows that 43 of
    companies experiencing disasters will never
    recover.
  • Tape restorations can take days and tape failures
    exacerbate an already critical problem.
  • 72 hours to restore 1.5T of office files

4
44 of Virtualization Deployments Fail
  • According to a CA announcement from 2007.
  • Inability to quantify ROI
  • Insufficient administrator training
  • Success
  • Measure performance
  • Diligent Inventory and Load Distribution
  • Thorough Investigation of Technology

5
The Lifecycle of a Virtualization Architecture
  • Step -1 Hype Recognition Education
  • Step 0 Assessment
  • Step 1 Purchase Implementation
  • Step 2 P2V
  • Step 3 Backups Expansion
  • Step 4 DR Implementation

6
Step 0Assessment
7
The Virtualization Assessment
  • Successful virtualization rollouts need a
    virtualization assessment.
  • You need to analyze your environment before you
    act.
  • Virtualization assessment should include
  • Inventory of servers
  • Inventory of attached peripherals
  • Performance characteristics of servers
  • Analysis of performance characteristics
  • Analysis of hardware needs to support virtualized
    servers
  • Backups Analysis
  • Disaster Recovery Analysis (Hot vs. warm vs.
    cold)
  • Initial virtual resource assignment

8
(Obvious) Candidates for Virtualization
  • Systems with minimal processor utilization
  • Systems with minimal RAM requirements
  • We too often add too much RAM in a server.
  • Systems that do not require large quantities of
    drive storage
  • Redundant or warm-spare servers
  • Occasional- or limited-use servers
  • Systems where many partially-trusted people need
    console access

9
Not Candidates for Virtualization
  • Systems with constant and high processor
    utilization or RAM usage
  • Systems with peripherals
  • Serial / parallel / USB / External SCSI /License
    Keyfobs / Scanners / Bar Code Readers
  • Systems with exceptionally high network use
  • Gigabit networking requirements
  • Systems with specialized hardware requirements
  • Hardware appliances / OEM / Unique configs

10
Assessing Performance
  • In the early days of virtualization, we used to
    say
  • Exchange Servers cant be virtualized
  • Terminal Servers cant be virtualized
  • Youll never virtualize a SQL box
  • Todays common knowledge is that the decision
    relates entirely to performance.
  • Thus, before you can determine which servers to
    virtualize, you need to understand their
    performance.
  • Measure that performance over time.
  • Compile results into reports and look for
    deviations from nominal activity.

11
Useful Performance Counters
These are examples (starting points). Your actual
thresholds may be different.
12
The Virtualization Assessment
13
Gathering Performance
  • PerfMon is really the only mechanism to gather
    these statistics from servers.
  • But PerfMon can be challenging to use.
  • Other products are available to assist...
  • Microsoft Assessment Planning Solution
    Accelerator
  • VMware Consolidation Capacity Planner
  • Platespin PowerRecon
  • CiRBA
  • PerfMan

14
Step 1Purchase Implementation
15
Consolidation Cost Savings
Small Server
6,000
11
6,000 per Server
81
Large Server
15,000
20,000
2,500 per Server
201
1,333
151
1,000
Virtualization
5,000
Large MarginalCost Increases perAdditional
Server
Power Cooling Provisioning Labor
Smaller Marginal Cost Increases
16
Virtualization Options
  • Three types of Virtualization
  • Entire System Virtualization
  • VMware
  • Microsoft Virtual Server
  • OS Virtualization
  • Parallels Virtuozzo
  • Paravirtualization
  • Microsoft Hyper-V
  • Xen / Citrix XenSource

Virtual O/S is an entire systemthat has no
awarenessof underlying host system.
Software runs on system assingle file. Requires
client.
Similar to Hardware Virtualization, but Virtual
O/S is aware it is virtualized.
17
Hardware Virtualization(Type-1)
  • ESX
  • Hybrid hypervisor and host OS
  • Device drivers in the hypervisor
  • Emulation (translation from emulated driver to
    real driver)
  • High cost, high availability, high performance

18
Paravirtualization
  • Hyper-V, Citrix XenSource
  • Host OS becomes primary partition above
    hypervisor.
  • Device drivers in the primary partition
  • Paravirtualization (no emulation for
    enlightened VMs)
  • Low cost, moderate-to-high availability, high
    performance

19
Hardware Virtualization(Type-2)
  • Microsoft Virtual Server
  • Hypervisor above host OS.
  • Device drivers in hypervisor
  • Emulation (translation from emulated driver to
    real driver)
  • Low cost, low availability, low performance

20
OS Virtualization
  • Parallels Virtuozzo
  • Delta-based.
  • No hypervisor. V-layer processes requests.
  • All real device drivers hosted on host OS
  • Moderate cost, moderate availability, very high
    performance

21
Step 2P2V
22
P2V Isnt Exciting Any More
  • After environment stand-up, P2V process converts
    physical machines to virtual ones.
  • A ghost a driver injection
  • Numerous applications can do this in one step.
  • These days, P2V process is commodity.
  • Everyone has their own version.
  • Some are faster. Some muchslower. Paid options
    faster.

23
P2V, P2V-DR
  • P2V
  • SCVMM, VMware VI/Converter, Acronis, Leostream,
    others.
  • P2V-DR
  • Similar to P2V, but with interim step of image
    creation/storage.
  • Poor-mans DR

24
P2V-DR Uses
  • P2V-DR can be leveraged for medium-term storage
    of server images
  • Useful when DR site does not have hot backup
    capability or requirements
  • Regularly create images of physical servers, but
    only store those images rather than load to
    virtual environment
  • Cheaper-to-maintain DR environment
  • Not fast.
  • Not easy.
  • Not completely reliable.
  • but essentially cost-free.

25
Step 3Backups Expansion
26
Backup Terminology
  • File-Level Backup
  • Backup Agent in the Virtual Machine
  • Image-Level Backup
  • Backup Agent on the Virtual Host
  • Quiescing
  • Quieting the file system to prep for a backup
  • O/S Crash Consistency
  • Capability for post-restore O/S functionality
  • Application Crash Consistency
  • Capability for post-restore application
    functionality

27
Types of Backups
  • Three types of Backups
  • Backing up the host system
  • May be necessary to maintain host configuration
  • But often, not completely necessary
  • The fastest fix for a broken host is often a
    complete rebuild
  • Backing up Virtual Disk Files
  • Fast and can be done from a single host-based
    backup client
  • Challenging to do file-level restore
  • Backing up VMs from inside the VM
  • Slower and requires backup clients in every VM.
  • Resource intensive on host
  • Capable of doing file-level restores

28
The Problem with Transactional Databases
  • O/S Crash Consistency is easy to obtain. Just
    quiesce the file system before beginning the
    backup.
  • Application Crash Consistency much harder.
  • Transactional databases like AD, Exchange, SQL
    dont quiesce when the file system does.
  • Need to stop these databases before quiescing.
  • Need an agent in the VM that handles DB
    quiescing.
  • Leverage VSS.
  • Restoration without crash consistency will lose
    data. DB restores into inconsistent state.

29
The Problem with Transactional Databases
  • When considering backups of virtual machines,
    need to consider file-level backups and
    image-level backups.
  • File-level backups provide individual file
    restorability and transactional database crash
    consistency.
  • Image-level backups provide whole-server
    restorability.
  • Not all image-level backups provide app crash
    consistency.
  • Solutions exist that call Windows VSS to quiesce
    apps and the file system prior to snapping a
    backup.
  • Compelling argument VSS Microsoft, Hyper-V
    Microsoft.

30
Step 4DR Implementation
31
DR, meet Virtualization
  • Early all-physical attempts at DR were
    cost-prohibitive and operationally complex.
  • Identical server inventory at primary and backup
    site.
  • Management cost of identical server
    configuration. Change management costs
    prohibitive.
  • Virtualization eliminates many previous barriers.
  • Virtual servers are chassis independent.
  • Image-level backup image-level restore.
  • Hot sites one of many options cold warm
    sites.
  • Numerous cost-effective solutions available.
  • Dont believe the hype.
  • Make decisions based on need.

32
Disaster Recovery Terminology
  • What is Disaster Recovery?
  • Disaster Recovery intends to provide continuity
    of business services after a critical event.
  • Disaster Recovery is invoked after the
    large-scale loss of primary business services.
  • DR is not the restoration of a critical server.
  • DR is not the restoration of a critical business
    service.
  • Why the distinction?
  • DR solutions do not resolve daily operational
    issues.
  • Often, failback is challenging.

33
Disaster Recovery Terminology
  • RTO Recovery Time Objective
  • Time period between a failure and when a failed
    system is restored to full operational
    capability.
  • RPO Recovery Point Objective
  • Quantity of data that can acceptably be lost as
    part of a failure.
  • MTTR Mean-Time To Restore
  • The average amount of time expected to bring a
    system back to full operational capability.
  • SLA Service Level Agreement
  • Agreement between IT and business on restoration
    metrics, what to restore, priorities, and
    ownership.

34
Disaster Recovery Terminology
  • Hot site
  • Servers up and operational at remote site at all
    times.
  • Warm site
  • Servers pre-provisioned at remote site. Tasks to
    complete for failover to occur.
  • Cold site
  • Empty site and servers on retainer awaiting DR
    event.

35
Four DR Tiers
36
Four DR Tiers




37
Four DR Tiers
  • - Snap Pray
  • Leverage no-cost or low-cost tools to snapshot
    image-level backups of VMs.
  • Cold site and replacement equipment on retainer.
  • Store images to tape. Rotate tapes off-site.
  • Restoration
  • Activate cold site
  • Procure reserved replacement equipment
  • Procure tapes and tape device
  • Restore images to replacement equipment
  • Resolve database (and some O/S) inconsistencies

38
Four DR Tiers
  • - Warm Snap
  • Leverage no-cost or low-cost tools to create
    image-level backups of VMs.
  • Connected warm site with data storage location.
  • Transfer images to off-site data storage location
  • Restoration
  • Procure or spin up reserved replacement equipment
  • Restore images from data storage to replacement
    equipment
  • Resolve database (and some O/S) inconsistencies

Disk-to-disk backups over the WAN increase backup
time, but significantly reduce restore time.
39
Four DR Tiers
  • - Inconsistent Storage-to-Storage
  • Warm site. Storage-to-storage replication
    instantiated between sites.
  • Storage data automatically replicated to remote
    site.
  • Greater support for incrementals. Less WAN
    usage.
  • Restoration
  • Procure or spin up reserved replacement equipment
  • Attach virtual machines to replacement equipment
    and hit the green VCR button.
  • Resolve database (and some O/S) inconsistencies

SAN replication is often not aware of quiescing,
so this solution can be problematic.
40
Four DR Tiers
  • - Real-time Replication
  • Warm or hot site. Storage-to-storage replication
    instantiated between sites.
  • 3rd Party tools used for image-to-image transfer.
  • In-VM for transactional database quiescing.
  • On-host for all other machines.
  • Roll-back and roll-forward capabilities
  • Restoration
  • Hit the green VCR button
  • (or, auto-failover)

Tools like DoubleTake, DoubleTake for Virtual
Systems, esxReplicator, DataCore SANMelody enable
real-time and consistent DR between sites.
41
  • Questions?
  • Comments?
  • Sarcastic Remarks?
Write a Comment
User Comments (0)
About PowerShow.com