Re: Unigueness of RID; changing RID

2010-06-23 Thread Nick Urbanik

Dear Howard,

On 22/06/10 07:31 -0700, Howard Chu wrote:

Nick Urbanik wrote:

Dear Folks,

I am trying to improve my understanding of the RID before making many
large deployments of syncrepl.

My understanding is that the replica ID (RID) is unique within one
level of [provider] --  [consumer], [consumer],... relationship.


That is not what the documentation says. Where did you get this
understanding?


I misunderstood the documentation :-/


An RID is just a unique tag within a single slapd.conf or slapd.d.
Its only purpose is to provide an unambiguous ID that can be
referenced from the slapd -c option. That's all.


Thank you very much for your helpful clarification.
--
Nick Urbanik http://nicku.org 808-71011 nick.urba...@optusnet.com.au
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.


Re: Unigueness of RID; changing RID

2010-06-23 Thread Nick Urbanik

Dear Quanah,

On 22/06/10 08:04 -0700, Quanah Gibson-Mount wrote:
--On Tuesday, June 22, 2010 12:00 PM +1000 Nick Urbanik 
nick.urba...@optusnet.com.au wrote:



Dear Folks,

I am trying to improve my understanding of the RID before making many
large deployments of syncrepl.


The RID uniquely identifies a syncrepl stanza inside the replica for 
a given database.  If you have more than one syncrepl statement in a 
replica's configuration, they must all have a unique rid.  Other 
replicas and consumers know nothing of the RID inside a different 
replica's setup.


In most of my setups, I have a single syncrepl stanza on the 
replicas, so I use the same RID on all of them.


Thank you.  Your clarification is very helpful.
--
Nick Urbanik http://nicku.org 808-71011 nick.urba...@optusnet.com.au
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.


Unigueness of RID; changing RID

2010-06-22 Thread Nick Urbanik

Dear Folks,

I am trying to improve my understanding of the RID before making many
large deployments of syncrepl.

My understanding is that the replica ID (RID) is unique within one
level of [provider] -- [consumer], [consumer],... relationship.

Here, an arrow -- represents replication of one directory tree from
   provider to consumers, and
commas represent consumers at the same level, all replicating from the
   same provider, and the
square brackets [...] represent one machine.

1. If there is a relationship like this, where at least one machine
   acts simultaneously as consumer and provider
   [provider] -- [consumer+provider] -- [consumer], [consumer],...

   does the RID need to be unique within all these consumers at all
   levels in the propagation of replication?

2. What are the consequences of changing the RID on a consumer?
   Would this inevitably require a dump and restore?
   Is the RID stored in the data?  Where is it stored, besides in the
   consumer's syncrepl configuration?
--
Nick Urbanik http://nicku.org 808-71011 nick.urba...@optusnet.com.au
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24  ID: BB9D2C24
I disclaim, therefore I am.


Re: Unigueness of RID; changing RID

2010-06-22 Thread Howard Chu

Nick Urbanik wrote:

Dear Folks,

I am trying to improve my understanding of the RID before making many
large deployments of syncrepl.

My understanding is that the replica ID (RID) is unique within one
level of [provider] --  [consumer], [consumer],... relationship.


That is not what the documentation says. Where did you get this understanding?

An RID is just a unique tag within a single slapd.conf or slapd.d. Its only 
purpose is to provide an unambiguous ID that can be referenced from the slapd 
-c option. That's all.


--
  -- Howard Chu
  CTO, Symas Corp.   http://www.symas.com
  Director, Highland Sun http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


Re: Unigueness of RID; changing RID

2010-06-22 Thread Quanah Gibson-Mount
--On Tuesday, June 22, 2010 12:00 PM +1000 Nick Urbanik 
nick.urba...@optusnet.com.au wrote:



Dear Folks,

I am trying to improve my understanding of the RID before making many
large deployments of syncrepl.


The RID uniquely identifies a syncrepl stanza inside the replica for a 
given database.  If you have more than one syncrepl statement in a 
replica's configuration, they must all have a unique rid.  Other replicas 
and consumers know nothing of the RID inside a different replica's setup.


In most of my setups, I have a single syncrepl stanza on the replicas, so I 
use the same RID on all of them.


--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc

Zimbra ::  the leader in open source messaging and collaboration