Description
[root@cen-1413 testrunner]# /opt/couchbase/bin/couchbase-cli xdcr-setup -c 10.3.2.109:8091 --create --xdcr-cluster-name=test --xdcr-hostname=10.3.4.175:8091 --xdcr-username=Administrator --xdcr-password=password --xdcr-demand-encryption=3 --xdcr-certificate=./remote.pem -u Administrator -p password
SUCCESS: init/edit test
It should throw error as per the command description --xdcr-demand-encryption can be 0 or 1.
xdcr-setup OPTIONS:
--create create a new xdcr configuration
--edit modify existed xdcr configuration
--delete delete existed xdcr configuration
--xdcr-cluster-name=CLUSTERNAME cluster name
--xdcr-hostname=HOSTNAME remote host name to connect to
--xdcr-username=USERNAME remote cluster admin username
--xdcr-password=PASSWORD remote cluster admin password
--xdcr-demand-encryption=[0|1] allow data encrypted using ssl
--xdcr-certificate=CERTIFICATE pem-encoded certificate. Need be present if xdcr-demand-encryption is true