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.