Global Catalog

H

harsh_bapat

Hi,

Microsoft describes a mechanism "Polling for Changes Using USNChanged"
for AD.
http://msdn.microsoft.com/library/d...d/ad/polling_for_changes_using_usnchanged.asp

I am wondering if this mechanism holds true for a Global Catalog
scenario. I am new to the Global Catalog concept. From what I
understand, GCs host a copy of every partition in the forest (a full
copy of their own domain's domain partition, a full copy of the schema
partition, a full copy of the configuration partition, and a read-only
copy of every other domain's domain partition with only a subset of
attributes for each object), then an object addition/modification to
any domain will cause replication to all DCs in that domain, as well as
to all GCs, whether or not they are DCs for that domain. Attributes
uSNChanged and uSNCreated are available in GC as read-only attributes.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_usnchanged.asp).
Definition of 'uSNChanged' says - USN value assigned by the *local
directory* for the latest change, including creation. So at local AD
level 'uSNChanged' value is unique for each change. I am wondering how
this is taken care at GC level as it is maintainaing 'uSNChanged' from
various *local* ADs? i.e. How changes are tracked at Global Catalog
level? Any ideas?

~Harsh
 
H

Herb Martin

Hi,

Microsoft describes a mechanism "Polling for Changes Using USNChanged"
for AD.
http://msdn.microsoft.com/library/d...d/ad/polling_for_changes_using_usnchanged.asp

I am wondering if this mechanism holds true for a Global Catalog
scenario. I am new to the Global Catalog concept. From what I
understand, GCs host a copy of every partition in the forest

Not exactly.
(a full
copy of their own domain's domain partition, a full copy of the schema
partition, a full copy of the configuration partition,

The above is just a DC and as a DC the GC starts with these
in any case.
and a read-only
copy of every other domain's domain partition with only a subset of
attributes for each object),

The key distinction here is that it is a subset or PARTIAL
copy of the other Domain partitions -- only a limited amount
of info is copied for every object in the forest.
then an object addition/modification to
any domain will cause replication to all DCs in that domain, as well as
to all GCs, whether or not they are DCs for that domain.

Sort of -- an addition will cause replication to the GCs, but a
modification may or may not depending on whether the property
modified is among the subset held on each GC.

GCs setup a similar (parallel) replication topology, just as
regular DCs do -- they will replicate those additional partial
domain partitions across the domain boundaries (forest wide.)

GCs use the same mechanisms to do this as do ordinary DCs
for domain replication.

Of course the GC cannot write to the domain partition from
domains other than its own -- this is precisely analogous to
every DC having a read only copy of the schema but replicating
it.
Attributes
uSNChanged and uSNCreated are available in GC as read-only attributes.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/a
dschema/a_usnchanged.asp).
Definition of 'uSNChanged' says - USN value assigned by the *local
directory* for the latest change, including creation. So at local AD
level 'uSNChanged' value is unique for each change. I am wondering how
this is taken care at GC level as it is maintainaing 'uSNChanged' from
various *local* ADs? i.e. How changes are tracked at Global Catalog
level? Any ideas?

Just like ordinary partitions, but it isn't a very important concern
unless you have a specific (likely a 'bug') problem....
 
H

harsh_bapat

What I am interested in is a polling mechanism for change detection at
GC level.

I can write a change detection mechanism for a single domain using
mechanism described in

http://msdn.microsoft.com/library/d...d/ad/polling_for_changes_using_usnchanged.asp

I am wondering if I can use exactly same mechanism at GC level (by
connecting to 3268) to poll for changes happening within the forest
which may span across multiple domains.

As far as I understand, uSNChanged attribute is unique within each
domain. Within domain, each change can be identified by a unique
uSNChanged value. Does this hold true at GC level, where we are talking
about multiple domains.

~Harsh
 
H

Herb Martin

What I am interested in is a polling mechanism for change detection at
GC level.

I can write a change detection mechanism for a single domain using
mechanism described in

http://msdn.microsoft.com/library/d...d/ad/polling_for_changes_using_usnchanged.asp

I am wondering if I can use exactly same mechanism at GC level (by
connecting to 3268) to poll for changes happening within the forest
which may span across multiple domains.

I don't know the code -- I only know how they "work" blackbox
fashion but they are said to do it in the same and parallel manner
to the domain DCs.

There is a very good chance that is literally true since that is the
behavior -- but of course, it is possible you will hit some weird
snag.
As far as I understand, uSNChanged attribute is unique within each
domain. Within domain, each change can be identified by a unique
uSNChanged value. Does this hold true at GC level, where we are talking
about multiple domains.

I have no idea but if you already have the code it is worth the try
(on the assumption that it will work.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top