FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 04-03-2012, 01:10 PM
Rich Megginson
 
Default Questions on RedHat DS9.0 Deployment Guide (schema replication)

On 04/03/2012 05:15 AM, Roberto Polli wrote:

Hi all,

just some easy questions. The quoted text is taken from
Red Hat DS 9.0 Deployment Guide.

7.4.4 Schema Replication

In all replication scenarios...[cut] The following conditions apply:
If the version of the schema ...[master has newer]...the supplicer server

replicates to the consumer
Q1: shouldn't this happen only when changes are done via ldapmodify (as stated
in the note at the ending of the chapter)?

Correct.

Q2: changes made with 98example.ldif shouldn't propagate, right?

Correct.



If the version of the schema...[slave has newer]...the server may return

many errors...
Q3: so replication still happens. I would state this clearly, like
"replication happens even in case of schema mismatching"

ok - please file a ticket/bug



A consumer might contain replicated data from two suppliers, each with

different schema. Whichever supplier was updated last wins, and its schema is
propagated to the consumer.
Q4: imho it seems a wider highway to hell -_- As of Q1,2 I can avoid it using
ldif, right?


Right, although note that schema replication is single master. You
should choose a master to make it the "primary" master for schema updates.





Changes made to custom schema files are only replicated if the schema is

updated using LDAP or the Directory Server Console
Q5: I have understood that you can't change a custom schema file using
LDAP/DSConsole. All modifications go to 99user.ldif: right?

Correct.


I hope I haven't bored you too much...

Thx+Peace,
R.


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-03-2012, 02:43 PM
Rich Megginson
 
Default Questions on RedHat DS9.0 Deployment Guide (schema replication)

On 04/03/2012 08:22 AM, Roberto Polli wrote:

Hi Rich,

firstly, thanks again for your time and for your support!

I'll file bugs on trac, right?

right
https://fedorahosted.org/389


Rich Megginson<rmeggins@redhat.com>

Right, although note that schema replication is single master. You
should choose a master to make it the "primary" master for schema updates.

* are there any issues to let 389 create/modify custom schema files instead of
putting everything in 99user.ldif?
I mean something like:

# ldapmodify -v
dn: cn=schema
changetype: modify
schemafile: 60example.ldif
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.1 NAME 'dateofbirth' DESC 'For employee
birthdays' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUED X-ORIGIN
'Example defined')

* did you experience any issue using schema replication in "primary" master
mode (eg. decreased manageability, lack of tracking of schema files,...)?


It's a trade off - it's easier to manage your custom schema if you have
your own separate schema file, but then you have to replicate it
yourself with puppet/cfengine or something like that. If you use LDAP
to manage your schema, it gets replicated, but it is harder to manage.




Thx+Peace,
R:





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 02:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org