Referral concept in Replication

I have a doubt regarding the referrals:

When a request to modify a users account is sent to the Consumer, would that request be autmotaically referred to the Master and modification is done in the master so that client would not be required to make a second request to the master for the modification

(OR)

would the client be provided with the URL of the master for making the modification by the Consumer...In this case the client has to make another ldapmodify on the Master for the mddifcation...

From the docs, I Understood that the client will be only provided the URL of the Master but not the Modification would be referrd to the Master...am i getting it right?Help would be appreciated

regards

[739 byte] By [anandkaturia] at [2007-11-27 11:15:07]
# 1

sorry i posted wrongly

Message was edited by:

ap7926

ap7926a at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

> ...client be provided with the URL of the master for making the

> modification by the Consumer...In this case the

> client has to make another ldapmodify on the Master

> for the mddifcation...

This is the one.

Referral URLs are sent back to clients.

The client application may or may not follow the URL, depending on its capabilities and configuration.

gtholberta at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Thnks fr the reply.. i thought the same thing...but i heard tht the second option might take place..so i just want to clarify the things..

anandkaturia at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

You can make use of Directory Proxy Server in front of your Directory Servers so that DPS does follow referrals instead of the Client application.

For a client application, the underlying Directory infrastructure becomes completely transparent. It only knows a single access point to it (and as a best practice, this single access point is a virtual IP for a couple or more load balanced DPS instances)

Regards,

Ludovic.

ludovicpa at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

we have 6 LDAP Servers with 2 Masters and then 2 Consumers for each Master.....

We have the RA's defined between the Master1-Master2,

Master1-Consumer1& Master1-consumer2; Master2-Consumer3 & Master-2-Consumer4.

All the consumers have referral links of bot the Masters in the configuration...

The other day our Master-1 was down for some reason and at this time...the Consumer 1 and Consumer-2 were not referring to Master-2 even though they have referral link sof Master-2 defined in them along with Master-1..What is the reason for this?

Can it be because we have not setup the RA's between Master2-Consumer1 and Master2-Consumer2? is it mandatory that there need to be RA's between Master and Consumer for referral or else would the referral work if we just define the referral link in the advanced option without setting up the Replication Agreement? please reply as this would help us to make the modification as the breakage had an considerable impact...

anandkaturia at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

There is no need for Master2 to replicate to Consumer1 to have a referral to Master2.

Referrals setup by replication are driven by the masters and all masters are known to all replica (as long as the masters are replicating between them).

A Consumer will always return referrals to all Masters, regardless of their availability.

It is up to the client application to choose which referral to follow and possibly use another referral when the first one is not working.

I would definitely check your applications and how they handle referrals...

Ludovic.

ludovicpa at 2007-7-29 14:11:06 > top of Java-index,Web & Directory Servers,Directory Servers...