Data Protection Module 8
You Are Here 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 8-2
Importance 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 leverage virtualization architecture to perform highly efficient backups. 8-3
Learner Objectives After this module, you should be able to do the following: Describe the problems when using traditional backup in virtual infrastructure. Describe solutions for backing up and restoring virtual machines that use 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 host s configuration data. 8-4
Traditional Backup Method physical server physical server backup server operating system x86 architecture backup agent (uses nearly 100 percent of server resources during backup) operating system x86 architecture backup to tape or disk network connection data to back up 8-5
Backup Challenges in Virtualized Environments traditional backup method backup server VMware vsphere 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 for other virtual machines running on that ESXi host. I/O resources like network and storage are also saturated with read and write operations during backup. 8-6
Virtual Architecture Advantages 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. 8-7
vsphere Storage APIs Data Protection VMware vsphere Storage APIs Data Protection (VADP): Enables backup and recovery of entire virtual machine images across SAN storage or local area networks Is an API that is directly integrated with backup tools from third-party vendors 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 by ESXi (Fibre Channel, iscsi, NAS, or local storage) 8-8
Offloaded Backup Processing backup server VMware vsphere mount virtual disks to backup server tape disk Configure the storage environment so that the backup server can access the 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. 8-9
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 Copy only file blocks that have changed since the last backup. Changed block tracking enables faster incremental backups and near-continuous data protection. 8-10
Data Deduplication backup 1 storage array backup 2 backup 3 unique file blocks Data deduplication has the following characteristics: Does not store twice those blocks with the same information as a previous backup Reduces 12 file blocks to 4 unique file blocks Saves storage capacity Provides faster backup performance 8-11
VMware vsphere Data Protection 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) 8-12
vsphere Data Protection Details 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 8-13
vsphere Data Protection Key Components vsphere vcenter Server vsphere VMware vsphere Web Client Virtual Machine Appliance: Linux virtual machine.ova package Easy, fast deployment vsphere Infrastructure: Changed Block Tracking VSS in VMware Tools Appliance Storage Sizes:.5 TB 1 TB 2TB vcenter Integration: Manage through Web client 8-14
VDP Architecture vcenter Server vsphere vsphere Data Protection 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 vsphere Web Client Deduplication Store (.vmdk files) 8-15
VDP Deployment and Configuration 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 8-16
Virtual Machine Backup Select objects - containers (data center, folder, clusters, and so on) and individual virtual machines 8-17
Restoring a Virtual Machine 8-18
File Level Restore (FLR) Restore individual files from backup: VMware vsphere Data Protection Restore Client: http://<vdp ip address>:8580/flr VMware Tools must be installed. Windows NTFS and Linux LVM, Ext 2, Ext 3 are supported (basic disks). View all restore points or filter by date 8-19
VDP Reporting - User Interface VDP appliance capacity Success and failures at a glance List of virtual machines, Backup Jobs, and so on, with the ability to filter Details for object 8-20
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.cfg file. 8-21
Backing Up ESXi Host Configuration Data Always back up your host configuration after installation, after changing the configuration, and after upgrading the host. ESXi configuration: Use the vicfg-cfgbackup command. This command backs up and restores the host s configuration. Run the command from VMware vsphere Command-Line Interface. 8-22
Review of Learner Objectives You should be able to do the following: Describe the problems when using traditional backup in virtual infrastructure. Describe solutions for backing up and restoring virtual machines that use 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 host s configuration data. 8-23
Key Points 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 efficient use of the backup storage. Data can be restored per virtual machine, per virtual disk, or per file. Questions? 8-24