Creating the database backends and defining the replication set name
About this task
To store the entry-balancing data set, create a new backend.
Steps
-
On each server, create a dataset backend named
dataset
.Example:
./bin/dsconfig --no-prompt create-backend \ --backend-name dataset --type local-db --set enabled:true \ --set base-dn:ou=people,dc=example,dc=com
-
Set the
replication-set-name
foraustin1.example.com
andnewyork1.example.com
todataset1
.Example:
./bin/dsconfig --no-prompt \ set-global-configuration-prop \ --set replication-set-name:dataset1
-
Set the
replication-set-name
foraustin2.example.com
andnewyork1.example.com
todataset2
.Example:
./bin/dsconfig --no-prompt \ set-global-configuration-prop \ --set replication-set-name:dataset2