Upload
cameroon45
View
753
Download
4
Embed Size (px)
DESCRIPTION
Citation preview
SOFT-TRONIK SK
Zálohovanie vo virtuálnom prostredí
František FerenčíkVMware Certified Instructor
Agenda
• Princíp virtualizácie• Problematika vysokej dostupnosti• Zálohovanie vo virtuálnom prostredí
VMware Virtualization Basics
Hardware-independence of OS and applications
Virtual machines can be provisioned to any system
Manage OS and application as a single unit
After Virtualization:
Software tied to hardware
Single OS image per machine One application workload per OS
Inflexible, costly infrastructure
Before Virtualization:
Copyright © 2006 VMware, Inc. All rights reserved.
Key Properties of Virtualization
Partitioning• Run multiple operating
systems on one physical machine
• Fully utilize server resources• Support high availability as
shared data is cluster-ready for failover & redundancy
Encapsulation• Encapsulate the entire state
of the VM in hardware-independent files
• Save the VM state as a snapshot in time
• Re-use or transfer whole VMs with a simple file copy
Isolation• Isolate faults and security at
the hardware level• Dynamically control CPU,
memory, disk and network resources per VM
• Guarantee service levels
Copyright © 2006 VMware, Inc. All rights reserved.
VirtualCenter Components
VirtualCenter Clients
VirtualCenterManagement Server
Storage Area Network
VirtualCenter Management Agent
VirtualCenter Database
VMotion Agent
ESX Server 2.0.1+
GSX Server 3.1+
VM Template Storage
VirtualCenter provides a central and secure point of control for Virtual Infrastructure across the enterprise
Virtual Infrastructure Nodes (VINs)
Copyright © 2006 VMware, Inc. All rights reserved.
Copyright © 2006 VMware, Inc. All rights reserved.
Hardware Independence
Run a virtual machine on any server without modification
• Eliminate need for 1:1 hardware duplication for BC
• Eliminate risk of hardware “configuration drift”
• Re-use older servers for BC-DR
Encapsulation
Encapsulate entire systems as simple files
= FilePhysical Server
Data
AppsSystem
• System portability
• Simplify provisioning for recovery
• Simplify backup and replication
• Simplify copying and cloning of systems
Business Continuity in virtual
Isolation
Each VM isolated from other VM’s
• Easier testing of a BC-DR plan
• Stability and security
• Utilize DR hardware for other tasksVMware Infrastructure
OS
App
OS
App
OS
App
Batch Job
DR Test
% Utilization
Partitioning
Safely run multiple VM’ssimultaneously on a single server
• Consolidate servers
• Boost utilization
• Provide significant cost savings
Business Continuity in virtual
Copyright © 2006 VMware, Inc. All rights reserved.
1. Activate Maintenance Mode for physical host
2. DRS migrates running virtual machines to other hosts
• Use VMware VMotion to evacuate hosts– Move running applications
to other servers without disruption
– Perform maintenance at any time of day
– Zero downtime for hardware maintenance
• Automate with DRS maintenance mode– Automates moving virtual
machines to other hosts– Automates re-balancing
after maintenance
3. Shut down idle host and perform maintenance
4. Restart host; DRS automatically rebalances workloads
VMotionVMotion
Planned Zero-downtime
Copyright © 2006 VMware, Inc. All rights reserved.
Hypervisor
VM VM VM
File CUS IIS
SQL SAP EXC
ORACLE DB2
Virt
uáln
e pr
oste
edie
Fyz
ické
pro
stre
die
CUS
Dostupnost aplikácií: Chráni aplikácie pred výpadkami fyzických a virtuálnych serverov
Aplikace naprieč virtuálnym a fyzickým prostredím
Dostupnosť dát: Ochrana a obnova dat vo fyzických i virtuálnych prostrediach
9
Application and data HA
Hypervisor
VM VM VM
File CUS IIS
SQL SAP EXC
ORACLE DB2
Virt
uáln
í pr
ostř
edí
Fyz
ická
pro
stře
dí
CUS
Dostupnost aplikací: Chrání aplikace před výpadky fyzických a virtuálních serverů
Aplikace křížem přes virtuální a fyzická prostředí
Dostupnost dat: Ochrana a obnova dat ve fyzických i virtuálních prostředích
VCS for VMware ESX
Vedúce postavenie na trhu v multiplatformovej vysokej
dostupnosti
Kompletné HA/DR riešenie
Chráni virtuálne i fyzické prostredia
Úplne centralizovaná správa
NetBackup Vedúce postavenie na trhu
podnikovej ochrany a obnovy dát
Monitorovanie a riadenie backup and recovery
Ochrana vzdialených pobočiek
Granulárna obnova súborov pre VMware
10
Application and data HA
Cause of Failure VMware HA VCSApp processes crash/hang XApp process startup order XAdmin accidentally caused failure XConfiguration changes XOS failure X XNIC or network failure XStorage connectivity failure XVirtual Server failure X XPhysical Server failure X XData center failure X X
If the application fails, VMware HA will not know about it
If network or storage connectivity fails, VMware HA will not protect you
Should crown-jewel apps be trusted to manual DR?
VCS vs VMware HA
• VMotion delivers planned downtime protection
• DRS active workload management
– Monitors resource utilization & intelligently allocates available resources among the VMs
• VCS delivers end-to-end unplanned downtime protection
• Customers can use Vmotion/DRS while using VCS for VMware
Hardware (x86)
VMware ESX
Hardware (x86)
VMware ESX
VM A VM DVM B
SQL
VM C
IIS
VM B
SQL
VCS VCS
VCS plus VMotion/DRS
•Agent in Service Console
– Simplified backup of full-disk images
– Any storage
• Agent in each VM– Same architecture as
physical system backup
– File-level incremental backup possible
– Any storage
ServiceConsole
App
OS
Backup Agent
ServiceConsole
Backup Server
tape
App
OS
Backup Agent
Backup Agent
•Consolidated Backup - Agent on VCB Server
– Move backup out of VM– Provide LAN-free
backup– Eliminate backup
windows– Pre-integrated with 3rd
party backup products
OS
In-VM In-Console VCB
Backup in VMware enviroment
Copyright © 2006 VMware, Inc. All rights reserved.
VM Protection Approaches
VM Client-Based Data Backup (Normal Backup Client or Deduplication Client)
ESX Server
Client and Application AgentInside VM
C CA
Backup Server and
Storage
C
Simple
Leverages DB agents
High overhead with normal client
Low overhead with dedupe client
CAApplication Agent Client
Off-Host Backup via VMware VCB (Data, or Data + VMDK)
ESX Server
A
Backup Server and
Storage
SharedStorage
Low overhead on ESX Server
Auto-discovery and configuration
Individual file and/or VMDK options
Compression and deduplication
Lower average dedupe than in guest –
VMwareGranular Recovery
Backup Server & Storage
VM
— or —
object
Auto-Discovery
ESX Server
Backup Server & Storage
VM Discovery viaVirtual Center
Automated Restorevia VMware Converter
ESX Server
Deduplication
ESX Server
DD DA
Replication
Datacenter
VaultBackup Server
& Storage
ESX Server
C CA
C
Deduplication/Standard
Client-Based Backup
ESX Server
DD DA
VMware VCB Off-Host Backup
ESX Server
A
Backup Server & Storage
SharedStorage
Introducing NetBackup for VMware
15
NetBackup for
Flexible Virtual Machine protection methods….
…coupled with unique enabling technologies
6.5.2 VMwareIncrementals
Deep Dive: VCB Backups and Granular Recovery
File Recovery
Image Recovery
VMDK
VMware ESX VMware ESX
NetBackupMediaServer
PrimaryShared Storage Backup Storage
VMDK
VMDK
VMDK
VMDK
VMDK
VMDK
VMwareProxyDriver
NetBackupEnterprise Client
PureDiskPlug-in
NetBackupMediaServer
VMwareProxyDriver
NetBackupEnterprise Client
PureDiskPlug-in
VMware ESXVMware ESX
BackupDisk
TapePureDisk
1Backup policy alerts NetBackup that it is time to do a virtual machine backup
2NetBackup instructs VMware to snapshot the virtual machine
3The new VMDK snapshot is mounted to the NetBackup Server via the proxy driver
4Backup is then performed to any NetBackup storage device (disk, tape, PureDisk)
5 The VMDK snapshot is deleted
6 The backup image is then mapped for file-level recovery
VMDKVMDK
7Virtual Machines can then be restored from image backups for DR
8 Or, single files can be recovered to any location
VMDK
Combination: file and vmdk
NetBackup Alternatives
VM one backup
copyone fast image
backup
file-level recovery
full-VM recovery
VM
firstimagebacku
p
one fast image backup
file-level recovery
full-VM recovery
second
filebacku
p
second slow file backup
VMDK VMDK
•NetBackup uses VMware’s VCB technology to backup only once, then maps the image backup for file-level restores
•Deduplication then can reduce storage even further – by up to 95%!
•2x the storage
•2x the CPU and network usage
•More than 2x the backup time!
NetBackup Consumption
NetBackup Alternatives
•NetBackup software does not need to run on the ESX Server at all, thereby maximizing performance of ESX server
•Backup traffic travels on the abundant SAN, not the constrained LAN
•Performance hit is isolated to the dedicated backup server
Backup Server and
Storage
ESX Server ESX Server
Backup Server and
Storage
ESX Server ESX Server
C C C C C C
•Competitive solutions require backup to run inside VMs, thereby reducing performance of the ESX Server
•LAN bandwidth becomes a key choke-point
NetBackup Performance
Backup Exec 12.5 & Backup Exec System Recovery 8.5
– Reduce Cost and Management of Multiple Products - complete data protection for physical and virtual server environments from a single console
– Reduce Complexity – automatically discover and backup of unlimited guest machines to disk or tape with a single agent
– Reduce Recovery Time - granular file-level and image-level recovery with a single backup
Exchange 2007
VMware ESX Server
Backup Exec 12.5 Media Server
19
Veritas Backup Exec
Efficient Backup of virtual Environments Efficient Backup of
virtual Environments
Comprehensive BackupComprehensive Backup
20Backup Exec 12.5 & Backup Exec System Recovery 8.5
Veritas Backup Exec
21
Easily restore an entire guest machine…
Easily restore an entire guest machine…
Fast RecoveryFast Recovery
Backup Exec 12.5 & Backup Exec System Recovery 8.5
Veritas Backup Exec
22
…and granular files or folders from a single image-level backup
…and granular files or folders from a single image-level backup
Fast RecoveryFast Recovery
Backup Exec 12.5 & Backup Exec System Recovery 8.5
Veritas Backup Exec
František FerenčíkVmware Certified [email protected]
(prezentátor je certifikovaným školiteľom VMware technológií v spoločnosti SOFT-TRONIK SK)
SOFT-TRONIK SK, s.r.o.
Hattalova 12/A831 03 Bratislavatel.: +421 244 631 232 fax: +421 244 631 232
www.soft-tronik.sk