Create Remote Cluster

To use this feature, users should create remote cluster first for the source cluster.

curl -u shiva:shiva -XPUT 'localhost:8902/hippo/v1/_ccr/create_remote_cluster?pretty' -H 'Content-Type: application/json' -d'{
  "remote_cluster_name" : "cluster1",
  "master_group" : "172.29.203.189:26841,172.29.203.189:26851,172.29.203.189:26861",
  "username" : "shiva",
  "password" : "shiva"
}';

Result:

{
  "acknowledged" : true
}

Parameter description:

ParametersDescriptionRequired
remote_cluster_nameRemote cluster nameYes
master_groupMaster group of remote clusterYes
usernameUsername used to connect to remote clusterYes
passwordPassword used to connect to remote clusterYes
Table 48 Create Remote Cluster (Restful API)