Env overview:
Exchange 2013 CU2\Sever 2012 in two site Active\Active + third site for Witness Server
2 CAS and 2 Mailbox in each site.
site to site network confirmed good
Problem:
When doing calls like get-owavirtualdirectory if the server is in the same site as the box running the query it comes up right away. If the server is in the opposite site it takes 15mins or so. It does not matter if I point it to different GCs in the same site or different sites, the behavior is the same. There are no errors.
If I am on a Site1 exchange server and try to pull up Site1CAS1 or 2 vdir= No delay
If I am on a Site1 exchange server and try to pull up Site2CAS1 or 2 vdir= 15min delay
If I am on a Site2 exchange server and try to pull up Site2CAS1 or 2 vdir= No delay
If I am on a Site2 exchange server and try to pull up Site1CAS1 or 2 vdir= 15min delay
Here is the -verbose of the query from Site2CAS1 trying to pull the Site1CAS1 vdir. You will notice that the last step completes 15mins or so after the 2nd to last
[PS] C:\Windows\system32>Get-OwaVirtualDirectory -Server SITE1cas1 -Verbose -DomainController SITE1gc2.internal.contoso.com
VERBOSE: [12:58:32.274 GMT] Get-OwaVirtualDirectory : Runspace context: Executing user: internal.contoso.com/Admins/Level 4 Admins/admin.hix, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
VERBOSE: [12:58:32.289 GMT] Get-OwaVirtualDirectory : Active Directory session settings for 'Get-OwaVirtualDirectory'
are: View Entire Forest: 'False', Default Scope: 'internal.contoso.com', Configuration Domain Controller:
'SITE2gc1.internal.contoso.com', Preferred Global Catalog: 'SITE2gc1.internal.contoso.com', Preferred Domain Controllers: '{
SITE2gc1.internal.contoso.com }'
VERBOSE: [12:58:32.289 GMT] Get-OwaVirtualDirectory : Beginning processing Get-OwaVirtualDirectory
VERBOSE: [12:58:32.289 GMT] Get-OwaVirtualDirectory : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient
Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient
Scope(s): {}, Exclusive Configuration Scope(s): {} }
VERBOSE: [12:58:32.289 GMT] Get-OwaVirtualDirectory : Searching objects "SITE1cas1" of type "Server" under the root
"$null".
VERBOSE: [12:58:33.024 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller
'SITE1gc2.internal.contoso.com'.
VERBOSE: [12:58:33.024 GMT] Get-OwaVirtualDirectory : Resolved current organization: .
VERBOSE: [12:58:33.024 GMT] Get-OwaVirtualDirectory : Searching objects of type "ADOwaVirtualDirectory" with filter
"$null", scope "SubTree" under the root "SITE1CAS1".
VERBOSE: [12:58:33.242 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller
'SITE1gc2.internal.contoso.com'.
VERBOSE: [12:58:33.242 GMT] Get-OwaVirtualDirectory : Preparing to output objects. The maximum size of the result set
is "Unlimited".
VERBOSE: [12:58:33.242 GMT] Get-OwaVirtualDirectory : Searching objects "SITE1CAS1" of type "Server" under the root
"$null".
VERBOSE: [12:58:33.320 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller
'SITE1gc2.internal.contoso.com'.
Name Server
OwaVersion
---- ------
----------
owa (Default Web Site) SITE1CAS1
Exchange2013
VERBOSE: [13:13:59.341 GMT] Get-OwaVirtualDirectory : Ending processing Get-OwaVirtualDirectory
Here is the exact same query from Site2cas1 but this time to Site2CAS2. This time the between the last step and the second to last is only 5ish seconds
[PS] C:\Windows\system32>Get-OwaVirtualDirectory -Server SITE2cas2 -Verbose -DomainController SITE1gc1
VERBOSE: [14:59:47.916 GMT] Get-OwaVirtualDirectory : Runspace context: Executing user: internal.contoso.com/Admins/Level 4 Admins/admin.hix, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
VERBOSE: [14:59:47.931 GMT] Get-OwaVirtualDirectory : Active Directory session settings for 'Get-OwaVirtualDirectory'
are: View Entire Forest: 'False', Default Scope: 'internal.contoso.com', Configuration Domain Controller:
'SITE2gc1.internal.contoso.com', Preferred Global Catalog: 'SITE2gc1.internal.contoso.com', Preferred Domain Controllers: '{
SITE2gc1.internal.contoso.com }'
VERBOSE: [14:59:47.931 GMT] Get-OwaVirtualDirectory : Beginning processing Get-OwaVirtualDirectory
VERBOSE: [14:59:48.181 GMT] Get-OwaVirtualDirectory : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient
Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient
Scope(s): {}, Exclusive Configuration Scope(s): {} }
VERBOSE: [14:59:48.181 GMT] Get-OwaVirtualDirectory : Searching objects "SITE2cas2" of type "Server" under the root
"$null".
VERBOSE: [14:59:48.947 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller 'SITE1gc1'.
VERBOSE: [14:59:48.947 GMT] Get-OwaVirtualDirectory : Resolved current organization: .
VERBOSE: [14:59:48.947 GMT] Get-OwaVirtualDirectory : Searching objects of type "ADOwaVirtualDirectory" with filter
"$null", scope "SubTree" under the root "SITE2CAS2".
VERBOSE: [14:59:49.166 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller 'SITE1gc1'.
VERBOSE: [14:59:49.166 GMT] Get-OwaVirtualDirectory : Preparing to output objects. The maximum size of the result set
is "Unlimited".
VERBOSE: [14:59:49.166 GMT] Get-OwaVirtualDirectory : Searching objects "SITE2CAS2" of type "Server" under the root
"$null".
VERBOSE: [14:59:49.244 GMT] Get-OwaVirtualDirectory : Previous operation run on domain controller 'SITE1gc1'.
Name Server
OwaVersion
---- ------
----------
owa (Default Web Site) SITE2CAS2
Exchange2013
VERBOSE: [14:59:54.197 GMT] Get-OwaVirtualDirectory : Ending processing Get-OwaVirtualDirectory