Sunday, 16 February 2014

Vmware Data Recovery



Vmware Data Recovery:

VDR - vMware Data Recovery
.OVF – Open virtual machine formats 

What is vMware Data Recovery
1.   A new VMware virtualization - Specific Backup and Recovery application for vSphere 5.
2.   Backup and restore ESXi guest virtual machines.

Why do we need VDR?
1.   It is not efficient to backup VMs with traditional backup apps.
2.   Functions needed
·            Recognition of VI/vCenter
·            Understand Advanced virtual features
·            De-duplication Block-level
·            Insight in to VMDKs for file restores.

·      VDR is available in all versions except Essential Kit

Creating a Backup destination
1.         Local and network
     Local backup is best performance but data will be in VMDK
2.         Network share is best option to get data out of VMFS.
Local
Network
1 TB Limit
500 GB Limit







FC Storage:
Fiber channel storage devices house physical hard drives that make up RAID groups from which logical unit numbers, or Luns are carved

A Lun- A Lun is a logical allocation of storage space carved from a set of underlying physical drives that make up a RAID group.

Zoning:
·         Zoning is the process of allowing ESXi hosts to communicate with a storage device through the fiber channel switch.
·         Zones configured in FC switch define what HBA can connect to what SP and what LUN
·         ESX/ESXi fully supports SAN multipathing.

SAN
NAS
Block level Access
File level Access
RAW format
Pre formated


        


Installing VMware Data Recovery?
·      Unzip the Appliance & the plugin
·      Import the Appliance
·      Install the Plugin & restart vSphere client
·      Configure the VDR appliance to recognize your vCenter & VI


Creating a Backup Destination - Local and Network

Creating a VDR Backup Job - step by step
·      Virtual Machines
·      Destination
·      Backup Window
·      Retention Policy

The Gotchasof VMware Data Recovery
·      Ideal for SMB (< 100 VM)
·      Have a few jobs as possible
·      Run backups during the day, if possible
·      All VMs should have VMware Tools Installed


The Gotchasof VMware Data Recovery
·         Limited to 100 VM guests
·         Limited to 2 backup destinations simultaneously
·         Limited to 500GB of de-dup data in backup destination
·         Limited to 8 VMDKs at once


The Gotchas of VMware Data Recovery
·     ESX host CPU must be < 80%
·     Must have 5GB free space on datastore per VM
·    All VMs should be HW version 7 to use block tracking
·     Like VMs should go to same datastore.

Checking Backup Job Status
The Reports tab is where it's at
 Checkout:
    Events
    Running
    Virtual Machines
    Warnings and Errors
    VDR Log File under Config Tab

Recovering / Restoring an ESX Guest VM
·  You can restore an individual VMDK
·  You can restore a VM to a different name (no overwrite)
·  You can restore with no network or power

Storage
·   “vSphere provides host-level storage virtualization, which logically abstracts the physical storage layer from virtual machines.” - VMware FC Documentation
·   VMs not aware
·   VM use virtual disks
·   VD's can be managed easier
·   VMs use virtual SCSI controllers to see VD
·   Each VM, through the SCSI controller, can access VMFS datastore, NFS datastore, or raw disk (RDM).
·   VMFS is the VMware File System, a specialized virtualization clustered FS - providing distributed locking
·   VM's VDs are stored in VMFS Datastores
·   VMFS could be local, iSCSI, or FC




Storage
·   Centralized Storage is required for advanced features of vSphere like VMotion, VMHA, FT, and DRS
·      Most of the time, that centralized storage is a SAN
·      SAN could be iSCSI or Fibre Channel (FC)
·      A FC SAN packages SCSI commands into FC frames
·      Servers connect to the SAN using HBA
·      HBA connect to FC switch
·      FC switch connects to storage processor (SP)
·      Zones configured in the FC switch define what HBA can connect to what SP and what LUN
·      ESX/ESXi fully support SAN multipathing





Understanding iSCSI Storage
·         iSCSI (Internet SCSI) is sending SCSI disk commands and data over a TCP/IP network
·         Why use it?
o    Low cost
o    Use existing hardware - Ethernet NIC, switch, and OS features
o    Supports almost all vSphere features

Understanding iSCSI Storage
·   Downside - performance? Reliability?
·   iSCSI Terms:
ü iSCSI hardware initiator -a special iSCSI NIC card
ü iSCSI software initiator - use your own NIC card and OS iSCSI software
ü iSCSI Target - the server running iSCSI


Understanding iSCSI Storage
·      iSCSI uses IQN (iSCSI qualified name) to identify iSCSI Targets & Initiators
·      It is laid out in this format:
ü date in year-month format
ü reversed domain
ü a unique org assigned name (ie: hostname)
ü For example: 2007-oi.com.wiredbraincoffee:iscsii


Why you need a Storage Area Network (SAN)
·      Justification for a SAN with vSphere:
§  Maintenance with zero downtime
§  Load balancing with VMotion & SvMotion
§  Storage consolidation and central management
§  Disaster Recovery
§  Simple Array migrations and storage upgrades
§  Use of advanced features like HA, FT, DRS, and DPM
§  Datastore = a VMware file system / logical volume - can be NFS or VMFS and can be located on any supported storage - where your VMs are stored
§  Disk partition = an area on a disk set aside for a datastore
§  Extent = a disk area that can be added to a datastore
§  Fibre Channel (FC) = high speed storage technology with FC HBA, FC switch, FC SP, and disk
§  Internet SCSI (iSCSI) = SCSI over TCPIP, server is initiator and storage is the target
§  LUN (logical unit number) = an address used to identify a SCSI disk

§  Multipathing / Failover = allows you to use  more than 1 path, offers failover & redundancy
§ NAS (network attached storage) = networked disk storage, ESX uses NFS on NAS
§ NFS (network file system) = a file sharing protocol used with ESX server (and Unix/Linux)
§  Raw device mapping (RDM) = a special type of storage disk where ESX controls disk access
§  Spanned Volume = a dynamic volume spread across number of extents
§  Volume = a disk volume - a logical storage unit

What is in a Datastore
§  Virtual disk
§  Virtual memory
§  VM configuration file
§  ESX Server service console VMDK
§  Log files
§  Core Dumps
§  Anything you add, like an ISO file

ESX Server Storage Options
·      Local Disk with VMFS Datastore
·      SAN
ü  iSCSI Software
ü    iSCSI Hardware
ü    Fibre Channel (FC)
·      NAS
ü  NFS

No comments:

Post a Comment