Sunday, August 30, 2009

How Snapvault Works in Netapp

1 comment:

  1. Why Snap Vault software used in netapp

    netapp SnapVault provides a fast, centralized, and cost-effective disk-to-disk backup solution by replicating Snapshot™ copies to inexpensive secondary storage.

    The complete copy of data set is pulled across the network to snapvault Secondary filer.

    The intial backup is duplicating Whole source data to Secondary filer,this will take some time.

    When initial bakcup is completed Snap vault secondary stores the data in WAFL file system and creates snapshot image of that data.The new snapshot is created each time backup performed.

    Snap vault backed up a 100GB data set for the first time,it would consume 100GB of Disk Space.Over the several user made changes around 10 GB data set.when next snap vault backup occurs next is created new 10 Snapshot image.Now we have two snapshot image and total space is occupied 110GB.

    Snapshot is a read only,point-in time version of entire volume.

    when you use snap vault start command,it create snapshot on the volume containing the qtree you wish to backup.
    The snap vault primary will read image of the qtree from this snapshot and transfer to secondary snap vault.

    Each time snap vault incremental backup occurs primary compared current snapshot image and previous snapshot image,which data block changed that has to be sent secondary snap vault.

    IMp:

    Snap vault doesn't transfer snapshot,it only transfer the data with in the snapshot.

    How to Configure Snapvault in Two filer:

    Snapvault commands

    Initial step to setup Snapvault backup between filers is to install snapvault license and enable snapvault on all the source and destination filers.

    Source filer – filer1

    filer1> license add XXXXX
    filer1> options snapvault.enable on
    filer1> options snapvault.access host=svfiler

    Destination filer – svfiler

    svfiler> license add XXXXX
    svfiler> options snapvault.enable on
    svfiler> options snapvault.access host=filer1

    Manually disable scheduled snapshots on the destination volumes. The snapshots will be managed by Snapvault.

    svfiler> snap sched demo_vault 0 0 0

    Creating Initial backup:

    Initiate the initial baseline data transfer (the first full backup) of the data from source to destination before scheduling snapvault backups. On the destination filer execute the below commands to initiate the base-line transfer

    svfiler> snapvault start -S filer1:/vol/datasource/qtree1 svfiler:/vol/demo_vault/qtree1

    Creating backup schedules:

    snapvault schedules have to be created for incremental backups on Source Filer.

    et us create the schedules on source as below - 2 hourly, 2 daily and 2 weekly snapvault . These snapshot copies on the source enables administrators to recover directly from source filer without accessing any copies on the destination

    filer1> snapvault snap sched datasource sv_hourly 2@0-22
    filer1> snapvault snap sched datasource sv_daily 2@23
    filer1> snapvault snap sched datasource sv_weekly 2@21@sun

    On Destination Filer:


    svfiler> snapvault snap sched -x demo_vault sv_hourly 6@0-22
    svfiler> snapvault snap sched -x demo_vault sv_daily 14@23@sun-fri
    svfiler> snapvault snap sched -x demo_vault sv_weekly 6@23@sun

    If you don’t use the -x option, the secondary does not contact the primary and transfer the Snapshot copy. It just creates a snapshot copy of the destination volume.

    Restoring data : Restoring data is as simple as that, you have to mount the snapvault destination volume through NFS or CIFS and copy the required data from the backup snapshot.

    ReplyDelete