OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
Note: The presence of clearinghouses, duplicate names, or unreachable names in
a merged directory requires special handling. The merge and append
operations described in the following sections assume that no duplicate
names exist in the source and target directory or subtree, and that the
clearinghouses that store the master replicas of affected directories are
enabled and reachable at the time the operations are initiated.
The example merge and append operations described in this section are based on an
example namespace, shown in the following figure.
Figure 20-1. Example Namespace Hierarchy
ZK 5697AGE
/.:
/rnd/eng
link2obj2link1obj1
The example namespace consists of two directories under the root: /.:/eng and /.:/rnd.
The source directory (/.:/eng) contains two entries: /.:/eng/obj1 and /.:/eng/link1. The
target directory (/.:/rnd) also contains two entries: /.:/rnd/obj2 and /.:/rnd/link2.
20.2 Merging CDS Directories
The following procedure merges the source directory /.:/eng into the target directory
/.:/rnd:
1. Perform a skulk on the /.:/eng directory before merging it with the /.:/rnd
directory. This synchronization of the source directory’s replicas can prevent
errors that cause the merge operation to fail.
dcecp> directory synchronize /.:/eng
2. Run the directory merge command to merge the /.:/eng and /.:/rnd directories:
dcecp> directory merge /.:/eng -into /.:/rnd
Note that the directory merge command merges only the immediate contents of
the source directory named in the command-line argument (that is, the object
entries, soft links, and child directories in these directories).
20 2 Tandem Computers Incorporated 124243