Link to home
Start Free TrialLog in
Avatar of HalCHub
HalCHubFlag for United States of America

asked on

dsgetdcname returns partner dc

How do I get a dc/gc to return its own name went dsdiag advertising test does a dsgetdcname ?

I have 2 sites .. server1 and server2 are both dc/gc  server1 is the primary location and server2 is a new site.
Avatar of Awinish
Awinish
Flag of India image

You can use
dsquery server -isgc
Try uncheck & check the option back of gc from ADSS.
Also,see there is no replication error with second dc.
 
Check sysvol is shared & replication is completed,if replication is not completed it will connect to other available dc.
Type net share & see sysvol & netlogon share is available.
Avatar of Premkumar Yogeswaran
Hi,
Check in the AD Sites and Services, Whether the Subnet is configured correctly for your domain.

And then Run -> netdiag and DCdiag

Check that did you receive any error

Type set L in command prompt in client machine and check whether they are connecting to the patner DC in other site.
Avatar of HalCHub

ASKER

sysvol did not replicate so I copied and made got netlogon and sysvol shares.

Check replmon no replication errors..   but netdiag says replcation did not complete...

attached you will find a file with dsdiag,dcdiag and netdiag...

sites are connect via windows vpn and will be getting replaced with vpn hardware

thanks
diags.txt
ASKER CERTIFIED SOLUTION
Avatar of Awinish
Awinish
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HalCHub

ASKER

no errors from repadmin but in the event log

The partition DC=DomainDnsZones,DC=mydomain,DC=local should be hosted at site CN=camp,CN=Sites,CN=Configuration,DC=mydomain,DC=local, but has not been instantiated yet. However, the KCC could not find any hosts from which to replicate this partition.

The partition DC=DomainDnsZones,DC=mydomain,DC=local should be hosted at site CN=camp,CN=Sites,CN=Configuration,DC=mydomain,DC=local, but has not been instantiated yet. However, the KCC could not find any hosts from which to replicate this partition.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HalCHub

ASKER

none