da97433d5cd26e422a370d186f98659383c06721csovant#-- disabling replication on a server
da97433d5cd26e422a370d186f98659383c06721csovant#---------------------------------------------------------
da97433d5cd26e422a370d186f98659383c06721csovantdsreplication disable \
da97433d5cd26e422a370d186f98659383c06721csovant --hostname sugoi \
da97433d5cd26e422a370d186f98659383c06721csovant --port 4444 \
da97433d5cd26e422a370d186f98659383c06721csovant --disableReplicationServer \
da97433d5cd26e422a370d186f98659383c06721csovant --baseDN dc=example,dc=com \
da97433d5cd26e422a370d186f98659383c06721csovant --adminUID admin \
da97433d5cd26e422a370d186f98659383c06721csovant --adminPassword ****** \
da97433d5cd26e422a370d186f98659383c06721csovant --trustAll \
da97433d5cd26e422a370d186f98659383c06721csovant --no-prompt
da97433d5cd26e422a370d186f98659383c06721csovant# - Output if only one server of the 2 disabled
da97433d5cd26e422a370d186f98659383c06721csovant# - You have decided to disable the replication server (replication changelog).
da97433d5cd26e422a370d186f98659383c06721csovant# - After disabling the replication server only one replication server will be
da97433d5cd26e422a370d186f98659383c06721csovant# - configured for the following suffixes:
da97433d5cd26e422a370d186f98659383c06721csovant# - dc=example,dc=com
da97433d5cd26e422a370d186f98659383c06721csovant# - To avoid a single point of failure at least two replication servers must be
da97433d5cd26e422a370d186f98659383c06721csovant# - configured.
da97433d5cd26e422a370d186f98659383c06721csovant# - Do you want to continue? (yes / no) [no]: yes
da97433d5cd26e422a370d186f98659383c06721csovant# - Disabling replication on base DN cn=admin data of server sugoi:4444 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Disabling replication on base DN dc=example,dc=com of server sugoi:4444 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Disabling replication on base DN cn=schema of server sugoi:4444 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Removing references on base DN cn=schema of server sugoi:4445 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Removing references on base DN dc=example,dc=com of server sugoi:4445 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Removing references on base DN cn=admin data of server sugoi:4445 ..... Done.
da97433d5cd26e422a370d186f98659383c06721csovant# - Disabling replication port 8989 of server sugoi:4444 ..... Done.