4.5 Partitions and Replicas

Partitions are logical divisions of the Novell® eDirectory database that form a distinct unit of data in the eDirectory tree for administrators to store and replicate eDirectory information. Each partition consists of a Container object, all objects contained in it, and information about those objects. Partitions do not include any information about the file system or the directories and files contained there.

Instead of storing a copy of the entire eDirectory database on each server, you can make a copy of the eDirectory partition and store it on many servers across the network. Each copy of the partition is known as a replica.You can create any number of replicas for each eDirectory partition and store them on any server. There are different types of replicas:

For more information, see Managing Partitions and Replicas in the eDirectory Administration Guide.

4.5.1 Create Partition

When you create partitions, you make logical divisions of your tree. These divisions can be replicated and distributed among different eDirectory servers in your network. When you create a new partition, you split the parent partition and then have two partitions. The new partition becomes a child partition. For example, if you choose an Organizational Unit and create it as a new partition, you split the Organizational Unit and all of its subordinate objects from its parent partition.

The Organizational Unit you choose becomes the root of a new partition. The replicas of the new partition exist on the same servers as the replicas of the parent, and objects in the new partition belong to the new partition’s root object.

  1. In Roles and Tasks, select Partitions and Replicas > Create Partition.

  2. Type the name and context of the container or use the search feature to find it, and click OK.

  3. After a few seconds, a confirmation message appears: “Complete: Create Partition.”

4.5.2 Merge Partition

When you merge a partition with its parent partition, the chosen partition and its replicas combine with the parent partition. You do not delete partitions; you only merge and create partitions to define how the directory tree is split into logical divisions.

There are several reasons to merge a partition with its parent:

  • The directory information in the two partitions is closely related.
  • You want to delete a subordinate partition, but you don’t want to delete the objects in it.
  • You’re going to delete the objects in the partition.
  • You want to delete all replicas of the partition. (Merging a partition with its parent is the only way to delete the partition’s master replica.)
  • After moving a container (which must be a partition root with no subordinate partitions), you don’t want the container to be a partition anymore.
  • You experience changes in your company organization, so you want to redesign your directory tree by changing the partition structure.

Before merging a partition, check the partition synchronization of both partitions and fix any errors before proceeding. By fixing the errors, you can isolate problems in the directory and avoid propagating the errors or creating new ones. Make sure that all servers which have replicas (including subordinate references) of the partition you want to merge, are up before attempting to merge a partition. If a server is down, eDirectory won’t be able to read the server’s replicas and won’t be able to complete the operation.

If you receive errors in the process of merging a partition, resolve the errors as they appear. Don’t try to fix the error by continuing to perform operations; doing so only results in more errors.

To merge a child partition with its parent partition:

  1. In Roles and Tasks, select Partitions and Replicas > Merge Partition.

  2. Type the name and context of the partition or use the search feature to find it, and click OK.

  3. After a few seconds, a confirmation message appears: “Complete: Merge Partition.”

4.5.3 Move Partition

Moving a partition lets you move a subtree in your directory tree. You can move a partition root object (which is a Container object) only if it has no subordinate partitions.

When you move a partition, you must follow eDirectory containment rules. For example, you cannot move an Organizational Unit directly under the root of the current tree, because the root’s containment rules allow Locality, Country, or Organization, but not Organizational Unit.

When you move a partition, eDirectory changes all references to the partition root object. Although the object’s common name remains unchanged, the complete name of the container (and of all its subordinates) changes.

  1. In Roles and Tasks, select Partitions and Replicas > Move Partition.

  2. Type the name and context of the object or use the search feature to find it.

  3. Type the location you want to move the partition to in the Move to text box.

  4. Select the Create an alias in place of moved object check box and click OK.

This allows any operations that are dependent on the old location to continue uninterrupted until you can update those operations to reflect the new location. Users can continue to log in to the network and find objects in the original directory location.

The Alias object that is created has the same common name as the moved container and references the new complete name of the moved container.

Make sure your directory tree is synchronizing correctly before you move a partition. If you have any errors in synchronization in either the partition you want to move or the destination partition, do not perform a move partition operation. First, fix the synchronization errors. After moving the partition, if you don’t want the partition to remain a partition, merge it with its parent partition.

4.5.4 Replica View

Viewing information about a replica tells you about its state. An eDirectory replica can be in various states depending on the partition or replication operations it is undergoing.

To view information about a replica:

  1. In Roles and Tasks, select Partitions and Replicas > Replica View.

  2. Select the partition or server whose replica table you want to view, and click OK.

    A table appears listing the replica Partition, Type, Filter, and State. The following list describes the replica states that you might see in iManager:

    • On: Currently not undergoing any partition or replication operations
    • New: Being added as a new replica on the server
    • Dying: Being deleted from the server
    • Dead: Done being deleted from the server
    • Master Start: Being changed to a master replica
    • Master Done: Done being changed to a master replica
    • Change Type: Being changed to a different type of replica
    • Locked: Locked in preparation for a partition move or repair operation
    • Transition Move: Starting in to a partition move operation
    • Move: In the midst of a partition move operation
    • Transition Split: Starting in to a partition split operation (creation of a child partition)
    • Split: In the midst of a partition split operation (creation of a child partition)
    • Join: Being merged into its parent partition
    • Transition On: About to return to an On state
    • Unknown: In a state not known to iManager

For more information, see Replica View in the eDirectory Administration Guide.

4.5.5 View Partition Information

Viewing information about a partition (from the eDirectory Administration Guide) displays its synchronization information: last successful synchronization and last attempted synchronization.

  1. In Roles and Tasks, select Partitions and Replicas > View Partition Information.

  2. Type the name and context of the partition object, or use the search feature to find it, and click OK.

4.5.6 Filtered Replica Wizard

Administrators generally use the filtered replica capability to create an eDirectory server that holds a set of filtered replicas that contain only specific objects and attributes that they want synchronized. Filtered replicas maintain a filtered subset of information from an eDirectory partition (objects or object classes along with a filtered set of attributes and values for those objects).

The filtered replica wizard steps you through the configuration of the filtered replicas on the selected server.

  1. In Roles and Tasks, select Partitions and Replicas > Filtered Replica Wizard.

  2. Type the name and context of the server on which you want to configure a filtered replica, or use the search feature to find it, and click Next.

  3. Click Define the Filter Set to define the classes and attributes for a filter set on the selected server.

    The replication filter contains the set of eDirectory classes and attributes you want to host on this server’s set of filtered replicas.

  4. Click Next, then click Finish.

For more information, see Setting Up and Managing Filtered Replicas in the eDirectory Administration Guide.