Module - 08 Data Protection
Transcript of Module - 08 Data Protection
-
8/10/2019 Module - 08 Data Protection
1/24
2012 VMware Inc. All rights reserved
Data Protection
Module 8
-
8/10/2019 Module - 08 Data Protection
2/24
8-2
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Course Introduction
Introduction to Virtualization
Creating Virtual Machines
VMware vCenter Server
Configuring and Managing Virtual Networks
Configuring and Managing vSphere Storage
Virtual Machine Management
Data Protection
Access and Authentication Control
Resource Management and Monitoring
High Availability and Fault Tolerance
Host Scalability
Patch Management
Installing VMware vSphere Components
You Are Here
-
8/10/2019 Module - 08 Data Protection
3/24
8-3
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Over time, your VMware vSphere environment might undergo
changes to its hardware or software configuration. In addition,application data goes through constant change.
From a manageability perspective, making regular backups of your
vSphere environment is important.
Backing up virtual machines requires strategies that leveragevirtualization architecture to perform highly efficient backups.
Importance
-
8/10/2019 Module - 08 Data Protection
4/24
8-4
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
After this module, you should be able to do the following:
Describe the problems when using traditional backup in virtualinfrastructure.
Describe solutions for backing up and restoring virtual machines thatuse virtual infrastructure.
Discuss technologies that make virtual machine backup and restore
operations faster and easier.
Describe how to back up and restore a virtual machine.
Describe how to back up and restore VMware vCenter Server.
Discuss a strategy for backing up and restoring a VMware vSphere
ESXi hosts configuration data.
Learner Objectives
-
8/10/2019 Module - 08 Data Protection
5/24
8-5
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Traditional Backup Method
physical server physical server
backup agent
operating system
x86 architecture
backup server
operating system
x86 architecture
backup to tape or disk data to back up
network
connection
(uses nearly 100 percent of
server resources dur ing backup)
-
8/10/2019 Module - 08 Data Protection
6/24
8-6
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Excessive physical resource use generated by each virtual machine.
Backup agents installed in virtual machines monopolize host CPU
resources during backups, which results in less CPU resource forother virtual machines running on that ESXi host.
I/O resources like network and storage are also saturated with read
and write operations during backup.
Backup Challenges in Virtualized Environments
backup
server
traditional backup method
VMware vSphere
-
8/10/2019 Module - 08 Data Protection
7/24
8-7
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
No backup agent installation is required.
Use of virtual machine snapshot functions is enabled.
Backup processing is offloaded from ESXi hosts to a backup server.
Virtual machines see the same virtual hardware.
Virtual disks can be thin-provisioned.
Faster backup and recovery times are enabled through the use of
changed block tracking and data deduplication.
A single backup image can be created.
Both image-level and file-level restoration can be performed.
Virtual Architecture Advantages
-
8/10/2019 Module - 08 Data Protection
8/24
8-8
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
VMware vSphere Storage APIs Data Protection (VADP):
Enables backup and recovery of entire virtual machine images acrossSAN storage or local area networks
Is an API that is directly integrated with backup tools from third-partyvendors
Enables you to remove load from the host and consolidate backup load
onto a central backup server
Protects virtual machines that use any type of storage supported byESXi (Fibre Channel, iSCSI, NAS, or local storage)
vSphere Storage APIsData Protection
-
8/10/2019 Module - 08 Data Protection
9/24
8-9
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Configure the storage environment so that the backup server can accessthe storage volumes that are managed by the ESXi hosts.
Backup processing is offloaded from the ESXi host to the backup server,
which prevents local ESXi resources from becoming overloaded.
Offloaded Backup Processing
backup
server
VMware vSphere
mount virtual
disks to backup
server
tape disk
-
8/10/2019 Module - 08 Data Protection
10/24
8-10
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Copy only file blocks that have changed since the last backup.
Changed block tracking enables faster incremental backups and
near-continuous data protection.
Changed Block Tracking
virtual machine H/W
version 7
ctkEnabled=true
scsi0:0.ctkEnabled=true
virtual machine H/W version 9
ctkEnabled=true
scsi0:0.ctkEnabled=true
scsi1:0.ctkEnabled=true
-ctk.vmdk -ctk.vmdk-ctk.vmdk
-
8/10/2019 Module - 08 Data Protection
11/24
8-11
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Data deduplication has the following characteristics:
Does not store twice those blocks with the same information as aprevious backup
Reduces 12 file blocks to 4 unique file blocks
Saves storage capacity
Provides faster backup performance
Data Deduplication
backup 1
backup 2
backup 3
unique file blocks
storage array
-
8/10/2019 Module - 08 Data Protection
12/24
8-12
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Easy, disk-based backup and recovery solution for virtual machines:
Pre-configured virtual machine appliance
Agent-less, web-based backup and recovery management
Patented de-duplication technology
Entire virtual machine and file-level restores
Included with all versions of VMware vSphere (except Essentials)
VMware vSphere Data Protection
-
8/10/2019 Module - 08 Data Protection
13/24
8-13
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Scalability (maximums):
100 virtual machines per VDP appliance
10 appliances per vCenter Server
2 TB of deduplicated storage
Appliances deployed with .5 TB, 1 TB, or 2 TB
Efficient backup mechanism:
vSphere API for Data Protection (VADP)
Changed Block Tracking (CBT)
Variable-length segment size
Deduplication across all virtual machines performed in VDP appliance
SCSI hot add, which avoids copying entire .vmdk across network
vSphere Data Protection Details
-
8/10/2019 Module - 08 Data Protection
14/24
8-14
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Virtual Machine Appliance:
Linux virtual machine .ovapackage
Easy, fast deployment
vSphere Infrastructure:
Changed Block Tracking
VSS in VMware Tools
Appliance Storage Sizes:
.5 TB
1 TB
2TB
vCenter Integration:
Manage through Webclient
vSphere Data Protection Key Components
vSphere vSphere
vCenter ServerVMware vSphere
Web Client
-
8/10/2019 Module - 08 Data Protection
15/24
8-15
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
VDP Appliance
4 vCPUs, 4 GB RAM
850GB, 1.6 TB or 3.1 TB
SLES 11 64-bit
vCenter Server 5.1
vSphere 4.0 or higher
VDP Architecture
Deduplication Store
(.vmdk files)
vSphere
vCenter
Server
vSphere Data
Protection
vSphere Web
Client
-
8/10/2019 Module - 08 Data Protection
16/24
8-16
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
After installation, VDP-configure is in maintenance mode:
Status - Services and logs
Configuration - Network, vCenter, and system settings
Rollback - Roll back repository of backups (more on this later)
Upgrade - Upgrade VDP appliance
VDP Deployment and Configuration
-
8/10/2019 Module - 08 Data Protection
17/24
8-17
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Virtual Machine Backup
Select objects -
containers (data
center, folder, clusters,
and so on) and
individual virtual
machines
-
8/10/2019 Module - 08 Data Protection
18/24
-
8/10/2019 Module - 08 Data Protection
19/24
8-19
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Restore individual files from backup:
VMware vSphere Data Protection Restore Client:
http://:8580/flr VMware Tools must be installed.
Windows NTFS and Linux LVM, Ext 2, Ext 3 are supported (basicdisks).
File Level Restore (FLR)
View all restore points
or filter by date
-
8/10/2019 Module - 08 Data Protection
20/24
8-20
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
VDP Reporting - User Interface
VDP appliance
capacity
List of virtual
machines, Backup
Jobs, and so on, with
the ability to filter
Success and failures
at a glance
Details for object
-
8/10/2019 Module - 08 Data Protection
21/24
8-21
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Backing Up vCenter Server
Choose a complementary backup solution that matches your vCenter
Server deployment.
Perform a full backup of your vCenter Server system.
Before starting backups, stop these services:
VMware vCenter Server
VMware VCMSDS (the Active Directory Application Mode database)
Database service (SQL, Oracle, DB2)
Back up the vCenter Server database, using recommended practices
provided by the database vendor.
Back up the SSL certificates.Back up the vpxd.cfgfile.
-
8/10/2019 Module - 08 Data Protection
22/24
8-22
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
Always back up your host configuration after installation, after
changing the configuration, and after upgrading the host.ESXi configuration:
Use the vicfg-cfgbackupcommand.
This command backs up and restores the hosts configuration. Run the command from VMware vSphere Command-Line Interface.
Backing Up ESXi Host Configuration Data
-
8/10/2019 Module - 08 Data Protection
23/24
8-23
2012 VMware Inc. All rights reserved
VMware vSphere: Install, Configure, ManageRevision A
You should be able to do the following:
Describe the problems when using traditional backup in virtualinfrastructure.
Describe solutions for backing up and restoring virtual machines thatuse virtual infrastructure.
Discuss technologies that make virtual machine backup and restore
operations faster and easier.
Describe how to back up and restore a virtual machine.
Describe how to back up and restore vCenter Server.
Discuss a strategy for backing up and restoring an ESXi hostsconfiguration data.
Review of Learner Objectives
-
8/10/2019 Module - 08 Data Protection
24/24
8-24VMware vSphere: Install, Configure, ManageRevision A
When you plan your backup strategy for virtual machines, be aware of
the various techniques that complement virtual infrastructures. Data Recovery is an agentless, 64-bit, Linux-based virtual appliance
used for backing up and recovering virtual machines.
Data Recovery uses deduplication store technology to make efficientuse of the backup storage.
Data can be restored per virtual machine, per virtual disk, or per file.
Questions?
Key Points