Hi All,
I was checking how to copy shards from the existing cluster nodes to a new node, used below approach for replicating the database from existing nodes to new node,but in the shards new hostname is not getting updated.
Command for Single replication:
1:curl -H 'Content-Type: application/json' -X POST
http://localhost:5984/_replicate -d ' {"source": "
http://10.0.1.90:5984/test", "target": "test", "create_target":true} '
2: Then added the new node on the initial nodes using curl command.
3: Used below approach updated in the url(
http://stackoverflow.com/questions/6676972/moving-a-shard-from-one-bigcouch-server-to-another-for-balancing) but i copied the database to a json and opened the json using the editor and edit it manually. Is there any way to update shards automatically rather than editing it manually?
Appreciate any help and sorry for typos!!!!
Regards
John