Home

NDMP Implementation Guide for the Sun ZFS Storage

image

Contents

1. A O08 Create Client General Apps amp Modules Globals 1 of 2 Globals 2 of 2 Identity Backup Name aie7000 02 Scheduled backup v Comment Directive v Backup type Save set export orabin Virtualization Virtual client Physical host Group v Default Index Management Browse policy Month x Retention policy Year Archive Management Schedule Default v File inactivity threshold 0 Backup renamed directories File inactivity alert threshold 0 E OK Reset Cancel 8 Select Apps amp Modules Tab In the Access section enter the Remote User and Password that have been configured in the NDMP service for the Sun ZFS Storage appliance 9 In the Backup section enter the Backup command nsrndmp_save T dump then check the NDMP option box Enter NDMP array name as the name or IP address of the Sun ZFS Storage appliance 10 In the Application Section enter HIST y UPDATE y DIRECT y 25 NDMP Implementation Guide for the Sun ZFS Storage Appliance Access Remote user Password Backup backup command Ndmp v Application information HIST y 11 Select the Globals 2 of 2 tab Enter the name of the Sun ZFS Storage appliance as Storage node Setup for ZFS NDMP backups To configure EMC Legato Networker for ZFS NDMP backups enter the Save Set informatio
2. EE attributes Schedules Ea Clients Policy type Destination Data classification lt No data classification gt Policy storage isv 490b hcart2 robot tl Policy volume pool NetBackup _ Take checkpoints every minutes _ Limit jobs per policy Job priority q higher number is greater priority Media Owner Snapshot Client _ Perform block level incremental backups _ Perform snapshot backups Options E Retain snapshots for Instant Recovery C Hyper V server _ Perform off host backup Use Machine Set Maximum Jobs per Client le Backup Selections Active Go into effect at _ Follow NFS 02 03 1991 12 26 56 EZ L Cross mount points C Compress _ Encrypt Collect disaster recovery information for LJ Intelligent Disaster Recovery L Bare Metal Restore _ Collect true image restore information _ with move detection Allow multiple data streams _ Disable client side deduplication _ Enable granular recovery Keyword phrase optional Microsoft Exchange Server Attributes Database backup source E Drafa a carya IS E Am n n Preferred server list Exchange 2010 DAG only In Policy Storage unit lifecycle policy drop down menu choose the storage unit Select Allow Multiple data streams checkbox if the Backup Selection List contains 4 If configured backup policies contain multiple shares and Allow multiple
3. stream If a snapshot is indicated by the user for a given incremental level that snapshot will be used for the ZFS NDMP backup If no snapshot is indicated on the command line the NDMP service will take its own snapshot and name the snapshot according to the convention described in the Temporary Snapshot section of this paper NOTE A snapshot created by NDMP should not be used subsequently as a backup input path If it is used the backup will fail The reason for this requirement is to simplify the NDMP service s management of such snapshots For instance such snapshots are currently removed from the system based on the setting of the UPDATE variable UPDATE Behavior Each incremental backup excluding Level 0 or full requires two snapshots One with value of LEVEL 1 DMP_NAME ZFS_ MODE and one with a value of LEVEL DMP_NAME ZFS_MODE i e a current snapshot These snapshots are either user supplied or ndmpd generated When an incremental backup is done for a dataset the value of the UPDATE environment variable determines whether any previously existing snapshot with the same S LEVEL DMP_NAME ZFS_ MODE value remains accessible to the NDMP service for future backups At the start of a backup the snapshot to be used will have its property set with the value LEVEL BDMP_NAME ZFS_MODE If the property already exists such a value will be added to the existing property if it is not already present If UPDATE is y then im
4. a failure will result NDMP Implementation Guide for the Sun ZFS Storage Appliance Incremental Restore To restore an incremental backup follow these guidelines e All prior level snapshots backups will need to be applied by the administrator in addition to the specified level when a restore needs to be consistent with a given level e For LO a nonexistent dataset must be specified For L1 9 the dataset used for restoring LO must be specified If an incremental stream is received then the destination file system must already exist and its most recent snapshot must match the incremental stream s source If the administrator makes a modification to the dataset after restoring a given level and then attempts to restore the next level from backup media the attempt will normally fail because the dataset used for restore is no longer in the state required to receive the next level If this happens two options are available to the administrator Set the NDMP environment variable ZFS_FORCE or set the Rollback datasets before restore option in the NDMP Service configuration If this happens two options are available to the administrator Set the NDMP environment variable ZFS FORCE or set the Rollback datasets before restore option in the NDMP Service configuration 13 NDMP Implementation Guide for the Sun ZFS Storage Appliance Backup Application Configuration The following sections give guidance on
5. EMC Legato Networker 7 6 In addition to application specific configuration information this paper describes trade offs typical in backup topologies and offers a new method of performing NDMP backups that is available with the Sun ZFS Storage Appliance 2010 Q3 software release NDMP Implementation Guide for the Sun ZFS Storage Appliance Understanding Sun ZFS Storage Appliance platforms Sun ZFS Storage Appliances come in four platforms to meet the requirements for price performance capacity protection capabilities Sun ZFS Storage 7120 is entry level storage without read optimized flash device The other three platforms offer up to 2TB of read cache which enables many applications to be on the read cache for substantially faster response time The write flash on all the platforms is meant for providing quick response time to synchronous writes With extremely fast CPUs of up to 8 threads per core up to 32 threads are available to process the data in each appliance head The mid level appliance model Sun ZFS Storage 7320 offers 72GB of primary cache with mid high range appliance models offer up to 512GB of memory The new Sun ZFS Storage Appliances offer up to 2 5 TB of cache storage From the application s perspective this means more IOPS especially for read oriented applications TABLE 1 SUN ZFS STORAGE PLATFORMS PLATFORM STORAGE PROCESSOR MEMORY WRITE READ CLUSTER CAPACITY DRAM OPTIMZED OPTIMZED
6. OPTIONS SSD SSD Sun ZFS Up to 60 x 1 x Quad Up to Up to N A N Storage 2TB SAS Core Intel 36GB 98GB 7120 Disks Westmere 120TB EP E5620 2 4GHz Sun ZFS Up to 96 x 2 x Quad Up to Up to 16 Up to 4 x Y Storage 2TB SAS Core Intel 72GB x 18GB 512GB 7320 Disks Westmere details 192TB EP E5620 are per 2 4GHz controller Sun ZFS Upto576x 4x 6C Intel Up to Up to 96 Up to 4 x Y Storage 2TB SAS Nehalem 512GB x 18GB 512GB 7420 Disks EX E7530 details 1 1PB 1 86GHz are per Or controller 4 x 8C Intel Nehalem EX X7550 2GHz Sun ZFS Expandable 4x 8C Intel Up to 2 x 18GB Update to Y Storage Racks Nehalem 512GB per disk 4x 7720 Each Rack EX X7550 per cage 512GB 720 TB 2GHz controller per controller NDMP Implementation Guide for the Sun ZFS Storage Appliance Network Data Management Protocol NDMP Overview NDMP is an open standard protocol for network based backup of network attached storage It enables backup vendors and NAS storage vendors to work together without creating specific ports for each vendor and storage array in addition to allowing storage array vendors to have their arrays backup ready without installing extra backup client software NDMP also allows for the direct attachment of tape or robotic libraries including Virtual Tape Libraries to the storage array eliminating the need for backups to travel over a Ethernet network to a centralized backup server The Sun ZFS Storage Appliance supports NDMP
7. gt R Sun SUN ZFS a STORAGE APPLIANCE An Oracle White Paper December 2010 NDMP Implementation Guide for the Sun ZFS Storage Appliance ORACLE NDMP Implementation Guide for the Sun ZFS Storage Appliance HU Od CUOM asna e a a 1 Understanding Sun ZFS Storage Appliance platforms 2 Network Data Management Protocol NDMP Overview o 3 Sun ZFS Storage Appliance NDMP Support ooccoccccccccccoccoccccccocccaccn 3 Configuring NDMP on the Sun ZFS Storage Appliance 4 NDVI OPUON S eb to 4 Backup COMSIGCl ALON S ds 6 ATLACKING Tape DIVeOS id lis T About ZFS NDMP Backup Support isso 8 Background de 8 A A A Sade cee ec a a 8 FSA ISO OW senao e Dd e ok e E 8 Backup Application Configuration coda 14 Oracle Secure Ba kUDrsr inienn a a a a a 14 Symantec NetBackUD src tenian adrede 17 EMG Legato NetWork oons a E 23 GON GIUS ION E EEE nad SAA 28 NDMP Implementation Guide for the Sun ZFS Storage Appliance Introduction With the large number of backup configurations and applications available today it can be confusing how best to design a data protection architecture for important business data This paper describes the implementation and configuration details for Network Data Management Protocol NDMP backups on the Sun ZFS Storage Appliance using a variety of industry leading backup applications e Oracle Secure Backup 10 3 0 2 e Symantec NetBackup 7 0 e
8. versions 3 and 4 At the time of this writing most backup applications have switched to NDMP version 4 The testing in support of this document was done using NDMP version 4 sun ZFS Storage Appliance NDMP Support The Sun ZFS Storage Appliance uses and recommends NDMP for backup and restore of the data sets shares and block targets It is possible to perform backups of Network File Systems NES or Common Internet File Systems CIFS directly without the use of NDMP however this is not the preferred method NDMP offers the following advantages e Tape Drives can be attached via a Fiber Channel SAN directly to the Sun ZFS Storage Appliance for faster performance e All file system attributes permissions share settings and meta data are backed up e The NDMP service on the appliance takes an automatic snapshot to ensure consistency of data The Sun ZFS Storage Appliance supports the following NDMP topologies e Local The tape drive is connected to the appliance via Fiber Channel Backup data moves directly to the tape drive without going over an Ethernet network to a backup server This method usually provides the best performance Depending on the backup application the tape drive could be in a shared SAN environment and be made available to other appliances or even the backup server itself to perform other backups as needed e Remote The tape drive or storage device disk storage Virtual Tape library is connected to a ba
9. NDMP feature is only available with NDMP version 4 Feature Overview TYPE ZFS The ZFS send and receive functionality will be accessible in the NDMP service via a new backup type called zfs The ability to set this NDMP protocol variable TYPE zfs is backup application dependent At the time of this paper s writing the following backup applications had been tested and known to work with the TYPE zfs setting NDMP Implementation Guide for the Sun ZFS Storage Appliance e Oracle Secure Backup 10 3 0 2 and above e Enterprise Backup Software EBS Legato Networker 7 5 and above e Symantec NetBackup 6 5 3 and above Configuration examples for these three applications are given in Backup Application Configuration section of this paper Other backup applications if they are capable of changing the backup type TYPES variable at backup time may also work ZFS MODE Two types of dataset backups are available under this zfs type A dataset is a discrete NFS CIFS share or block LUN iSCSI or FC e dataset Simple backup and restore of the indicated dataset e recursive Recursive backup and restore which includes all descendant datasets but no intermediate snapshots These methods ate specified using the ZFS_MODE environment variable The default value is recursive The ability to set this NDMP variable ZFS_MODE dataset recursive is backup application dependent See the TYPE zfs section for backup ap
10. ading slash lt dataset gt Usnap For example pool_0 local myproject myfilesystem pool_0 local myproject mylun The full dataset path is displayed in the Sun ZFS Storage Appliance BUI under the General Properties tab for each NFS CIFS share or iSCSI FC LUN The leading slash 1s required As with dump tar backup types the ZFS backup method can also take backups of existing snapshots Example Snapshot backup An administrator creates a snapshot named end_of year from a dataset with a ZFS backup path of pool_0 local corporate accounting To back up this snapshot the administrator would configure the backup application to back up the path pool_0 local corporate accounting Wend_of year Temporary Snapshots If the backup path is not of a snapshot a temporary snapshot will be taken and used for backup If the NDMP environment variable UPDATE is set this temporary snapshot will replace any existing temporary snapshot for the same LEVEL DMP_NAME and ZFS_MODE configuration The next time a temporary snapshot is taken for the same LEVEL DMP_NAME and ZFS_MODE this temporary snapshot will be replaced If UPDATE is not set the temporary snapshot will be deleted immediately after backup and any existing temporary snapshot for the same LEVEL DMP_NAME and ZFS_MODE will be preserved Note that in this case it will not be possible for a subsequent incremental backup based on the current non UPDATE backup to be performed The syn
11. anges made since that snapshot will be lost This setting is normally controlled by the backup application via the ZFS_FORCE environment variable see the ZFS NDMP section later in this paper but this property can be used to override the backup application setting to aways rollback these datasets or never roll them back Not rolling them back will cause the restore to fail unless they have already been manually rolled back This property is intended for use with backup applications that do not allow administrators to configure custom environment variables like ZFS FORCE NDMP Implementation Guide for the Sun ZFS Storage Appliance DMA tape mode for locally attached drives Specifies whether the backup application expects SystemV or BSD semantics The default is SystemV which is recommended for most backup applications This option is only applicable for locally attached tape drives exported via NDMP Consult your application documentation for which mode your application expects Changing this option only changes which devices are exported when the backup application scans for devices so you will need to reconfigure the tape devices in your backup application after changing this setting Backup Considerations The NDMP service on the Sun ZFS Storage Appliance accepts both dump and tar backup requests from the backup applications These are the most common backup type requests The 2010 Q3 0 software for the Sun ZFS Storage Appliance adds a th
12. at can be backed up by this policy or the type of backups that this policy will perform on those clients TS Select the policy type TPT I il i i al al al 5 Click Add and enter hostname or IP address of Sun ZFS Storage appliance 6 In the Hardware and operating system dialog select NDMP NDMP Click Add ec kup Policy Configuration Wizard Sach AONTIQUIALIO iz Client List List all clients in this policy NetBackup will back up these clients according to the backup selection list schedules and attributes for the policy NetBackup clients must be in at least one policy and can be in more than one policy The NetBackup server is also a client for backups For easier management fill the client list with clients that have similar configurations and perform the same type of work Client Name Hardware Operating System Add f i i i i j 7 Click Close Click Next 8 Click Add enter in backup path for share Click Next 20 NDMP Implementation Guide for the Sun ZFS Storage Appliance Backup Selections Specify the files or directories to back up The backup selection list identifies the files and directories to be backed up by scheduled backups for the clients in this policy NetBackup uses the same selection list for all clients in the policy but all the files and folders do not have to exist on all clients This selection
13. ation Guide for the Sun ZFS Storage Appliance December 2011 Author Ryan Arneson Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores CA 94065 U S A Worldwide Inquiries Phone 1 650 506 7000 Fax 1 650 506 7200 oracle com O Oracle is committed to developing practices and products that help protect the environment Copyright O 2011 Oracle and or its affiliates All rights reserved This document is provided for information purposes only and the contents hereof are subject to change without notice This document is not warranted to be error free nor subject to any other warranties or conditions whether expressed orally or implied in law including implied warranties and conditions of merchantability or fitness for a particular purpose We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document This document may not be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose without our prior written permission Oracle and Java are registered trademarks of Oracle and or its affiliates Other names may be trademarks of their respective owners AMD Opteron the AMD logo and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation All SPARC trademarks are used un
14. ault NDMP user name root NDMP password set NDMP backup type dump NDMP protocol version default NDMP auth type default Algorithm aes192 Encryption policy allowed Encryption supported only with encrypting drives Rekey frequency 1 month system default Key type transparent In service yes Roles mediaserver client Trusted host yes UUID 29b36f90 8eda 102d a499 00144f9a7fb2 14 NDMP Implementation Guide for the Sun ZFS Storage Appliance Configure Storage Devices Discover the locally attached tape library and drives With the DMA Tape Mode set to BSD verify that the dev rmt device files returned are dev rmt bn ob gt discoverdev h aie7000 v Info beginning device discovery for aie7000 Info connecting to aie7000 Info devices found on aie7000 Info SL500 Iti Info dev scsi changer c t500104F000B966C3d0 attrs none Info WWN none Info SN 559000203429 Info ULTRIUM TD4 A Info dev rmt 0bn attrs norewind Info WWN none Info SN 1310204754 Info ULTRIUM TD4 EE Info dev rmt lbn attrs norewind Info WWN none Info SN 1310218075 aie7000 01 c t500104F000B966C3d0 new library WWN none new attach point on aie7000 01 rawname dev scsi changer c0t500104F000B966C3d0 aie7000 01 Obn new drive WWN none new attach point on aie7000 01 rawname dev rmt 0bn aie7000 01 1bn new drive WWN none new attach point on aie7000 01 rawname dev rmt lbn Associate the tape dri
15. ckup media server Data travels over a Ethernet Connection 1000BaseT or 10GB Ethernet recommended to the backup server e 3 Way A tape drive connected to one appliance is used to store data from another Sun ZFS Storage Appliance s backup The data travels over an Ethernet network to the appliance controlling the tape resource This is similar to a Remote backup pa NDMP Implementation Guide for the Sun ZFS Storage Appliance Additionally the following NDMP features are supported e Direct Access Recovery e Single File Restore with dump or tar methods e ZFS NDMP backup See ZFS NDMP Backup section for more details e Multi Stream Concurrent Backups e Incremental Level Support Configuring NDMP on the Sun ZFS Storage Appliance You configure the NDMP service for the Sun ZFS Storage Appliance from the Browser User Interface BUD Log in to the Sun ZFS Storage Appliance BUI Select the Configuration Service NDMP tab NDMP Options NDMP Properties Logs 2010 8 23 10 16 52 Online REVER bs DMA username for MD5 authentication admin vatic DMA password for MD5 authentication s Enable DAR direct access recovery M Ignore file metadata changes for incremental backups NDMP version Version 4 TCP port Default restore pool s poolO Rollback datasets before restore ZFS backups only Only rollback datasets if specified by DMA B DMA tape mode for locally attac
16. data streams is selected then the Global setting for Maximum jobs per client needs to be increased 1 In NetBackup Administration Console expand NetBackup Management Expand Host Properties click Master Servers 2 Double click the appropriate Master Server 3 Under Properties click Global Attributes 22 NDMP Implementation Guide for the Sun ZFS Storage Appliance In Maximum jobs per client box increase the value to at least 2 To ensure all drives are used the value should be equal to the number of tape drives connected to the appliance Click OK to finish EMC Legato Networker The following sections outlines the basic configuration steps needed to configure EMC Legato Networker for NDMP operations Further information can be found in the EMC Legato Networker Administrator Guide Configuring the Sun ZFS Storage Appliance as a Storage Node 1 La 3 4 Run jbconfig from command line of Networker host Choose Option 3 Configure an Autodetected NDMP SCSI Jukebox Enter name of Sun ZFS Storage appliance that has connection to tape library and drives Enter NDMP username and password that has been configured in the NDMP service on the Sun ZFS Storage Appliance Follow the prompts to complete discovety After the library and drives are added v a jbconfig Networker automatically performs an inventory on the library Label Tapes 1 Log into Networker Management Console 2 Choose appropriate Networker S
17. der license and are trademarks or registered trademarks of SPARC International Inc UNIX is a registered trademark licensed through X Open Company Ltd 1010 Hardware and Software Engineered to Work Together
18. erver 3 Select Networker from Managed Applications list 4 Choose Devices from top panel 5 Expand Libraries choose appropriate library 6 In far right hand panel select media to label right click choose appropriate Target Media Pool uncheck Prompt to Overwrite Existing Label select Label 23 NDMP Implementation Guide for the Sun ZFS Storage Appliance 2 Selected Slots Slot Volume Pool T lt unlabeled gt lt unlabeled gt lt unlabeled gt lt unlabeled gt Slot List Devices to use 2 Automatic Selection C Selected Devices rd aie7000 02 dev rmt 2n NDMP Target Media Pool Volume Label Bar Code Label Operation Options Prompt to Overwrite Existing Label _ Allow Manual Recycle 7 Click OK CAUTION The Prompt to Overwrite Existing Label option should only be unchecked if the administrator is certain there is no foreign labeled media in the library that needs to be preserved Add NDMP Host Log into Networker Management Console Choose appropriate Networker Server Select Networker from Managed Applications list Choose Configuration from top panel Choose Clients Click Green symbol to add new client Select General Tab In Identity section enter name or IP Address of Sun ZFS Storage appliance In Save set section enter the appropriate backup path s Se ot oS a 24 NDMP Implementation Guide for the Sun ZFS Storage Appliance
19. hed drives SystemV default Restore full absolute path for partial restore v3 only C DMA Username and DMA Password The administrator should provide a Data Management Application DMA username and DMA password This username password combination will also be used when configuring the backup application and must be consistent between the array and the application The username and password do not need to be defined on the array as a Local User nor do they need to be defined in a Directory Service such as NIS or Active Directory This username and password are used only for NDMP operations Enable DAR Enables the system to locate files by position rather than by sequential search during restore operations Enabling this option reduces the time it takes to recover a small number of files from many NDMP Implementation Guide for the Sun ZFS Storage Appliance tapes You must specify this option at backup time in order to be able to recover individual files later In most situations the default should be left on Ignore file metadata changes for incremental backups Directs the system to back up only the files in which content has changed ignoring files for which only metadata such as permissions or ownership has changed This option only applies to incremental tar and dump backups and is disabled by default Restore full absolute path for partial restore v3 only Specifies that when a file is restored the co
20. how to configure various backup applications to use the NDMP service on the Sun ZFS Storage Appliance Further details on application specifics can be found in the respective administration guides for the individual backup applications Oracle Secure Backup The following sections outlines the basic configuration steps needed to configure Oracle Secure Backup for NDMP operations Further information can be found in the Oracle Secure Backup Adminstrator s Guide The configuration steps are shown using the Command Line utility obtool Further information on obtool can be found in the Oracle Secure Backup Reference Guide Sun ZFS Storage configuration To ensure correct operations with Oracle Secure Backup and locally attached tape drives the Sun ZFS Storage Appliance should have the NDMP service setting DMA Tape Mode set to BSD This will ensure that the tape operations are correct for Oracle Secure Backup restore operations Add NDMP host To add a Sun ZFS Storage Appliance to perform normal dump backups ob gt mkhost a ndmp o r mediaserver client i 10 9 176 23 u admin B dump q aie7000 Password ES Password again RX To add a Sun ZFS Storage appliance to perform ZFS NDMP backups ob gt mkhost a ndmp o r mediaserver client i 10 9 176 23 u admin B zfs q aie7000 Password x Password again RX Verify the configuration ob gt lshost 1 aie7000 aie7000 01 Access mode NDMP IP names TOJ ATOZ NDMP port def
21. ird backup type called zfs which leverages the ZFS file system capabilities to perform backups of block targets for Fiber Channel or iSCSI as well as offer performance improvements in backing up NFS or CIFS file systems For more details on the ZFS NDMP feature see the ZFS NDMP Backup Support Section below The rest of this section will focus on the default dump tar methods of backup Backup Path The NDMP service should only be used to back up user created shares and file systems on the Sun ZFS Storage Appliance This usually entails configuring the backup application to protect shares that are exported under export Also individual shares or subdirs in shares should be selected Do not attempt to back up export by itself Correct backup paths export myshare export myshare subdir Incorrect backup paths ALL_LOCAL_DRIVES Saveset All export etc vat NDMP Implementation Guide for the Sun ZFS Storage Appliance CAUTION Trying to back up a root file system share will result in a failure and the backup will abort To perform configuration backups of the array settings network configuration local users roles service settings please see the Configuration Backup Restore feature for the Sun ZFS Storage Appliance in the Online Help It is possible to create a Project on the Sun ZFS Storage Appliance that has a mount point of export myproject All shares in that Project will inherit that base mount poin
22. led device Robot TLD 0 isv 490b SUN YTL 3 15 i Drive 1 isv 490b STK T9940B 001 STK T9940B 1 32 i Drive 2 isv 490b STK T9940B 000 STK T9940B 1 32 Standalone Drives _ Se isv 490b HP ULTRIUM3 SCSI 000 HP Ultrium 3 SCSI M66S 11 Follow wizard to add Storage Unit and complete wizard Inventory Robot 1 Open NetBackup Administration Console Expand Media and Device Management expand Devices right click Robots select Inventory Robot 18 NDMP Implementation Guide for the Sun ZFS Storage Appliance isv 490b Master Server E 1 Robots 0 selected isv 490b Master Server Robot Name Device Host Robot Type SS Backup Archive and Restore 18 TLD O isv 490b TLD E Activity Monitor NetBackup Management gt E Reports Y Policies gt j Storage Catalog o 8 Host Properties E Media and Device Management EY Device Monitor gt E Media Devices E Drives Change Server New Window from Here New Robot Inventory Robot E Crede StopRestart Media Manager Device Daemon EN Access Maragere gt El Vault Management gt A Bare Metal Restore Management 2 Select the Device Host E select the Robot 3 Click the Update Volume Configuration radio button 4 Click Start 5 If prompted to Update Volume Configuration select Yes E EMM Server lisv 490b Select robot Inventory operation Show contents Device host Compare content
23. leez3 barcode LT4000 Create Backup Dataset To create Backup Dataset for a dump backup ob gt mkds aie7000 backupl include host aie7000 include path export data0l To create Backup Dataset for a zfs backup ob gt mkds aie7000 backupl include host aie7000 include path pool 0 local hr data0l Perform a Backup ob gt backup D aie7000 backup 1 0 go 781243392 kb remaining mediainfo hw 781243392 kb remaining mediainfo hw 781243392 kb remaining mediainfo hw 781243392 kb remaining mediainfo hw Use the Isjob and the catxcr commands in obtool to monitor the backup progress Perform a Restore ob gt restore h aie7000 p 1 s latest go export data0l a export data0l restore Use the Isjob and the catxcr commands in obtool to monitor the restore progress 16 NDMP Implementation Guide for the Sun ZFS Storage Appliance Symantec NetBackup The following sections outlines the basic configuration steps needed to configure Symantec NetBackup for NDMP operations Further information can be found in the Symantec NetBackup Adminstrator s Guide as well as the Symantec NetBackup for NDMP Adminstrator s Guide Add NDMP host To configure the Sun ZFS Storage Appliance as a NDMP host Open NetBackup Administration Console Expand Master Server expand Media and Device Management expand Credentials 3 Right Click NDMP Hosts Click New 4 Enter the Fully Qualified Domain Name FQDN or IP Address f
24. list is ignored by user directed backups because in those instances the user selects the files to back up _ Back up all local drives Backup Selection List lexportiorabin exportiosh4 Change For a ZFS NDMP backup the Backup Selection List should include the variable SET TYPE zfs as the first entry Backup Selections Specify the files or directories to back up The backup selection list identifies the files and directories to be backed up by scheduled backups for the clients in this policy NetBackup uses the same selection list for all clients in the policy but all the files and folders do not have to exist on all clients This selection list is ignored by user directed backups because in those instances the user selects the files to back up _ Back up all local drives Backup Selection List SET TYPE zfs ool Ollocalloracie orabin Change 9 Set Full and Incremental configuration and click Next 10 Set Schedule and Retention and click Next 21 NDMP Implementation Guide for the Sun ZFS Storage Appliance 11 12 13 Click Finish Set Backup window settings and click Next From the NetBackup Administration Console expand NetBackup Management expand Policy and then double click on the policy you just created 14 that contains the devices attached to the appliance 15 multiple shares to back up ADO A Change Policy 7000 NDMP S Server isv 490b
25. mediately upon successful backup the current backup s snapshot will replace any existing snapshot that has the same property substring in one of two ways either the existing snapshot will be removed if NDMP service generated or its property will be cleared if user supplied If the backup fails the behavior will be the same as for UPDATE n If UPDATE is n then any existing snapshot that contains LEVEL SDMP_NAME ZFS_MODE within its property will retain that property setting and if an NDMP service generated snapshot will not be removed Instead the current backup s snapshot will be made inaccessible to future backups in one of two ways either the snapshot will be removed if NDMP service generated or its property will be cleared of the LEVEL DMP_NAME ZFS_MODE value if user supplied The default value of UPDATE is y It is expected that this is the normative value as it allows snapshots for successive LO through L8 backups to remain in the system to be used for a subsequent L 1 incremental backup An administrator might want to set UPDATE to n on an as needed basis when he wants to perform a backup without upsetting the current set of snapshots CAUTION Take care not to prematurely remove user supplied snapshots or any NDMP service generated snapshots for that matter if the UPDATE variable is set and further incremental backups are planned If you attempt an incremental backup that is dependent on a removed snapshot
26. mplete absolute path to that file is also restored instead of just the file itself This option is disabled by default NDMP version The version of NDMP that your DMA supports The default is Version 4 Most backup applications support NDMP version 4 TCP port The NDMP default connection port is 10000 NDMP version 3 always uses this port NDMP version 4 allows a different port if needed Default restore pool s When doing a full restore using types tar or dump the system will re create datasets if there is not already a share mounted at the target Because the NDMP protocol specifies only the mount point the system will by default choose a pool in which to recreate any projects and shares For a system with multiple pools specify one or more pools to restore to Multiple pools need only be specified in a cluster with active pools on each head it is the user s responsibility to make sure that this list is consistent with any storage configuration changes such as adding new pool or deleting a pool If the pools are offline or if none of the pools specified exist then the system will select a default pool at random Rollback datasets before restore ZFS backups only Only applies to zfs type backups Determines whether when restoring an incremental backup the system rolls back the target project and share to the snapshot used as the base for the incremental restore If the project and shares are rolled back then any ch
27. n in the form of a valid ZFS dataset path O Create Client General Apps amp Modules Globals 1 of 2 Globals 2 of 2 Identity Name aie7000 02 Scheduled backup Comment Directive Backup type dl Save set pool_0 local oracle orabin Virtualization Virtual client Physical host 2 Default Index Management Browse policy Retention policy Archive Management Schedule Default y File inactivity threshold Backup renamed directories File inactivity alert threshold 0 E 26 NDMP Implementation Guide for the Sun ZFS Storage Appliance Additionally make the following changes on the Apps and Modules tab 1 The Backup command should be nsradmp_save T zfs 2 The Application information section should be left empty Access Remote user Password Backup Backup command nsrndmp_save T zfs Save operations Ndmp NDMP array name Application information 27 NDMP Implementation Guide for the Sun ZFS Storage Appliance Conclusion The Sun ZFS Storage Appliance supports the industry standard Network Data Management Protocol NDMP to ensure efficient data protection for backup and recovery The Sun ZFS Storage appliance works with a variety of industry leading backup applications such as Oracle Secure Backup Symantec NetBackup and EMC Legato Networker to offer a complete solution for data protection needs 28 ORACLE NDMP Implement
28. n the appliance e The devices should be configured as single path only Multiple paths to the devices are not supported e After attaching the devices the appliance should be rebooted After the appliance boots ensure the devices are seen by the NDMP service by viewing the Status NDMP screen in the BUI DASHBOARD SETTINGS NDMP Devices 3 Total TYPE PATH VENDOR PRODUCT Robot dev scsi changer c0t500104FO00B966C3d0 STK SL500 Tape drive dev rmt Obn IBM ULTRIUM TD4 Tape drive dev rmt 1bn IBM ULTRIUM TD4 NDMP Implementation Guide for the Sun ZFS Storage Appliance About ZFS NDMP Backup Support The Sun ZFS Storage Appliance firmware release 2010 03 introduces a new NDMP backup methodology with the underlying method being ZFS send and receive This new backup method can be used to back up block based LUNs such as iSCSI or Fiber Channel and NFS CIFS filesystems Background The Sun ZFS Storage Appliance NDMP service implements the Solaris NDMP service This service provides backup and restore functionality per the NDMP protocol when used in conjunction with client DMAs The NDMP service advertises support for both the dump and tar methods of backup and restore even though both are internally implemented using ustar Additionally the existing NDMP service cannot back up block based LUNs such as Fiber Channel or iSCSI The new ZES NDMP feature enables administrators to back up LUNs via NDMP in addition to NFS CIFS
29. or the Sun ZFS Storage Appliance MD gt gt N Media and Device Management NDMP host name a q o aie o000 01 oracle com 4A 5 Click the radio button to enter the DMA Username and Password that was configured on the appliance 6 Click OK Configure Storage Devices To configure locally attached tape devices 1 Open the NetBackup Administration Console Select Media and Device Management 2 In the right window pane select Configure Storage Devices 3 Click Next in the wizard 4 Select the Master Server Click Change Enable NDMP Server click OK 5 Click Next 6 Select the NDMP Host Sun ZFS Storage Appliance added above click Next 7 Click Next when wizard is completed with scan 8 Click Next to bypass SAN Clients 9 Review results Click Next 10 Select Devices that are intended for NetBackup use click Next NDMP Implementation Guide for the Sun ZFS Storage Appliance Drag and Drop Configuration Verify that the drive configuration is correct If you need to make any changes simply drag a drive to its proper location Drives in robotic libraries should appear under their robotic library Drives not in libraries should appear under Standalone Drives Make sure drives are ordered according to how the drives are ordered in the robot Devices can be enabled and disabled by clicking the adjacent checkbox NetBackup will not make use of a disab
30. plications that have been tested and known to work Other NDMP Environment Variable There are other NDMP environment variables which you can use to control the behavior of the ZFS NDMP backup feature e LEVEL Indicates the incremental level for which the given snapshot will serve as endpoint LO indicates a full backup and L1 L9 indicate incremental backups where only changes since the last level s backup are backed up default 0 e DMP_NAME Allows a unique backup set name to be specified such that a given dataset can be backed up in more than one incremental s set at a time DMP_NAME will be validated to ensure that it includes alphanumeric characters only with the exception of the underscore and hyphen characters In addition the length of DMP_NAME will be limited to 31 characters default level UPDATE Controls how snapshots are taken default y See the UPDATE Behavior section for mote details ZFS_ FORCE Forces incremental restore default n Backup Path For zfs backup the path consists of the ZFS dataset name Note that this is in contrast to traditional backup methods that use a file system path to indicate the directory to be backed up NDMP Implementation Guide for the Sun ZFS Storage Appliance Paths specified in conjunction with the new zfs backup type will be parsed according to the following format which is the same as ZFS dataset name syntax except for the le
31. process will ignore this extension and will perform the restore as if the snapshot were not specified Note that this is dependent on whether the backup application will allow the character in the restore path If not the restore attempt may fail The advantage of this behavior is depending on the backup application it may allow the restore option Restore to original location to work transparently e g if a snapshot had been specified at backup time To mitigate any confusion however a message will be logged to backup application console and to the NDMP system log that the lt snap gt extension is being ignored NOTE Restore to original location is typically one of several options available to users with Restore to different location also available Incremental Backup A backup of a ZFS file system using Level 0 LO will generate a full ZFS NDMP backup stream This is the same as the full backup described elsewhere Levels 1 9 will generate incremental streams For a given L incremental stream to be generated an L 1 snapshot must already be present in the system This L 1 snapshot would have been generated by a prior L 1 backup Also either the user must supply an L snapshot or the NDMP service will generate its own L snapshot The NDMP service on NDMP Implementation Guide for the Sun ZFS Storage Appliance the Sun ZFS Storage Appliance will use the L 1 and L snapshots as endpoints for the incremental
32. s with volume configuration ee z Preview volume configuration changes Robot S Update volume configuration TLD 0 isv 490b M Advanced Options _ Empty media access port prior to update Results Proposed Changeis to Update the Volume Configuration Logically media 4F0000 barcode 024F0000 Logically media 4F0001 barcode 024F0001 Logically add new media 4F0002 barcode O24F0002 Logically add new media 4F0003 barcode 024F0003 Logically add new media 4F0004 barcode O24F0004 Logically add new media 4F0005 barcode O24F0005 Logically add new media 4F0006 barcode 024F0006 Logically add new media 4F0007 barcode 024F0007 Logically add new media 4F0008 barcode 024F00085 Logically add new media 4F0009 barcode 024F0009 pdating volume configuration racnessina new media added ta the rohotic lihrary hy i Clear Results 4 6 Click Close 19 NDMP Implementation Guide for the Sun ZFS Storage Appliance Create Backup Policy 1 In the NetBackup Administration Console expand NetBackup Management right click Policy click New Policy 2 Enter a name for new the policy 3 Select the Use Backup Policy Configuration Wizard checkbox click OK 4 Select Policy Type NDMP and then click Next PURILY GOnNHYU Policy Name and Type Specify the policy name and policy type Policy name 7000 NDMP The policy type determines the types of clients th
33. shares as part of the overall data protection solution Though the existing NDMP service is able to back up NFS CIES shares using tar special purpose code is required to back up underlying ZFS file system metadata ZFS send and receive on the other hand is able to handle ZFS metadata transparently In addition it has the capability of backing up ZFS descendants of the dataset including clones and snapshots It can also preserve the sparseness of a file system and volume in the backup and restore process ZFS send and receive has been demonstrated to provide superior performance over directory traversal backup restore Such a result is due to the method s block traversal algorithm and its inherent knowledge of ZFS metadata layout and pre fetching optimizations It is expected that the use of ZFS send and receive will bring about superior performance in NDMP backup restore environments without requiring significant change in infrastructure Known Limitations Current functionality of the ZFS NDMP feature does not allow the cataloging and or restore of individual files within any particular backup At this time it is not possible for a user to restore an individual directory or file that was backed up using this feature All data contained the backed up dataset must be restored Sufficient space on the Sun ZFS Storage Appliance must exist to restore the entire contents of the needed dataset prior to the restore being started NOTE The ZFS
34. t and have a mount point of export myproject mysharel export myproject myshare2 It is acceptable to create a backup that protects export myproject and all shares in that project that have the base export myproject mount point will be backed up in the same backup stream Snapshots Before a backup begins the NDMP service on the Sun ZFS Storage Appliance takes a snapshot of the share being backed up to ensure a consistent point in time image After the backup is completed this snapshot is deleted It is possible to take a backup of an existing snapshot that was created as part of a schedule or created as a manual one time snapshot To backup an existing snapshot use the ZFS snapshot path to the share Example Snapshot backup An administrator creates a snapshot named end_of_year for a share called export accounting data To back up this snapshot the administrator configures the backup application to back up the path export accounting_data zfs snapshot end_of_year Since the snapshot is already in a read only consistent state the NDMP service does not create a separate backup snapshot and the existing snapshot is used as the data source for the backup Attaching Tape Drives The Sun ZFS Storage Appliance supports attaching Tape Libraries and Tape Drives via the optional Fiber Channel adapters Normal Storage Area Network SAN configuration best practices should be followed to connect these devices and the fiber ports o
35. tax for the naming of this snapshot is as follows NDMP Implementation Guide for the Sun ZFS Storage Appliance ndmp 0 level r 1279023238 107462 ndmp LEVEL DMP_NAME ZFS_MODE lt timestamp gt ndmp indicates that this snapshot was generated by the NDMP service 0 indicates that this is a Level 0 full backup level is the default DMP_NAME r indicates a recursive backup as indicated by ZFS_MODE other values could be d for dataset The rest of the string is a system generated timestamp Restore Path The restore name should be of the form lt dataset gt lt snap gt For example pool_0 local myproject myfilesystem restore As with the backup path the restore dataset name should adhere to standard ZFS dataset name syntax When restoring from a full backup the specified dataset name must not exist To fulfill this requirement the administrator might need to first remove or rename any dataset with a duplicate name If the dataset does exist the restore will fail and an error message will be logged to the backup application NOTE All components except for the final component in the restore path must already exist prior to the restore For example if pool_0 local myproject myrestore is specified as the nonexistent dataset to be used for restore pool_0 local myproject must already exist prior to the restore operation or an error will result If a snapshot name is specified at restore time the restore
36. ve s with the tape library ob gt chd t library o aie7000 c0t500104F000B966C3d0 ob gt chd t tape o d 1 1 aie7000 c0t500104F000B966C3qd0 aie7000 01 0bn ob gt chd t tape o d 2 1 aie7000 c0t500104F000B966C3qd0 aie7000 01 1bn ob gt lsdev library aie7000 c0t500104F000B966C3d0 in service drive 1 aie7000_0bn in service drive 2 aie 000 lbn in service Inventory the library and label the tapes The example labels the first 4 tapes ob gt inventory L aie7000 c t gt 00104F000B966C3d0 ob gt l1lsvol L aie7000 c t gt 00104F000B966C3d0 inventory of library ale7000 c0t500104F000B966C300 T ale barcode LT4016 in oe barcode LT4005 in 33 barcode LT4006 ac 4 barcode LT4007 in du barcode LT4015 in TOS barcode LT4008 in Iil barcode LT4009 in TIS barcode LT4017 15 NDMP Implementation Guide for the Sun ZFS Storage Appliance in To barcode LT4018 in 233 barcode LT4019 ai ieel barcode LT4002 10 1ee2 barcode LT4001 in 1ee3 barcode LT4000 Ob Mabel vol D aie 7000 0bm f ka ob gt lsvol L aie7000 cOt500104F000B966C3d0 Inventory of library aire 000 01 cot500104F000B966 3d0 in les barcode LT4016 encryptable in 23 barcode LT4005 encryptable in EE barcode LT4006 encryptable in 4 barcode LT4007 encryptable in 9 barcode LT4015 in KOR barcode LT4008 rn es barcode LT4009 in L7 barcode LT4017 in Les barcode LT4018 in Aon barcode LT4019 in Leeds barcode LT4002 1 lee2 barcode LT4001 in

Download Pdf Manuals

image

Related Search

Related Contents

Data processor  AMS-210E MANUAL DE INSTRUCCIONES (ESPANOL)  120 Volt USDW-M Matting System Installation Manual  Lavadoras - Amazon Web Services  Philips Fidelio SoundBar Home theater HTL9100  取扱説明書 PDF - KYOCERA Connector Products  Grundig WORLD RECEIVER Stereo System User Manual  Marshall electronic MD-0514 User's Manual  Harbor Freight Tools 92122 Landscape Lighting User Manual  

Copyright © All rights reserved.
Failed to retrieve file