DFS Replication

Hi All,

Does anyone know how in Windows 2003 Server R2 to check which server is the Primary member in a replication group in DFS?

I know when you set the group up you specifiy which server is to be the primary but how do you check on pre-existing groups? Can this be queried via vbscript?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
Define 'Primary'.  Unless you're doing hub-and-spoke replication, DFS doesn't really differentiate between target servers.  This has more to do with the topology you implement than how DFS works.
robclarke41Author Commented:
Primary - The authoritative server that the second server in the group accepts changed files from.

You specify a Primary replication member when setting up a replication group.  There has to be a primary member or how would DFS know which direction the replication should occur?

I just want to know how you check this in DFS, if there is a way?
Paul MacDonaldDirector, Information SystemsCommented:
Yes, there is a primary server initially, and if you only replicate one way, well just look at your topology and you can see which server is primary.  Most people set up two-way replication so changes on either side are propogated to the other.  In that topolgy (or a ring or a full mesh) there is no "primary".
Paul MacDonaldDirector, Information SystemsCommented:
To answer your question, open the DFS manager, show the DFS Root you want to examine, right-click on the Root and select Properties.  The Replication tab will tell you the topology.  If it's custom, click the Customize... button and you can see the specific connections.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
robclarke41Author Commented:
great thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Server Software

From novice to tech pro — start learning today.