1、NetAppxClusteredDataONTAP8.2DataProtectionTapeBackupandRecoveryGuideNetApp, Inc.495 East Java Drive Sunnyvale, CA 94089 U.S.Part number: 215-07965-A0May 2013Telephone:+1(408)822-60Fax:+1(408)822-4501Supporttelephone:+1(888)463-8277Web:Feedback:doccommentsContentsTapebackupofFIexVoIvolumesandInfinite
2、Volumes8TapebackupandrestoreworkflowforFlexVolvolumes8TapebackupandrestoreworkflowforInfiniteVolumes9Understandingtapedrives11Whatqualifiedtapedrivesare11Formatofthetapeconfigurationfile12Howthestoragesystemqualifiesanewtapedrivedynamically14Whattapedevicesare14Tapedevicenameformat15Supportednumbero
3、fsimultaneoustapedevices16Whattapealiasingis17Whatphysicalpathnamesare17Whatserialnumbersare18Considerationswhenconfiguringmultipathtapeaccess19Howtoaddtapedrivesandlibrariestostoragesystems19Whattapereservationsare20Managingtapedrives21Commandsforviewingtapedriveinformation21Usinganonqualifiedtaped
4、rive22Assigningtapealiases23Removingtapealiases24Enablingordisablingtapereservations24Commandsforverifyingtapelibraryconnections25UnderstandingNDMPforFIexVoIvolumes27AboutNDMPmodesofoperation27ConsiderationswhenusingNDMP28Whatenvironmentvariablesdo29EnvironmentvariablessupportedbyDataONTAP29CommonND
5、MPtapebackuptopologies39SupportedNDMPauthenticationmethods40WhatenhancedDARfunctionalityis4041ScalabilitylimitsforNDMPsessionsRtanagingnode-scopedNDMPmodeforFIexVoIvolumesCommandsformanagingnode-scopedNDMPmode42Node-scopedNDMPmodeoptions43Userauthenticationinanode-scopcdNDMPmode46ManagingVserverawar
6、eNDMPmodeforFIexVoIvolumes47CommandsformanagingVserverawareNDMPmode48VserverawareNDMPmodeoptions49NDMPextensionssupportedbyDataONTAP53WhatClusterAwareBackupextensiondoes53Availabilityofvolumesandtapedevicesforbackupandrestoreondifferent1.IFtypes53Whataffinityinformationis54Whatprcfcrred-interface-ro
7、leis55NDMPdataconnectiontypes56UserauthenticationinaVserverawareNDMPmode57GeneratinganNDMP-specificpasswordforNDMPusers57UnderstandingdumpengineforFIexVoIvolumes59Howadumpbackupworks59Whatthedumpenginebacksup60Whatincrementchainsarc61Whattheblockingfactoris62Howadumprestoreworks62Whatthedumpenginere
8、stores63Considerationsbeforerestoringdata64Scalabilitylimitsfordumpbackupandrestoresessions65TapebackupandrestorebetweenDataONTAP7-ModcandclusteredDataONTAP65Howdumpbacksupdatafromavaultdestinationvolume66HowdumpworkswithSFOandARL66Howdumpworkswithvolumemovementoperation67Monitoringtapebackupandrest
9、oreoperationsforFIexVoIvolumes68Accessingtheeventlogfiles68Whatthedumpandrestoreeventlogmessageformatis69Whatloggingeventsare69Whatdumpeventsare69Whatrestoreeventsare70Enablingordisablingeventlogging71ErrormessagesfortapebackupandrestoreofFIexVoIvolumes.72Backupandrestoreerrormessages72Resourcelimit
10、ation:noavailablethread72Tapereservationpreempted72Couldnotinitializemedia72Toomanyactivedumps/restorescurrentlyinprogress73Mediaerrorontapewrite73Tapewritefailed73Tapewritefailed-newtapeencounteredmediaerror73Tapewritefailed-newtapeisbrokenorwriteprotected73Tapewritefailed-newtapeisalreadyattheendo
11、fmedia73Tapewriteerror74Mediaerrorontaperead74Tapereaderror74Alreadyattheendoftape74Taperecordsizeistoosmall.Tryalargersize74Taperecordsizeshouldbeblock-sizelandnotblocksize275Taperecordsizemustbeintherangebetween4KBand256KB75NDMPerrormessages75Networkcommunicationerror75MessagefromReadSocket:error-
12、string75MessagefromWriteDimet:error-string75ReadSocketreceivedEOF76ndmpdinvalidversionnumber:version_numbcr76ndmpdsessionsessionIDnotactive76CouldnotobtainvolrefforVolumevolumename76DataconnectiontypeNDMP4_ADDR_TCPTNDMP4_ADDR_TCPPv6”notsupportedforIPv6IPv4,controlconnections76DATALISTEN:CAB_DATA_CON
13、N_PREPAREnotsentoraddrtypemismatch77DATACONNECT:CAB_DATA_CONN_PREPAREnotsentoraddrtypemismatch77Errorishowfailed:Cannotgetpasswordforuser,77Dumperrormessages78Destinationvolumeisread-only78Destinationqtreeisread-only78Dumpstemporarilydisabledonvolume,tryagain78Nofileswerecreated78Unabletolockasnapsh
14、otneededbydump78Unabletolocatebitmapfiles79Volumeistemporarilyinatransitionalstate79TapebackupandrestoreofInfiniteVolumes80ProtocolsfortapebackupandrestoreOfInfiniteVolumes80TapebackuptopologytouseforInfiniteVolumes81HowstorageclassesaffecttapebackupofInfiniteVolumes81Understandingincrementaltapebac
15、kupofInfiniteVolumesusingSnapDiffandSnapshotcopies81WhatSnapDiffis81SnapDiffsupportforbackupapplications82GuidelinesforusingLIFswithSnapDiff82WhatSnapshotcopiesyoushouldbackuptotape82Whatanamespacemirrorconstituentis83Whennamespacemirrorconstituentsarecreated83HowmodifyinganInfiniteVolumeaffectsname
16、spacemirrorconstituents84HownamespacemirrorconstituentsaffectthestateofanInfiniteVolume85Howaggregatesareselectedfornamespacemirrorconstituents86Spaceandnoderequirementsfornamespacemirrorconstituents87HowthefilesystemsizesettingforanInfiniteVolumeaffectsSnapDifF.88SettingupincrementaltapebackupofInf
17、initeVolumes88VerifyingspacerequirementsinanInfiniteVolumeforSnapDiffresources(clusteradministratorsonly)89EnablingSnapDiffonanInfiniteVolume91SelectingaSnapshotcopyofanInfiniteVolumeforSnapDifftouse93Creatingabaselineforincrementaltapebackup93SettingupincrementaltapebackupofdestinationInfiniteVolum
18、es95TransferringaSnapshotcopytothedestinationInfiniteVolume95Creatingabaselineforincrementaltapebackup96IncremcntallybackingupchangedfilesfromanInfiniteVolumetotape97RestoringfilesfromtapeforanInfiniteVolume98RcenablingSnapDiffafterexpandingadestinationInfiniteVolumeontonewnodes98DisablingSnapDifffo
19、ranInfiniteVolume100Copyrightinformation102Trademarkinformation103Howtosendyourcomments104Index105TapebackupofFIexVoIvolumesandInfiniteVolumesForFlexVolvolumes,DataONTAPsupportstapebackupandrestorethroughtheNetworkDataManagementProtocol(NDMP).ForInfiniteVolumes,DataONTAPsupportstapebackupandrestoret
20、hroughamountedvolume.InfiniteVolumesdonotsupportNDMP.Thetypeofvolumedetermineswhatmethodtouseforbackupandrecovery.TapebackupofFIexVoIvolumesusingNDMPNDMPallowsyoutobackupstoragesystemsdirectlytotape,resultinginefficientuseofnetworkbandwidth.ClusteredDataONTAPsupportsdumpenginefortapebackup.DumpisaSn
21、apshotcopy-basedbackuptotape,inwhichyourfilesystemdataisbackeduptotape.TheDataONTAPdumpenginebacksupfiles,directories,andtheapplicableaccesscontrollist(ACL)informationtotape.Youcanbackupanentirevolume,anentireqtree,orasubtreethatisneitheranentirevolumenoranentireqtree.Dumpsupportslevel-0,differentia
22、l,andincrementalbackups.YoucanperformadumpbackuporrestorebyusingNDMP-compliantbackupapplications.StartingwithDataONTAP8.2,onlyNDMPversion4issupported.TapebackupofInfiniteVolumesusingamountedvolumeYoucanbackupandrestoreInfiniteVolumesusinganydatamanagementapplicationthatcanbackupfilesoveravolumemount
23、edwiththeNFSorCIFSprotocolsandthatsupportsSnapDiff.However,youcannotbackuporrestoreInfiniteVolumeswithNDMP.RelatedconceptsUnderstandingNDMPforFIexVolvolumesonpage27UnderstandingdumpengineforFlexVolvolumesonpage59TapebackupandrestoreofInfiniteVolumesonpage80TapebackupandrestoreworkflowforFIexVoIvolum
24、esYoucanperformtapebackupandrestoreoperationsbyusinganNDMP-enablcdbackupapplication.Theworkflowprovidesanoverviewoftasksthatareinvolvedinperformingtapebackupandrestoreoperations.Thehigh-leveltasksthatarerequiredtoperformatapebackupandrestoreoperationareasfollows:1. Setupatapelibraryconfigurationchoo
25、singanNDMP-supportedtapetopology.2. EnableNDMPservicesonyourstoragesystem.YoucanenabletheNDMPserviceseitheratanodelevelorataVserverlevel.ThisdependsupontheNDMPmodeinwhichyouchoosetoperformatapebackupandrestoreoperation.3UseNDMPoptionstomanageNDMPonyourstoragesystem.YoucanuseNDMPoptionseitheratanodel
26、evelorataVsen,erlevel.ThisdependsupontheNDMPmodeinwhichyouchoosetoperformatapebackupandrestoreoperation.4.PerformatapebackuporrestoreoperationbyusinganNDMP-enabledbackupapplication.ClusteredDataONTAPsupportsdumpenginefortapebackupandrestore.Formoreinfbnationaboutusingthebackupapplication(alsocalledD
27、ataManagementApplicationsorDMAs)toperformbackuporrestoreoperations,seeyourbackupapplicationdocumentation.RelatedconceptsUnderstandingdumpengineforFlexVolvolumesonpage59RelatedreferencesCommonNDMPtapebackuptopologiesonpage39Node-scopedNDMPmodeoptionsonpage43VserverawareNDMPmodeoptionsonpage49Tapeback
28、upandrestoreworkflowforInfiniteVolumesYoucanperformincrementaltapebackupandrestoreoperationsforanInfiniteVolumemountedwiththeNFSorCIFSprotocolbyusingaSnapDiFTsupportedbackupapplication.Theworkflowprovidesanoverviewoftasksrequiredforincrementaltapebackupandrestoreoperations.Note:InfiniteVolumesdonots
29、upportNDMP.YoucanincrementallybackupthedatainInfiniteVolumestotapeandrestorethedatafromtapeusinganybackupapplication(alsocalledDataManagementApplicationsorDMAs)thatmeetsthefollowingrequirements:SupportsSnapDiffBacksupandrestoresdataoveravolumemountedwiththeNFSorCIFSprotocolNote:TheSnapDiffAPImustbec
30、onfiguredfortheInfiniteVolume.Thehigh-leveltasksthatarerequiredtosetupanduseincrementaltapebackupforInfiniteVolumesareasfollows:1. SetupatapelibraryconfigurationtomeettherequirementsspecifiedbythebackupapplicationforavolumemountedwiththeNFSorCIFSprotocol.Formoreinfbnationabouttapelibraryrequirements
31、forthebackupapplication,seeyourbackupapplicationdocumentation.2. ConfigurethebackupapplicationtobackupthemountedInfiniteVolume.3. SetupincrementaltapebackupofInfiniteVolumes:a. VerifyspacerequirementsintheInfiniteVolumeforSnapDiffresources.b. EnableSnapDiffontheInfiniteVolume.c. SelectaSnapshotcopyo
32、ftheInfiniteVolumeforSnapDifTtouse.d. ConfigureSnapDifftousetheSnapshotcopy.e. BackupalldataintheInfiniteVolumetocreateabaselineforSnapDifTtouseinthefuture.Formoreinformationaboutusingthebackupapplicationtoperformbackupoperations,seeyourbackupapplicationdocumentation.4. BackuponlychangedfilesintheIn
33、finiteVolumeforeachsubsequenttapebackup:a. UseabackupapplicationtorequestfromSnapDiffalistofchangedfilesintheInfiniteVolumesincethelasttapebackup.b. Useabackupapplicationtobackupthechangedfilestotape.5. Restorefilesfromtapebyusingthebackupapplication.Formoreinfbnationaboutusingthebackupapplicationto
34、performrestoreoperations,seeyourbackupapplicationdocumentation.RelatedconceptsUnderstandingincrementaltapebackupofInfiniteVolumesusingSnapDiffandSnapshotcopiesonpage81TapebackuptopologytouseforInfiniteVolumesonpage8111UnderstandingtapedrivesYoumustuseaqualifiedtapedrivethathasbeentestedandfoundtowor
35、kproperlyonastoragesystem.Youcanfollowtapealiasingandalsoenabletapereservationstoensurethatonlyonestoragesystemaccessesatapedriveatanyparticulartime.WhatqualifiedtapedrivesareAqualifiedtapedriveisatapedrivethathasbeentestedandfoundtoworkproperlyonstoragesystems.Youcanaddsupportfortapedrivestoexistin
36、gDataONTPreleasesbyusingthetapeconfigurationfile.YoucandownloadthetapeconfigurationfilefromtheNetAppSupportSite.Youcanviewtheinstructionsrequiredtodownloadthetapeconfigurationfile,addsupporttoDataONTAPforatapedrivethatwasqualiedafterthereleaseoftheDataONTPversion,andviewthecurrentlistofsupportedtape
37、drivesattheNetAppSupportSite.Onlyqualifiedtapedrivesarelistedinthetapequalificationlist.Thetapelibrariesarenotlisted.Forexample,thetapelibraryIBMTS35OOisnotlisted.However,theIBMLTO4tapedrivesthattheIBMTS3500containsarelisted.Youcanviewinformationaboutqualiedandnonqualifiedtapedrives,tapelibraries,an
38、dtapedriveconnectionstothestoragesystem.RelatedtasksUsinganonqualifiedtapedriveonpage22RelatedreferencesCommandsforviewingtapedriveinformationonpage21Commandsforverifyingtapelibraryconnectionsonpage25RelatedinformationDataProtection-SupportedDevices:FormatofthetapeconfigurationfileThetapeconfigurati
39、onfileformatconsistsoffieldssuchasvendorID,productID,anddetailsofcompressiontypesforatapedrive.Thisfilealsoconsistsofoptionalfieldsforenablingtheautoloadfeatureofatapedriveandchangingthecommandtimeoutvaluesofatapedrive.Thefollowingtabledisplaystheformatofthetapeconfigurationfile:IItemSizeDescription
40、vendorid(string)upto8bytesThevendorIDasreportedbytheSCSIinquirycommand.product_id(string)upto16bytesTheproductIDasreportedbytheSCSIInquirycommand.id_match_size(number)ThenumberofbytesoftheproductIDtobeusedformatchingtodetectthetapedrivetobeidentified,beginningwiththefirstcharacteroftheproductIDinthe
41、Inquirydata.vendor_pretty(string)upto16bytesIfthisparameterispresent,itisspecifiedbythestringdisplayedbythenodeshellcommand,sysconfig-v,orsysconfig-t;otherwise,INQVENDORIDisdisplayed.product_pretty(string)upto16bytesIfthisparameterispresent,itisspecifiedbythestringdisplayedbythenodeshellcommand,sysc
42、onfig-v5orsysconfig-t;otherwise,INQPRODUCTIDisdisplayed.Note:Thevendor_prettyandproduct_prettyfieldsareoptional,butifoneofthesefieldshasavalue,theothermustalsohaveavalue.Thefollowingtableexplainsthedescription,densitycode,andcompressionalgorithmforthevariouscompressiontypessuchas,1,m,h,anda:ItemSize
43、Description(1ImIhIa_description=(string)(1ImIhIa)_density=(hexcodes)upto16Thestringtoprintforthenodeshellbytescommand,sysconfig-tthatdescribescharacteristicsoftheparticulardensitysetting.ThedensitycodetobesetintheSCSImodepageblockdescriptorcorrespondingtothedesireddensitycodefor1,m,h,ora.Thefollowin
44、gtabledescribestheoptionalfieldsavailableinthetapeconfigurationfile:IFieldDescriptionautoload=(Booleanyesno)Thisfieldissettoyesifthetapedrivehasanautomaticloadingfeature;thatis,aftertapecartridgeisinserted,thetapedrivebecomesreadywithouttheneedtoexecuteaSCSIload(start/stopunit)command.Thedeiultforth
45、isfieldisno.cmd_timeout_OxIndividualtimeoutvalue.Usethisfieldonlyifyouwanttospecifyadifferenttimeoutvaluefromtheonebeingusedasadefaultbythetapedriver.ThesamplefileliststhedefaultSCSIcommandtimeoutvaluesusedbythetapedrive.Thetimeoutvaluecanbeexpressedinminutes(m),seconds(s),ormilliseconds(ms).Note:Yo
46、ushouldchangethisfieldonlywithguidancefromtechnicalsupport.Item Size1 m h a_algorithm=(hex codes)DescriptionThe compression algorithm to be set in the SCSI Compression Mode Page corresponding to the density code and the desired density characteristic.Todownloadandviewthetapeconfigurationfile,gototheNetAppSupportSite.ExampleofatapeconfigurationfileformatThetapeconfigurationfileformatfortheHPLTO5ULTRIUMtapedriveisasfollows:VendOGii=HPproduct_id=Ultrium5-SCS,id_matcb_size=9vendor_prettHewlett-Packardproduct_pretty=,LT0-5I-