Bootstrap replication servers
A bootstrap replication server is one of the replication servers in a deployment.
Every deployment with multiple replicas must have one or more bootstrap replication servers:
-
When starting up, a DS server contacts a bootstrap replication server to discover the remaining DS servers in the deployment.
-
Being a bootstrap replication server doesn’t significantly increase resource use.
After startup, a server gets its information about the remaining servers in the deployment from any replication server.
-
Use at least two bootstrap replication servers for availability.
You don’t need more as long as all other DS servers can contact one of the bootstrap replication servers.
-
A replication server takes on the role when other servers configure it as a bootstrap replication server.
Specify the same list of bootstrap servers each time you set up a replica.
Add a bootstrap replication server
After you add a replication server to a deployment, add it to the other servers' bootstrap-replication-server settings.
Apply these steps for each server whose configuration references the new replication server to add:
-
Add the bootstrap replication server to the server’s configuration:
$ dsconfig \ set-synchronization-provider-prop \ --provider-name "Multimaster Synchronization" \ --add bootstrap-replication-server:new-rs.example.com:8989 \ --hostname replica.example.com \ --port 4444 \ --bindDN uid=admin \ --bindPassword password \ --usePkcs12TrustStore /path/to/opendj/config/keystore \ --trustStorePassword:file /path/to/opendj/config/keystore.pin \ --no-prompt
-
If the server uses property value substitution to load the list of replication bootstrap servers from the environment, restart the server for the changes to take effect.
Remove a bootstrap replication server
After you remove a replication server from a deployment,
remove it from other servers' bootstrap-replication-server
settings.
Apply these steps for each server whose configuration references the replication server that you removed:
-
Remove the bootstrap replication server from the server’s configuration:
$ dsconfig \ set-synchronization-provider-prop \ --provider-name "Multimaster Synchronization" \ --remove bootstrap-replication-server:removed-rs.example.com:8989 \ --hostname replica.example.com \ --port 4444 \ --bindDN uid=admin \ --bindPassword password \ --usePkcs12TrustStore /path/to/opendj/config/keystore \ --trustStorePassword:file /path/to/opendj/config/keystore.pin \ --no-prompt
-
If the server uses property value substitution to load the list of replication bootstrap servers from the environment, restart the server for the changes to take effect.