Hi All!
Let me quicky describe env, Root Domain with 10DC all GC's, Child domain over 100DC all GC's in both cases DNS in infoblox.
We started to recieving SCOM alerts on over 90dc in child domain about:
Global Catalog query returned 0 results
from Global Catalog Search Availability Data Source script
Microsoft.Windows.Server.10.0.AD.Availability.GCResponse.DataSource (DataSourceModuleType)
here is the script:
https://systemcenter.wiki/?GetElement=Microsoft.Windows.Server.10.0.AD.Availability.GCResponse.DataSource&Type=DataSourceModuleType&ManagementPack=Microsoft.Windows.Server.AD.2016.Monitoring&Version=10.0.0.0
1. DcDiag has no errors or issues
2. all DNS srv records are valid we have reRegistered them anyway
3. Sysvol and Netlogon shares are working fine
4. All ports are open from scom to 3268,3269,389 on DC and DCs <-->DCs
5.We can connect to GC's using ADSI or LDP.exe no issue there
6. No replication issues
7.no CHGs in the ENV where done or we knows about.
digging further we where able to establish that:
ADO connector used by SCOM return 1 if corect and 0 when fail.
1 is returned in Root no issues there
0 is returend in ChildDomain
here is the outupt from the scrip for child (diff in bold)
Properties : System.__ComObject
AbsolutePosition : -1
ActiveConnection : System.__ComObject
BOF : True
Bookmark :
CacheSize : 1
CursorType : 3
EOF : True
Fields : System.__ComObject
LockType : 1
MaxRecords : 0
RecordCount : 0 <--- Here BAD =)
Source : <GC://ny.acme.com>;(objectCategory=DMD);cn;subtree
AbsolutePage : -1
EditMode : 0
Filter : 0
PageCount : 0
PageSize : 10
Sort :
Status :
State : 1
CursorLocation : 2
MarshalOptions : 0
DataSource : System.__ComObject
ActiveCommand :
StayInSync : True
DataMember :
Index :
Root:
Properties : System.__ComObject
AbsolutePosition : 1
ActiveConnection : System.__ComObject
BOF : False
Bookmark : 0
CacheSize : 1
CursorType : 3
EOF : False
Fields : System.__ComObject
LockType : 1
MaxRecords : 0
RecordCount : 1 <--- GOOD
Source : <GC://acme.com>;(objectCategory=DMD);cn;subtree
AbsolutePage : 1
EditMode : 0
Filter : 0
PageCount : 1
PageSize : 10
Sort :
Status : 0
State : 1
CursorLocation : 2
MarshalOptions : 0
DataSource : System.__ComObject
ActiveCommand :
StayInSync : True
DataMember :
Index :
Any Ideas?
Thanks