5.3.1.3 Smart referrals.................................................................................................................

64

5.3.1.4 Tips for designing smart referrals...................................................................................

66

5.3.2 Using chaining.........................................................................................................................

67

5.3.3 Deciding between referrals and chaining...............................................................................

67

5.3.3.1 Usage differences............................................................................................................

68

5.3.3.2 Evaluating access controls...............................................................................................

68

5.4 Using indexes to improve database performance...........................................................................

70

5.4.1 Overview of directory index types..........................................................................................

70

5.4.2 Evaluating the costs of indexing.............................................................................................

71

6 Designing the replication process..............................................................................

73

6.1 Introduction to replication..............................................................................................................

73

6.1.1 Replication concepts................................................................................................................

73

6.1.1.1 Unit of replication...........................................................................................................

73

6.1.1.2 Read-write and read-only replicas..................................................................................

74

6.1.1.3 Suppliers and consumers................................................................................................

74

6.1.1.4 Replication and changelogs............................................................................................

74

6.1.1.5 Replication agreement.....................................................................................................

75

6.1.2 Data consistency......................................................................................................................

75

6.2 Common replication scenarios........................................................................................................

75

6.2.1 Single-master replication.........................................................................................................

76

6.2.2 Multi-master replication..........................................................................................................

76

6.2.3 Cascading replication..............................................................................................................

79

6.2.4 Mixed environments...............................................................................................................

81

6.3 Defining a replication strategy........................................................................................................

82

6.3.1 Conducting a replication survey.............................................................................................

83

6.3.2 Replicated selected attributes with fractional replication.......................................................

83

6.3.3 Replication resource requirements..........................................................................................

84

6.3.4 Managing disk space required for multi-master replication..................................................

84

6.3.5 Replication across a wide-area network.................................................................................

85

6.3.6 Using replication for high availability....................................................................................

85

6.3.7 Using replication for local availability....................................................................................

86

6.3.8 Using replication for load balancing.......................................................................................

86

6.3.8.1 Example of network load balancing................................................................................

87

6.3.8.2 Example of load balancing for improved performance..................................................

88

6.3.8.3 Example replication strategy for a small site..................................................................

89

6.3.8.4 Example replication strategy for a large site...................................................................

89

6.4 Using replication with other Directory Server features..................................................................

90

6.4.1 Replication and access control................................................................................................

90

6.4.2 Replication and Directory Server plug-ins..............................................................................

90

6.4.3 Replication and database links................................................................................................

90

6.4.4 Schema replication..................................................................................................................

91

6.4.5 Replication and synchronization.............................................................................................

92

7 Designing synchronization..........................................................................................

93

7.1 Windows synchronization overview..............................................................................................

93

7.1.1 Synchronization agreements...................................................................................................

93

7.1.2 Changelogs..............................................................................................................................

94

7.1.3 Controlling synchronization...................................................................................................

94

7.2 Planning windows synchronization...............................................................................................

94

7.2.1 Resource requirements............................................................................................................

94

7.2.2 Managing disk space for the changelog..................................................................................

95

7.2.3 Defining the connection type..................................................................................................

95

Table of Contents

5