200 likes | 380 Views
Data Protection. Module 10. You Are Here. vSphere Environment. Operations. Introduction to VMware Virtualization. Access Control. VMware ESX and ESXi. Resource Monitoring. VMware vCenter Server. Data Protection. Networking. Scalability. Storage. High Availability. Virtual Machines.
E N D
Data Protection Module 10
You Are Here vSphere Environment Operations Introduction to VMware Virtualization Access Control VMware ESX and ESXi Resource Monitoring VMware vCenter Server Data Protection Networking Scalability Storage High Availability Virtual Machines Patch Management Installing VMware ESX and ESXi VMware vSphere 4.1: Install, Configure, Manage – Revision A
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, it is important to take regular backups of your vSphere environment. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Module Objectives • Describe the strategy for backing up a host’s configuration data • Describe a strategy for backing up virtual machines • Describe solutions for backing up virtual machines • Use VMware Data Recovery to back up and restore a virtual machine VMware vSphere 4.1: Install, Configure, Manage – Revision A
Backing Up Host Configuration Data Always back up your host configuration after installation, after changing the configuration, and after upgrading the host. VMware®ESXi configuration: • Use the vicfg-cfgbackup command. • This command backs up and restores the host’s configuration. • Run from vSphere Command-Line Interface. VMware ESX™ service console: • Several backup agents are supported. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Backing Up Virtual Machines Store application data in separate virtual disksfrom system images. Use full virtual machine backups for system images. • The alternative is to redeploy from template. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Backup Solutions for Virtual Machines VMware provides these solutions for backing up your virtual machines: • Third-party backup software that uses the VMware vStorage APIs for Data Protection • Data Recovery VMware vSphere 4.1: Install, Configure, Manage – Revision A
vStorage APIs for Data Protection vStorage APIs for Data Protection: • Allows 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 ESX/ESXi (Fibre Channel, iSCSI, NAS, or local storage) VMware vSphere 4.1: Install, Configure, Manage – Revision A
Data Recovery Backup-and-recovery appliance: • Agentless, disk-based backup-and-recovery virtual appliance: • Linux-based Based on the vStorage APIs for Data Protection Integrated with VMware vCenter Server: • VMware vSphere Client plug-in Supports up to ten appliances per vCenter Server instance: • Supports up to 100 virtual machines per appliance Intended for small- to medium-sized environments host host vCenter Server VMware vSphere 4.1: Install, Configure, Manage – Revision A
Data Recovery Components vSphere Client with Data Recovery clientplug-in vCenter Server virtual machines to back up(installed with VSS or other quiescing tool) Data Recovery appliance deduplication storage host host VMware vSphere 4.1: Install, Configure, Manage – Revision A
Deduplication Store A deduplication store: • Is the appliance’s backup storage: • A virtual disk on a VMwarevStorage VMFS or NFS datastore • A raw device mapping (RDM) • A Common Internet File System (CIFS) share • Checks to see whether identical backup data has already been saved VMDKs or RDMs are recommended over CIFS shares. Deduplication store technology completes three processes: • Integrity check – Verifies and maintains data integrity of backup store • Recatalog – Synchronizes restore points with contents of backup store • Reclaim – Reclaims space on the backup store Data Recovery deduplication store(backup storage) VMware vSphere 4.1: Install, Configure, Manage – Revision A
Data Recovery Requirements Deduplication store requirements: • Limit of two deduplicated stores per appliance • Per store: up to 1TB for VMDK or RDM. Up to 500GB for CIFS. Provide storage space equal to the amount of used disk space on all virtual machines being protected. Networking requirements: • Ensure that ports 80, 443, 22024, and 902 are open. • Ensure that DNS names can be resolved. Ensure that virtual machines backed up by Data Recovery are appropriately licensed. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Installing and Configuring Data Recovery • Install the client plug-in. • Install the backup appliance. • Add a hard disk to the backup appliance. Installation: Configuration: • Power on the appliance and change the root password. • Configure network settings, and reboot the appliance if necessary. • Connect the appliance to vCenter Server. • Configure the backup destination (deduplication store or CIFS share) on the appliance. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Creating a Backup Job Use the client plug-in to create a backup job. A backup job requires the following information: • Virtual machines to back up: • Individual virtual machines, virtual machines in a datacenter, on a particular host, in a certain folder • Backup destination: • Deduplication store or CIFS share • Backup window: • Default window: every night Monday through Friday, any time on Saturday and Sunday • Retention policy (length of time that backups are preserved): • Predefined (few, more, many) or custom A maximum of eight backup jobs can run simultaneously. Backup jobs can back up 100 virtual machines total. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Restoring a Virtual Machine When restoring a virtual machine, you can perform a restore rehearsal or an actual restore. • Restore to most recent backup rehearsal: • A way to ensure that virtual machine backups are created correctly and that they can be successfully restore • Restore: • Actual restore of a virtual machine to a selected previous state Both types of restore jobs require: • Source selection: • Virtual machines and virtual disks to restore • Destination selection: • Original or different location of the virtual machine • Reconfiguration options: • Whether to connect the network interface card (NIC), whether to power on the virtual machine VMware vSphere 4.1: Install, Configure, Manage – Revision A
File Level Restore File Level Restore provides a way to access individual files within restore points for virtual machines. • For example, you can create two copies of a file to compare versions. The FLR client can be installed in Windows or Linux virtual machines and requires administrator privileges. • FLR is not supported for use on physical machines. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Lab 17 • In this lab, you will use Data Recovery to back up and recover a virtual machine. • Install the Data Recovery plug-in. • Modify the Data Recovery virtual appliance. • Do the initial setup of the Data Recovery appliance. • Create a backup job. • Create a restore job. • Prepare for the next lab. VMware vSphere 4.1: Install, Configure, Manage – Revision A
Module Summary • Describe the strategy for backing up a host’s configuration data • Describe a strategy for backing up virtual machines • Describe solutions for backing up virtual machines • Use Data Recovery to back up and restore a virtual machine VMware vSphere 4.1: Install, Configure, Manage – Revision A
Key Points • Data Recovery is an agentless, 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. VMware vSphere 4.1: Install, Configure, Manage – Revision A