I have a Couchbase 5.0 cluster that includes 3 nodes with 2 replicas.
I want to configure the Sync Gateway machine to have access for all the Couchbase server cluster, since I don't want it to be a single point of failure, but I only have the server in the configuration file and it seems that it gets only one URL.
{
"log": ["*"],
"databases": {
"facts": {
"server": "http://192.168.1.1:8091",
"bucket": "bucketName",
"username":"userName",
"password":"password",
"roles":{
"firstRole": {"admin_channels":[]}
},
"users": { "GUEST": { "disabled": true, "admin_channels": ["*"] } },
"sync":`
function(doc,oldDoc)
{
...
}
}
How Can I configure the Sync Gateway to know all the cluster URLs?