Novell Open Enterprise Server 11 SP3 Administration Guide

  • Hello! I am an AI chatbot trained to assist you with the Novell Open Enterprise Server 11 SP3 Administration Guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
www.novell.com/documentation
Novell Distributed File Services
Administration Guide
Open Enterprise Server 11 SP2
January 2014
Legal Notices
Novell,Inc.,makesnorepresentationsorwarrantieswithrespecttothecontentsoruseofthisdocumentation,andspecifically
disclaimsanyexpressorimpliedwarrantiesofmerchantabilityorfitnessforanyparticularpurpose.Further,Novell,Inc.,
reservestherighttorevisethispublicationandtomakechangestoitscontent,at
anytime,withoutobligationtonotifyany
personorentityofsuchrevisionsorchanges.
Further,Novell,Inc.,makesnorepresentationsorwarrantieswithrespecttoanysoftware,andspecificallydisclaimsany
expressorimpliedwarrantiesofmerchantabilityorfitnessforanyparticularpurpose.Further,Novell,Inc.,reservestheright
to
makechangestoanyandallpartsofNovellsoftware,atanytime,withoutanyobligationtonotifyanypersonorentityof
suchchanges.
AnyproductsortechnicalinformationprovidedunderthisAgreementmaybesubjecttoU.S.exportcontrolsandthetrade
lawsofothercountries.Youagreeto
complywithallexportcontrolregulationsandtoobtainanyrequiredlicensesor
classificationtoexport,reexportorimportdeliverables.YouagreenottoexportorreexporttoentitiesonthecurrentU.S.
exportexclusionlistsortoanyembargoedorterroristcountriesasspecifiedintheU.S.
exportlaws.Youagreetonotuse
deliverablesforprohibitednuclear,missile,orchemicalbiologicalweaponryenduses.SeetheNovellInternationalTrade
ServicesWebpage(http://www.novell.com/info/exports/)formoreinformationonexportingNovellsoftware.Novellassumes
noresponsibilityforyourfailuretoobtainanynecessaryexportapprovals.
Copyright©2007‐2014
Novell,Inc.Allrightsreserved.Nopartofthispublicationmaybereproduced,photocopied,stored
onaretrievalsystem,ortransmittedwithouttheexpresswrittenconsentofthepublisher.
Novell, Inc.
1800 South Novell Place
Provo, UT 84606
U.S.A.
www.novell.com
OnlineDocumentation:ToaccessthelatestonlinedocumentationforthisandotherNovellproducts,seetheNovell
DocumentationWebpage
(http://www.novell.com/documentation/oes11).
Novell Trademarks
ForNovelltrademarks,seetheNovellTrademarkandServiceMarklist(http://www.novell.com/company/legal/trademarks/
tmlist.html).
Third-Party Materials
Allthirdpartytrademarksarethepropertyoftheirrespectiveowners.
Contents 3
Contents
About This Guide 9
1 Overview of Distributed File Services 11
1.1 Benefits of DFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1.1 Data Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
1.1.2 Backup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.1.3 Data Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.2 DFS Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
1.2.1 DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.2.2 Volume Location Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
1.2.3 VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.4 VLDB Service Replica Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
1.2.5 DFS Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
1.2.6 Move Volume Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
1.2.7 Split Volume Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
1.2.8 DFS Management Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
1.3 Services and Components Used by DFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
1.3.1 Novell Storage Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.3.2 NCP Server and NCP Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
1.3.3 Novell Storage Management Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
1.3.4 eDirectory DClient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.3.5 JetStream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4 Examples of DFS Management Contexts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
1.4.1 A Single DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.4.2 Multiple DFS Management Contexts in Different Subtrees. . . . . . . . . . . . . . . . . . . . . . . . .21
1.4.3 Multiple DFS Management Contexts in the Same Subtree . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.5 What’s Next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2 What’s New or Changed in Distributed File Services (DFS) 27
2.1 What’s New (OES 11 SP2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
2.2 What’s New (OES11 SP1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
2.3 What’s New (OES11). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
3 Installing and Configuring Novell Distributed File Services 29
3.1 Requirements for OES 11 SP2 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
3.1.1 Novell Storage Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.1.2 Novell Storage Management Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
3.1.3 Novell eDirectory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
3.1.4 SLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.1.5 Novell Linux User Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
3.1.6 NCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
3.1.7 File Access Protocols (NCP, CIFS, Samba) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
3.1.8 Novell iManager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
3.1.9 Novell Logical Volume Management System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2 Installing DFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.3 Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.3.1 Upgrading from OES to OES 11 SP2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
3.4 Enabling DFS Junction Support for CIFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
4 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
3.4.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
3.4.2 Enabling DFS Support CIFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
3.5 What’s Next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4 Clustering Novell Distributed File Services 37
4.1 Guidelines for Using DFS in a Cluster Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
4.1.1 Guidelines for Using DFS Junctions in a Cluster Environment . . . . . . . . . . . . . . . . . . . . . .37
4.1.2 Guidelines for Using DFS Move and Split in a Cluster Environment. . . . . . . . . . . . . . . . . .37
4.1.3 Guidelines for Clustering the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.2 Clustering the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.3 Modifying VLDB Settings in the Cluster Load Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
5 Business Continuity Clustering Novell Distributed File Services 43
5.1 Guidelines for Enabling DFS Using BCC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
5.2 BCC Enabling the VLDB Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
6 Migrating DFS from NetWare to OES 11 SP2 47
6.1 Migration Issues for DFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
6.1.1 Caveats for Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
6.1.2 Caveats for Protocol Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
6.1.3 Caveats for Mounting NSS Volumes on Different Servers . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.1.4 Caveats for Migrating Data with the OES 11 SP2 File System Migration Tool . . . . . . . . . .50
6.2 Planning Your Migration in a DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.2.1 Supported Migration Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
6.2.2 System Credential Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
6.2.3 Supported Migration Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
6.3 Migrating the DFS VLDB Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
6.3.1 Prerequisites for Migrating the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
6.3.2 Migrating a VLDB Service by Adding It as a Replica Site . . . . . . . . . . . . . . . . . . . . . . . . . . 52
6.4 Migrating NSS Volumes with the DFS Move Volume or Split Volume Task . . . . . . . . . . . . . . . . . . . 54
7 Running DFS in a Virtualized Environment 57
7.1 Guidelines for Managing DFS in a Virtualized Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
7.2 Guidelines for Using DFS Junctions in a Virtualized Environment. . . . . . . . . . . . . . . . . . . . . . . . . . .57
7.3 What’s Next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8 Management Tools for DFS 59
8.1 Novell iManager and DFS-Related Plug-Ins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
8.1.1 Installing the DFS-Related Plug-Ins in iManager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
8.1.2 Accessing iManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.1.3 Accessing Roles and Tasks in iManager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.1.4 Selecting a Server to Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
8.1.5 Distributed File Services Plug-In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
8.1.6 Storage Plug-In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
8.1.7 Files and Folders Plug-In. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
8.1.8 SFCB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
8.2 DFS Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
9 Planning for DFS 67
9.1 Guidelines for Combining Platforms, Volumes, and Protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9.1.1 Supported Combinations for Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Contents 5
9.1.2 Supported Combinations for Moving Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
9.1.3 Supported Combinations for Splitting Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
9.2 Guidelines for DFS Management Contexts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
9.3 Guidelines for VLDB Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
9.4 Guidelines for Junctions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
9.4.1 Junction Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
9.4.2 Junction Target Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
9.4.3 Junction Target Directory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
9.4.4 Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
9.5 Guidelines for Using DFS with Encrypted NSS Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
9.5.1 Creating DFS Junctions on Encrypted NSS Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
9.5.2 Moving or Splitting Encrypted NSS Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
9.6 Guidelines for Moving or Splitting NSS Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
9.6.1 Choosing Source and Destination Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
9.6.2 Preparing the DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
9.6.3 Requirements for OES 11 SP2 Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
9.6.4 Prerequisites for Trustees and Trustee Rights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
9.6.5 Moving Volumes that Use the Upgraded Media Format for Enhanced Hard Links . . . . . . .75
9.6.6 Moving or Splitting in a Cluster Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
9.6.7 Moving or Splitting in a Dynamic Storage Technology Environment. . . . . . . . . . . . . . . . . .75
9.7 Guidelines for Managing Move Volume or Split Volume Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
9.8 Guidelines for Using DFS and Novell Dynamic Storage Technology. . . . . . . . . . . . . . . . . . . . . . . . .76
9.8.1 DFS and DST Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
9.8.2 Using DFS Junctions in a DST Shadow Volume. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
9.8.3 Moving and Splitting Volumes in a DST Shadow Volume . . . . . . . . . . . . . . . . . . . . . . . . . .77
9.9 Guidelines for DFS and Volume Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
9.10 Guidelines for Using DFS with Novell Archive and Version Services . . . . . . . . . . . . . . . . . . . . . . . .77
9.11 Guidelines for Using DFS and Nearline Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
10 Managing VLDB Services 79
10.1 Creating a DFS Management Context. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
10.2 Deleting a Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
10.3 Managing Replica Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
10.4 Starting or Activating the VLDB Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
10.4.1 Using iManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
10.4.2 Using Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
10.5 Specifying Non-Default VLDB Database Paths on Replica Sites. . . . . . . . . . . . . . . . . . . . . . . . . . . .83
10.6 Stopping the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
10.6.1 Using iManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
10.6.2 Using Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
10.7 Monitoring the Health of the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
10.7.1 Using iManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
10.7.2 Using Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
10.8 Viewing VLDB Service Details for a Replica Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
10.9 Adding a Replica Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
10.10 Removing a Replica Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
10.11 Viewing a List of Volume Entries in the VLDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
10.12 Adding a Volume Entry to the VLDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
10.13 Deleting a Volume Entry from the VLDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
10.14 Repairing the VLDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
11 Managing DFS Junctions 93
11.1 Understanding DFS Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
11.1.1 Junction Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
6 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
11.1.2 Trustee Rights for the Junction and Target Locations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
11.2 Prerequisites and Guidelines for DFS Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
11.3 Creating a DFS Junction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
11.4 Modifying a DFS Junction Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
11.5 Modifying the Junction Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
11.6 Modifying the Target Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
11.7 Adding or Deleting Trustees for the Junction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
11.8 Adding or Deleting Trustees for the Junction Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
11.9 Modifying Trustee Rights for the Junction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
11.10 Modifying Trustee Rights for the Junction Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
11.11 Viewing a DFS Junction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
11.12 Deleting the Junction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
11.13 Salvaging or Purging Deleted Junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
11.13.1 Guidelines for Deleted Junctions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
11.13.2 Salvaging a Deleted Junction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
11.13.3 Purging Deleted Junctions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
12 Using DFS to Move NSS Volumes 105
12.1 Prerequisites for Moving an NSS Volume with DFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
12.1.1 Planning the Move Volume Job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
12.1.2 Preparing the DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
12.1.3 Preparing the Source Server and Volume. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106
12.1.4 Preparing the Destination Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
12.2 Moving an NSS Volume with DFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
13 Using DFS to Split NSS Volumes 111
13.1 Prerequisites for Splitting an NSS Volume with DFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111
13.1.1 Planning the Split Volume Job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
13.1.2 Preparing the DFS Management Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111
13.1.3 Preparing the Source Server and Directory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
13.1.4 Preparing the Destination Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
13.2 Splitting a Volume with DFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
14 Managing Move Volume or Split Volume Jobs 117
14.1 Monitoring the Status of Move Volume or Split Volume Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
14.1.1 Understanding the Job Status Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
14.1.2 Viewing the Volume Job Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
14.2 Pausing a Move or Split Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
14.3 Resuming a Move or Split Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
14.4 Rescheduling a Move or Split Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
14.5 Viewing Files Skipped by a Move or Split Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
14.6 Finishing a Move or Split Job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
14.7 Deleting a Move or Split Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
14.8 Troubleshooting Move or Split Job Failures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
14.8.1 Failed: (No Reason Specified). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.2 Failed: Could Not Start Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.3 Failed: File Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.4 Failed: File Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.5 Failed: Invalid Original Server’s NSS Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
14.8.6 Failed: Invalid Target Server’s NSS Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.7 Failed: Log File Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
14.8.8 Failed: Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
14.8.9 Failed: No Management Context. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Contents 7
14.8.10 Failed: Wrong Management Context. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
15 Troubleshooting DFS 127
15.1 Adding Replica Site to the New Management Context Fails with an eDirectory -603 error. . . . . . .127
15.2 NetStorage Does Not Resolve a DFS Junction If Both OES 11 SP2 and NetWare VLDB
Replicas are Present in a Management Context.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128
15.3 DFS may not function properly after upgrading NSS on OES 2 and later.. . . . . . . . . . . . . . . . . . . .128
15.4 Cannot Delete DFS Management Context by Using iManager . . . . . . . . . . . . . . . . . . . . . . . . . . . .128
15.5 Cannot Re-Create a DFS Management Context on a Container. . . . . . . . . . . . . . . . . . . . . . . . . . .129
15.6 Errors Using DFS on an Upgraded OES 11 Server or Later . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
15.7 Junctions Are Broken After a Volume Object Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130
15.8 Junctions Are Broken After Deleting and Re-Creating an NCP Volume . . . . . . . . . . . . . . . . . . . . .130
15.9 Move Volume or Split Volume Job Fails to Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131
15.10 Users Cannot See Directories or Files on the Target Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
15.11 VLDB Stops Working After Renaming the O or OU Container for a DFS Management Context. . .131
15.12 The State of a Move Volume or Split Volume Job in a Cluster Environment is Scheduled . . . . . . .131
16 Security Considerations 133
16.1 VLDB File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
16.2 TCP Port 6901 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
16.3 Move and Split Job Crash Persistence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
16.4 Creating DFS Junctions on Encrypted NSS Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
16.5 Moving or Splitting Encrypted NSS Volumes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
16.6 ~DFSINFO.8-P File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
A DFS Commands and Utilities 135
A.1 VLDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
A.1.1 Managing the VLDB Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
A.1.2 Managing VLDB Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
A.1.3 Repairing the VLDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
A.1.4 Hidden VLDB Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
A.2 VOLMN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
B DFS Modules 139
B.1 DFS VLDB Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
B.2 DFS Volume Manager Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
B.3 DFS Remote Procedure Calls Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
B.4 DFS Library Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
B.5 JetStream Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
C Error Code List 141
D Documentation Updates 145
D.1 January 2014 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
D.1.1 What’s New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
D.1.2 Clustering Novell Distributed File Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
D.1.3 Managing VLDB Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
D.2 August 2012 (OES 11 SP1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
D.2.1 What’s New . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
D.2.2 Error Code List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
8 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
About This Guide 9
About This Guide
ThisdocumentdescribeshowtoconfigureandmanageNovellDistributedFileServicesforNovell
StorageServices(NSS)volumesonaNovellOpenEnterpriseServer(OES)11SP2server.
Chapter 1,“OverviewofDistributedFileServices,”onpage 11
Chapter 2,“What’sNeworChangedinDistributedFileServices(DFS),”onpage 27
Chapter 3,“Installing
andConfiguringNovellDistributedFileServices,”onpage 29
Chapter 4,“ClusteringNovellDistributedFileServices,”onpage 37
Chapter 5,“BusinessContinuityClusteringNovellDistributedFileServices,”onpage 43
Chapter 6,“MigratingDFSfromNetWaretoOES11SP2,”onpage 47
Chapter 7,“RunningDFSinaVirtualizedEnvironment,”onpage 57
Chapter 8,“ManagementToolsforDFS,”
onpage 59
Chapter 9,“PlanningforDFS,”onpage 67
Chapter 10,“ManagingVLDBServices,”onpage 79
Chapter 11,“ManagingDFSJunctions,”onpage 93
Chapter 12,“UsingDFStoMoveNSSVolumes,onpage 105
Chapter 13,“UsingDFStoSplitNSSVolumes,onpage 111
Chapter 14,“ManagingMoveVolumeorSplitVolumeJobs,”onpage 117
Chapter 15,“Troubleshooting
DFS,”onpage 127
Chapter 16,“SecurityConsiderations,”onpage 133
Appendix A,“DFSCommandsandUtilities,”onpage 135
Appendix B,“DFSModules,onpage 139
Appendix C,“ErrorCodeList,”onpage 141
Appendix D,“DocumentationUpdates,”onpage 145
Audience
Thisguideisintendedfornetworkadministrators.Chapter 16,“SecurityConsiderations,”on
page 13 3describeskeysecurityissuesforsecurityadministrators.
Feedback
Wewanttohearyourcommentsandsuggestionsaboutthismanualand theotherdocumentation
includedwiththisproduct.PleaseusetheUserCommentfeatureatthebottomofeachpageofthe
onlinedocumentation.
Documentation Updates
ForthemostrecentversionoftheNovellDistributedFileServicesAdministrationGuide,seethelatest
NovellOpenEnterpriseServer11documentation(http://www.novell.com/documentation/oes11/
index.html).
10 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
Additional Documentation
ForinformationaboutDFSXMLoptions,seetheNovellDeveloperKit:VirtualFileServices(http://
developer.novell.com/documentation/vfs/v fs__enu/data/bktitle.htm l).
ForinformationaboutOES11SP2servicesreferencedinthisguide,seethefollowing:
NetIQeDirectory8.8SP8AdministrationGuide
OES11SP2:NCPServerforLinuxAdministrationGuid e
OES11SP2:NovellCIFSfor
LinuxAdministrationGuide
OES11SP2:NovellSambaAdministrationGuide
ForinformationaboutusingDFSonNetWare6.5servers,seetheNW6.5SP8:NovellDistributedFile
ServicesAdministrationGuide.
1
Overview of Distributed File Services 11
1
Overview of Distributed File Services
NovellDistributedFileServices(DFS)fortheNovellStorageServices(NSS)filesystemprovides
locationtransparencyoffiledatatoendusers.WithDFS,youcancreateasinglevirtualfilesystem
fordataonNSSvolumesthatspansmultiplemachinestomaximizetheuseandperformanceof
storageresources.
Section 1.1,“BenefitsofDFS,”onpage 11
Section 1.2,“DFSComponents,”onpage 12
Section 1.3,“ServicesandComponentsUsedbyDFS,”onpage 18
Section 1.4,“ExamplesofDFSManagementContexts,”onpage 19
Section 1.5,“What’sNext,”onpage 26
1.1 Benefits of DFS
NovellDistributedFileServiceshelpsyoumodifytheunderlyingphysicalorganizationofdataon
NSSvolumestomaximizetheuseandperformanceofavailablestorageresources.
Section 1.1.1,“DataDistribution,”onpage 11
Section 1.1.2,“Backup,”onpage 12
Section 1.1.3,“DataMigration,”onpage 12
1.1.1 Data Distribution
DFSpreservesthelogicalfileorganizationfromtheuserperspectivebymaintainingaVolume
LocationDatabase(VLDB)forallvolumesinaDFSmanagementcontext.WhenyoumoveanNSS
volumetoanewvolumeinadifferentpool,theVLDBhelpsredirectqueriestothenewlocation.
Whenyousplit
anNSSvolumetorelocateadirectory’sdatatoanewlycreatedNSSvolume,DFS
placesajunctionfileinplaceofthedirectoryatthesourcelocation.Thejunctioncontainsahintabout
thedestinationlocat ionofthedata.Whenauserattemptstoaccessthedata,DFSuses
that
informationtolookupthelocationofthedestinationvolumeintheVLDB,thenautomatically
redirectsqueriessothatthesessionconnectioncanbemadetransparentlyfromtheuser’spointof
viewbygoingdirectlytothedata.Aftertheconnectionismade,thejunctionitselfisnolonger
involved
inthesession.
UsingjunctionsandtheVLDBeliminatestheuser’sneedtoknowthepathtothephysicallocationof
thedata.Notonlydoesitdecreaseadministrationcostsbyallowingyoutomoveavolumetoa
differentserverwithoutmakinganyannouncementsorneedingtoreeducateusers,but
italso
simplifiesthenumberofpathsauserneedstorememberifthedataisspreadamongdifferent
volumesorservers.
Forexample,ifJohn’sdataislocatedonserversX,Y,andZ,youcancreatejunctionsonserverXthat
pointtoallofhisdataon
serversYandZ.Thatway,Johnonlyneedstorememberthepathtoserver
X,becausewithjunctions,itappearsasifthedataisalllocatedinoneplace.
12 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
1.1.2 Backup
DFSprovidesasolutiontothecommonproblemofstoragevolumesgrowingtoobigtobackup
withinthedesiredorrequiredtimeperiod.Atoo largevolumecanbesplitinto two(ormore)
volumes,andtheresultingvolumesbackedupseparatelyasrequired.Youcansplitavolumeat
any
directorytoanewNSSvolumewithoutchangingthelogicalpathtofiles.Youandyouruserscan
continuetousethelogicalpathswhenmappingnetworkdrivesorcreatingloginscripts.The
physicallocationofdatacanchangeovertime,andthatchangeiscompletelytransparenttothe
end
user.
1.1.3 Data Migration
DFScanalsoprovide amigrationpathforcustomersmovingNSSvolumesfromNetWare6.5toOES
11SP2.TheMoveVolumetaskforDFScanbe usedonaNetWareservertomovefiledataonanNSS
volumetoatargetNSSvolumeoranNCPvolumeonan
OES11SP2server.Thisallowsyouto
graduallymovedatatoanOES11SP2environment,withoutcommittingtoaturnkeychangeof
operatingenvironment.Foranexample,seeChapter 6,“MigratingDFSfromNetWaretoOES11
SP2,”onpage 47.
1.2 DFS Components
Section 1.2.1,“DFSManagementContext,”onpage 12
Section 1.2.2,“VolumeLocationDatabase,”onpage 14
Section 1.2.3,“VLDBService,”onpage 15
Section 1.2.4,“VLDBServiceReplicaSites,”onpage 15
Section 1.2.5,“DFSJunctions,”onpage 15
Section 1.2.6,“MoveVolumeJobs,”onpage 16
Section 1.2.7,“SplitVolumeJobs,”onpage 17
Section 1.2.8,“DFSManagementTools,”onpage 18
1.2.1 DFS Management Context
DFSoperateswithinamanagementcontext.ThemanagementcontextisapreexistingOorOU
containerthatyouchoosefromyourNovelleDirectorytree.Whenyoudefinethemanagement
context,twoattributesareaddedtotheOorOUcontainerobjectthatyousel ect:
DFSVLD B Hosts:Amultiplevaluedattribute
thatcontainsthedistinguishednamesoftheone
ortwoserversthathosttheVLDBservicereplicaforthismanagementcontext.
VLDBBackEndID:Thenameofthebackenddatabasepluginforthismanagementcontext.
Currently,thisis
vdqad
,andthepluginisnotmodifiable.
ThepresenceoftheseattributesiswhatindicatestotheDFSsoftwarethatthe containerisaDFS
managementcontext.
ThemanagementcontextcanhaveoneortwoVolumeLocationDatabaseservicesreplicas.The
serversthathostreplicasoftheVLDBservicecan
existanywhereinthemanagementcontext,as
shownbelow.
Overview of Distributed File Services 13
Figure 1-1 ASingleDFSManagementContext
MultiplemanagementcontextscanbedefinedinasingleeDirectorytree.Themanagementcontexts
functionindependently.Ifthemanagementcontextsaredefinedindifferentsubtrees,addingand
removingoneofthecontextshasnoeffectontheotherone.Ifamanagementcontextisdefinedata
differentlevelinthe
tree,thehigherlevelmanagementcontextdoesnotincludethesubtreeofthe
lowerlevelmanagementcontext,asshownbelow.Eachmanagementcontextisresponsibleforonly
thosevolumesthatareinitssubtreebut arenotinalowerlevelmanagementcontext.
example_tree
company
west east
mgmt serversservers legalusers dev
svr201
svr202
svr1
grp1
user1
patents servers
svr51
svr52
birch
elm
oak
DFS Management Context
west.company
DFS VLDB Services Replica
svr52.servers.legal.west.company
DFS VLDB Services Replica
svr2.servers.west.company
svr2
14 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
Figure 1-2 MultipleDFSManagementContextsintheSameSubtree
Foranexplanationofthesemanagementcontextsandformoreexamples,seeSection 1.4,“Examples
ofDFSManagementContexts,”onpage 19.
1.2.2 Volume Location Database
TheVolumeLocationDatabaseprovidesamappingofthephysicallocationofallvolumeswithina
DFSmanagementcontextthathaveanobjectinNovelleDirectory.Typically,thisincludesNSS
volumesandNCPvolumes.Whenyoucreateamanagementcontext,DFSwalksthesubtreetolocate
theVolumeobjectsforNSS
volumestoaddanentrytotheVLDB.
EachvolumehasaDFSGUID(globallyuniqueidentifier)thatjunctionsusewhentargetinga
volume.WheneveryoucreateanNSSvolume,NSSautomaticallycreatesaDFSGUIDforthe
volume,andwritesitasanattributeoftheVolumeobject.In
ordertoallowaVLDBrepairtocorrect
theinformationineDirectoryiftheVolumeobjectislost,thevolume’sDFSGUIDisalsostoredinthe
~DFSINFO.8-P
fileintherootdirectoryofthevolume.ForanNCPvolumeonLinuxthatmightbea
junctiontarget,theDFSGUIDisgeneratedbyDFSwheneveryouaddthevolumeentrytotheVLDB
orifyourunaVLDBrepair.TheNCPvolume’sDFSGUIDonlyexists
intheeDirectoryVolume
object;the
~DFSINFO.8-P
filedoesnotexistonanNCPvolume.DFSautomaticallygeneratesaDFS
GUIDforaVolumeobjectonlyiftheDFSGUIDdoesnotexistintheVolumeobjectorinthe
~DFSINFO.8Pfile.IftheeDirectoryVolumeobjectforanNCPvolumeislost,VLDBrepairgenerates
anewDFSGUIDforthatvolume.
TheVLDBtracksvolumesonthefollowingplatformsinitsmanagementcontext:
OES11SP2
OES11SP1
example_tree
company
west east
mgmt serversservers legalusers dev
svr201
svr202
svr1
grp1
user1
patents servers
svr51
svr52
birch
elm
oak
DFS VLDB Services Replica
svr52.servers.legal.west.company
DFS VLDB Services Replica
svr2.servers.west.company
svr2
DFS Management Context
west.company
DFS Management Context
legal.west.company
Overview of Distributed File Services 15
OES2
NetWare6.5
AnyvolumethathasaVolumeobjectintheOorOUcontainerbelongstothemanagementcontext,
unlessthevolumebelongstoamanagementcontextthatisdefinedatalowerlevelinthecontainer.
NSSautomaticallycreatesaVolumeobjectineDirectorywhenyou
createavolumewithNSStools.
NCPServerautomaticallycreatesaVolumeobjectineDirectorywhenyoucreatetheNCPsharefor
anNCPvolume(anNCPshareonaLinuxPOSIXvolume).
1.2.3 VLDB Service
TheVolumeLocationDatabaseserviceprovidestheframeworkforlocatingvolumesinthe
managementcontext.ManagingtheVLDBserviceinvolvesthecreation,daytodaymanagement,
maintenance,andrepairoftheVLDB.
1.2.4 VLDB Service Replica Sites
AreplicasiteistheserverthathostsaninstanceoftheVLDBserviceanditsVLDBfileforaDFS
managementcontext.Eachmanagementcontexthasoneortworeplicas.Thereplicascanbeonany
combinationofoperatingplatformsthatsupportDFS.Theserverscanbeatthesame
levelorbelow
themanagementcontextintheeDirectorytree,buttheymustnotbeinalowerlevelDFS
managementcontext.
Whentworeplicasitesaredeployedforthemanagementcontext,eachinstanceoftheVLDBservice
isanequalreplicathatautomaticallysynchronizesitsdatawiththeotherreplica
site.Thetwo
instancesexchangedatabases(theentiredatabase,notjustthechanges)anytimeachangeismadeto
aninstance.Uponreceiptoftheotherreplicaʹsdatabase,eachreplicamergesthereceiveddatabase
withitsown,determiningwhichentrieshavebeenadded,deleted,ormodified.
UsetheDistributed
FileServices>ManageReplicaSitestaskiniManagertoconfigurereplicasites,
monitortheirstatus,andrepairtheVLDBasneeded.Youcanalsomanagethe VLDBservicefromthe
serverconsolewithVLDBcommands.
1.2.5 DFS Junctions
ADFSjunctionisalogicalplaceholderfordatathatisstoredonad i fferentNSSvolume.Onejunction
pointstoonlyonetargetlocation.Ajunctionisavirtualdirectorythatpointstotherootofatarget
NSSvolume.Insomeconfigurations,thejunctioncanpointtoasubdirectory
onthetargetvolume.
Fordetails,seeSection 9.1.1,“SupportedCombinationsforJunctions,”onpage 67.
TheDFSjunctionstorestheDFSGUIDofthetargetvolume,notitsphysicallocation.Thisallows
volumestobemovedwithoutrectifyingthe changeineveryjunction.TheVLDBcontains
informationaboutthephysicallocation
ofvolumes.Whenthejunctionreceivesaquery,DFSaware
client(NovellClient,NovellCIFSserver,orNetStorage)presentsthetargetDFSGUIDtotheVLDB
togetthephysicallocationofthevolume,andthequeryistr ansparentlyredirectedtothetarget
location.
Totheuser,aDFSjunctionappears
tobeanormalsubdirectory;onlyitsdirectorypropertiesidentify
itasajunction.Userscancontinuetoaccesstheirdatawithoutmodifyingthefamiliarlogicalpaths.
DFSsupportsjunctionsforNSSvolumes.ThejunctioncanbelocatedanywhereinthesourceNSS
volume,includingtherootofthevolume.Multiple
levelsofjunctionsareallowedwhenajunction
pointstotherootofatargetvolumeandthefileaccessprotocolsupportsmultiplelevelsofjunctions.
Fordetailsofsupportedrelationships,seeSection 9.1,“GuidelinesforCombiningPlatforms,
Volumes,and Protocols,”onpage 67.
16 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
Ajunctioncanpointtoatargetlocationonthefollow ingtypesofvolumesthatareinthesameDFS
ManagementContext.Fileaccessiscontrolledbyfilesystemtrusteesandtrusteerights:
NSSvolumes
Thesourceserverandtargetservermusthavethesamecommunicationprotocolconfiguredfor
fileaccess,
suchasNCPtoNCP,NetWareCIFStoNetWareCIFS,NovellCIFS toNovellCIFS,or
NetWareCIFStoSamba.
IMPORTANT:SambadoesnotsupportDFSjunctionsthemselves,soifthetargetvolume
containsjunctions,theydonotwork.
NCPvolumes(NCPsharesonLinuxPOSIXvolumes)
ThisrequirestheNCPServertoberunningonthesourceandtargetservers.
Targetvolumescanresideonthefollowingoperatingsystems:
OES11SP2
OES11SP1
OES2
NetWare6.5
WhenyousplitanNSS
volume,DFScopiesthedatatoanewlycreatedvolume,createsajunctionto
replacethedirectory,anddeletesallcontentbelowthatpointintheoriginalvolume.Forinstructions
onhowtosplitavolume,seeChapter 13,“UsingDFStoSplitNSSVolumes,onpage 111.
Youcanalsocreate
ajunctionmanually.Thefollowingtablesdescribetherulesformanuallycreating
junctions.
Table 1-1 RulesforManuallyCreatingJunctions
1.2.6 Move Volume Jobs
AMoveVolumejobhelpsyoutodothefollowing:
MoveanNSSvolumetoanewlycreatedNSSvolumeinadifferentpoolthathasspaceavailable
orthatisexpandable.
MoveNSSvolumestodifferentserversinthesameDFSmanagementcontexttobalance
associatedtrafficandworkload
acrossmultipleservers.
MovedatabetweenvolumesfasterthanwithanormalcopybecauseitusesNovellStorage
ManagementServicestotransferthedata.
UsetheMoveVolumetaskintheStorageplugintoiManagertodefineMoveVolumejobs.
Source Volume
Source Volume’s DFS
Management Context
Target Volume
Target Volume’s DFS
Management Context
An existing NSS volume
on a supported system.
It must be in the same
eDirectory tree as the
target volume.
None required.
It must be in the same
eDirectory tree as the
target volume, but is not
required to be in the
target’s DFS management
context.
An existing volume on a
supported system.
It must be in the same
eDirectory tree as the
source volume.
Required.
It can be in any
management context in
the same eDirectory tree
as the source volume.
Overview of Distributed File Services 17
Afterasuccessfulmove,thephysicallocationofthevolumeisautomaticallyupdatedintheVLDB.If
thevolumeisonadifferentserver,existingjunctionsthatpointtothesourcevolumearenotbroken.
TheysimplypointtothenewvolumelocationbyusingtheupdatedVLDBmapping.Scriptsneed
to
bemodifiedinordertoaccessthevolumebyitsnewpathnameifyoumovethevolumetoadifferent
serverorrenameit.
ThefollowingtabledescribestherulesformovingvolumeswithDFS.Forinstructions,see
Chapter 12,“UsingDFStoMoveNSSVolumes,onpage 105.
Table 1-2 RulesforMovingVolu mes
1.2.7 Split Volume Jobs
WithDFS,youcansplitanNSSvolumeataspecifieddirectoryandrelocatethedirectorycontentsto
anewvolumeonthesa meserver,ortoadifferentserveranywhereinthesameeDirectory
managementcontext.Thenewvolumetypicallyresidesinadifferentpool.Afterasuccessful
relocationof
directorycontents,DFSautomaticallycreatesaDFSjunctionatthesplitpoint,which
replacestheoriginaldirectoryanditscontent.TheDFSjunctioncontainsinformationusedtoredirect
queriestothenewlocation.Userscancontinuetoaccesstheirdataonthenewvolume,without
modifyingthefamiliarlogicalpaths.
The
followingtabledescribestherulesforsplittingvolumes.Forinstructions,seeChapter 13,“Using
DFStoSplitNSSVolumes,onpage 111.
Table 1-3 RulesforSplittingVolume s
Source Volume
Source Volume’s
DFS Management
Context
Target Volume
Target Volume’s
DFS Management
Context
NSS volume on a supported
system.
Required.
The source and target
volume must be in the
same management
context.
A newly created
volume on a
supported system
Required.
The source and target
volume must be in the
same management
context.
Source Directory
Source Volume’s DFS
Management Context
Target Location
Target Volume’s DFS
Management Context
Any directory in an NSS volume on
a supported system.
Required.
The source and target
volume must be in the
same management
context.
A newly created NSS
volume on a supported
system.
The target location
must be at the root of
the volume.
Required.
The source and target
volume must be in the
same management
context.
18 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
1.2.8 DFS Management Tools
TheprimarymanagementtoolforNovellDistributedFileServices isNovelliManager2.7.Usethe
followingplugins:
DistributedFileServices:ThispluginallowsyoutocreateordeleteDFScontexts,manage
VLDBreplicasitesandtheirVLDBservice,andcontrolmoveandsplitvolumejobs.Foran
overviewof
theavailabletasks,seeSection 8.1.5,“DistributedFileServicesPlugIn,”onpage 61.
Storage:ThispluginallowsyoutodefineMoveVolumejobsandSplitVo lumejobsfromits
Volumespage.Foranoverviewoftheavailabletasks,seeSection 8.1.6,“StoragePlugIn,”on
page 64.
Formoreinformationabout
usingiManager,seeSection 8.1,“NovelliM anagerandDFSRelated
PlugIns,”onpage 59.
1.3 Services and Components Used by DFS
Theservicesandcomponentsinthi ssectionareusedbyDFS.
Section 1.3.1,“NovellStorageServices,”onpage 18
Section 1.3.2,“NCPServerandNCP Volumes,onpage 18
Section 1.3.3,“NovellStorageManagementServices,”onpage 18
Section 1.3.4,“eDirectoryDClient,”onpage 19
Section 1.3.5,“JetStream,”onpage 19
1.3.1 Novell Storage Services
DFSjunctionscanresideonlyonNSSvolumes.TheDFSvolumemoveandsplitoptionsareavailable
onlywhereboththesourceanddestinationvolumesareNSSvolumes.
1.3.2 NCP Server and NCP Volumes
OnOES11SP2,DFSjunctionscanalsopointtoNCPvolumes(NCPsharesforLinuxPOSIX
volumes).NCPServermustbeinstalledandrunningonthetargetserverinordertosupportNCP
volumes.ItenforcessecurefileaccessonNCPvolumesforLinuxenabledeDirectoryusers,usingthe
Novell
TrusteeModeloftrusteesandtrusteerights.
WhenyoudefineanNCPshare(mountpoint)forthe NCPvolume,NCPServercreatesaVolume
objectineDirectory.DFSassignsaDFSGUIDasanobjectattributefortheNCPvolume.Thephysical
serverlocationoftheNCPvolumeistracked
intheVLDB.TheVLDBtracksvolumesbytheirDFS
GUIDsanddoesnotcontaininformationthatdistinguisheswhetheragivenvolumeisanNSS
volumeoranNCPvolume.
1.3.3 Novell Storage Management Services
DFSusesNovellStorageManagementServicestocopyfilestothenewlocationinaDFSvolume
moveorsplit.AnSMScopyisfasterthanforanormalcopyutility,anditcanberestartedasneeded.
Overview of Distributed File Services 19
1.3.4 eDirectory DClient
TheVLDBcodeiswrittentoNovelleDirectory,notLDAP,andusesthelowlevelDClientinterfaces
foreDirectory.ThisrequiresthateDirectoryberunningonserversthatcontainjunctionsoronboth
thesourceandtargetserverswhenusingtheDFSvolumemovesorsplits.However,aneDirectory
replicais
notrequiredtobecolocatedontheserver.
1.3.5 JetStream
JetStreamprovidesatransportindependentinterprocesscommunicationfacility.DFSusesJetStream
forinterprocesscommunicationsbyDFSmodules.JetStreamusesanunregisteredTCPport6901
(0x1AF5).Thisportassignmentisnotconfigurable.UsingDFSthroughafirewallrequiresthisportto
beopenedbythenetworkadministrator.DFScomponentsthatinteractwith
JetStreamuse
eDirectorynames(suchasdfstest.east.example)fornamesoftargethosts.TheDFSJetStreamrelated
codeusesthelowlevelDClientinterfacesforeDirectory.
1.4 Examples of DFS Management Contexts
ThissectiondescribesmultipleexamplesofDFSmanagementcontexts.Thefollowingicons
representeDirectorycontainersandobjectsintheexamples.
Figure 1-3 IconsforeDirectoryContainersandObjects
Section 1.4.1,“A SingleDFSManagementContext,”onpage 20
Section 1.4.2,“MultipleDFSManagementContextsinDifferentSubtrees,”onpage 21
Section 1.4.3,“MultipleDFSManagementContextsinthe SameSubtree,”onpage 22
eDirectory Icons
Containers
Tree
Organization (O)
Organizational Unit (OU)
Leaf Objects (Common Name (CN))
Server
Volume
Group
User
20 OES 11 SP2: Novell Distributed File Services Administration Guide for Linux
1.4.1 A Single DFS Management Context
Inthefollowingexample,asingleDFSmanagementcontextisshownbyashadedbox.
Figure 1-4 ASingleDFSManagementContext
Feature Description
The management context is defined at the eDirectory container called west.company
(ou=west.o=company).
Junctions can point to any supported volume in the management context.
Two replica servers each host an instance of the VLDB service for the management context.
Its VLDB maps the location of the volumes at all levels in the subtree defined by the
west.company eDirectory container.
Volume objects in the east.company (ou=east.o=company) subtree are not in a
management context in this example, so it is not possible to create a junction to any
supported volumes in this part of the tree.
example_tree
company
west east
mgmt serversservers legalusers dev
svr201
svr202
svr1
grp1
user1
patents servers
svr51
svr52
birch
elm
oak
DFS Management Context
west.company
DFS VLDB Services Replica
svr52.servers.legal.west.company
DFS VLDB Services Replica
svr2.servers.west.company
svr2
BC
A
D
A
B
C
D
/