Re: [couchdb] uuid cluster set up
And for background, that value is used for replication checkpoints. The consequences of changing it between upgrades is that you would be resetting any replications into and out of the cluster. It wouldn't be end of the world consequences if it broke but would cause downtime/replication delay if it changed. Depending on your particular reliance on replications that may or may not be an issue. On Wed, Jan 16, 2019 at 1:13 PM Nick Vatamaniuc wrote: > > Hi Ricardo, > > Make sure the value of the uuid is the same across all the nodes in a > cluster and that it is preserved across upgrades. > > It turns out the uuid value doesn't have to be an actual uuid, it could be > for example the hostname of the cluster as long it is expected to say > stable and not change. > > Cheers, > -Nick > > > On Wed, Jan 16, 2019 at 11:03 AM Ricardo > wrote: > > > Hi everyone! > > I have two questions setting up a cluster of three nodes. > > > > 1.In a cluster with three nodes, in local.ini: > > > > [couchdb] > > uuid = VALUE > > > > VALUE has to be different for each node or the same for all? > > > > 2. It is important to keep this uuid value between releases upgrades? > > > > I have this doubt because at > > https://docs.couchdb.org/en/latest/setup/cluster.html > > it says "*Use the first UUID as the cluster UUID.*". I interpret it as a > > single UUID for the entire cluster. > > And at https://docs.couchdb.org/en/latest/config/couchdb.html#couchdb/uuid > > says > > "*Unique identifier for this CouchDB server instance.*". I interpret it as > > a UUID for each node, I thinks this is the correct one. > > > > Thanks! > >
Re: [couchdb] uuid cluster set up
Thank you very much Nick! On Wed, Jan 16, 2019 at 4:13 PM Nick Vatamaniuc wrote: > Hi Ricardo, > > Make sure the value of the uuid is the same across all the nodes in a > cluster and that it is preserved across upgrades. > > It turns out the uuid value doesn't have to be an actual uuid, it could be > for example the hostname of the cluster as long it is expected to say > stable and not change. > > Cheers, > -Nick > > > On Wed, Jan 16, 2019 at 11:03 AM Ricardo > wrote: > > > Hi everyone! > > I have two questions setting up a cluster of three nodes. > > > > 1.In a cluster with three nodes, in local.ini: > > > > [couchdb] > > uuid = VALUE > > > > VALUE has to be different for each node or the same for all? > > > > 2. It is important to keep this uuid value between releases upgrades? > > > > I have this doubt because at > > https://docs.couchdb.org/en/latest/setup/cluster.html > > it says "*Use the first UUID as the cluster UUID.*". I interpret it as a > > single UUID for the entire cluster. > > And at > https://docs.couchdb.org/en/latest/config/couchdb.html#couchdb/uuid > > says > > "*Unique identifier for this CouchDB server instance.*". I interpret it > as > > a UUID for each node, I thinks this is the correct one. > > > > Thanks! > > >
Re: [couchdb] uuid cluster set up
Hi Ricardo, Make sure the value of the uuid is the same across all the nodes in a cluster and that it is preserved across upgrades. It turns out the uuid value doesn't have to be an actual uuid, it could be for example the hostname of the cluster as long it is expected to say stable and not change. Cheers, -Nick On Wed, Jan 16, 2019 at 11:03 AM Ricardo wrote: > Hi everyone! > I have two questions setting up a cluster of three nodes. > > 1.In a cluster with three nodes, in local.ini: > > [couchdb] > uuid = VALUE > > VALUE has to be different for each node or the same for all? > > 2. It is important to keep this uuid value between releases upgrades? > > I have this doubt because at > https://docs.couchdb.org/en/latest/setup/cluster.html > it says "*Use the first UUID as the cluster UUID.*". I interpret it as a > single UUID for the entire cluster. > And at https://docs.couchdb.org/en/latest/config/couchdb.html#couchdb/uuid > says > "*Unique identifier for this CouchDB server instance.*". I interpret it as > a UUID for each node, I thinks this is the correct one. > > Thanks! >
[couchdb] uuid cluster set up
Hi everyone! I have two questions setting up a cluster of three nodes. 1.In a cluster with three nodes, in local.ini: [couchdb] uuid = VALUE VALUE has to be different for each node or the same for all? 2. It is important to keep this uuid value between releases upgrades? I have this doubt because at https://docs.couchdb.org/en/latest/setup/cluster.html it says "*Use the first UUID as the cluster UUID.*". I interpret it as a single UUID for the entire cluster. And at https://docs.couchdb.org/en/latest/config/couchdb.html#couchdb/uuid says "*Unique identifier for this CouchDB server instance.*". I interpret it as a UUID for each node, I thinks this is the correct one. Thanks!