Specifying replication priority is optional. You can create replication rules to specify that certain changes, such as updating the user password, are replicated with high priority. Any changes specified in replication rules are replicated as high priority, and all other changes are replicated with normal priority.
Starting from version 6, replication priority rules only need to be created on the master server. No configuration is required for hubs and consumers.
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
To create a new replication priority rule on a master, use this command:
$ dsconf create-repl-priority -h host -p port suffix-DN priority-name property:value
You can set replication priority with one or more of the following properties:
Operation type , op-type
Bind DN, bind-dn
Base DN, base-dn
Attribute type, attr
The priority-name is user defined.
For example, to create a replication rule specifying that user password changes are replicated with high priority, use this command:
$ dsconf create-repl-priority -h host2 -p 1389 dc=example,dc=com pw-rule \ attr:userPassword
To display current replication rules, use the dsconf list-repl-priorities -v command. When used with the -v option, this command displays additional information related to prioritized replication rules.
$ dsconf list-repl-priorities -h host2 -p 1389 -v
For more information, see the dsconf(1M) man page.