啊。 几个月前,我们为大客户build立了一个绿地AD和Exchange 2010环境。 Outlook Anywhere无法正常工作。 Outlook客户端只是从来没有连接,似乎不是一个错误或超时。
这是一个迁移。 最初我们有一个Outlook无处不在的证书不匹配,所以我相当肯定它从来没有工作。 我们最近改变了每个人的SMTP域后缀以匹配networking邮件URL的域名,所以我期望OA能够开始工作。 现在我们有一个下雪的日子,很多人在家里,事实certificate这是行不通的。 看起来像代理RPC连接到OAB有一些问题,但我非常难以解决这个问题。
自动发现很好,OWA,ActiveSync,EWS都已经工作了好几个月了。
我们在DAG中有2个邮箱服务器,1个用于公用文件夹和日志的邮箱服务器,2个服务器的CASarrays。 在内部,我们有NLB的arrays。 在外面,我们有一个简单的Netscaler LB VIP,这个arrays没有什么特别的,只是一个TCP 443直通。
RCA显示了这一点 – 总是大约33秒,所以我认为这里有30秒的超时时间。
试图ping RPC代理webmail.5ssl.com。 RPC代理已成功启动。 其他详细信息已用时间:201毫秒。
试图ping身份的MAPI Mail Store端点:PFEXCAS.internal.domain.name.com:6001。 ping端点的尝试失败。 其他详细信息RPC运行时进程引发了RPC错误。 错误1818 CallCledlled
已用时间:33536毫秒
现在,两台CAS服务器确实正在侦听TCP 6001. PFEXCAS是NLB VIP的名称。
这适用于端口6001,6002,6004,所以这很好
rpcping -t ncacn_http -s pfexcas.internal.domain.name.com -o RpcProxy = pfexcas.internal.domain.name.com -P“,”-I“,”-H 1 -u 10 -a connect – F 3 -v 3 -e 6004
这不,它提供了1722年
rpcping -t ncacn_http -s pfexcas.internal.domain.name.com -o RpcProxy = webmail.5ssl.com -P“,”-I“,”-H 1 -u 10 -a connect -F 3 -v 3 -e 6004
Test-OutlookConnectivity -Protocol:Http -verbose在两台服务器上都能正常工作,包括地址簿的GetNewDSA和RFRI :: GetReferral,在我们的下一个testing中失败。
这是Ex2010,所以HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Rpc \ RpcProxy \ ValidPorts_AutoConfig_Exchange已被检查,并且在两个CAS服务器上都看起来正确
PFEXCAS:6001-6004; PFEXCAS.internal.domain.name:6001-6004; PFEXCAS01:6001-6004; PFEXCAS01.internal.domain.name:6001-6004; PFEXCAS02:6001-6004; PFEXCAS02.internal.domain.name: 6001-6004; PFEXMB01:6001-6004; PFEXMB01.internal.domain.name:6001-6004; PFEXMB02:6001-6004; PFEXMB02.internal.domain.name:6001-6004; PFEXMB03:6001-6004; PFEXMB03.internal。 domain.name:6001-6004
运行Test-OutlookConnectivity -RpcProxyTestType:Internal -RpcTestType:Server -verbose给了我们这个(在CAS服务器上运行结果相同/相似,所以RPC代理到地址簿有什么问题,但如果我能弄清楚是什么。否则在环境中似乎工作得很好,而且这个设置configuration与运行OA的原始环境非常接近。
VERBOSE: [19:08:13.652 GMT] Test-OutlookConnectivity : Target Client Access server = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.652 GMT] Test-OutlookConnectivity : Using connection parameters : 'internal.domain.name.com\extest_23e99fa922cb4: RpcProxy/RPC-over-HTTP, [PFEXCAS01.internal.domain.name.com/Basic]' VERBOSE: [19:08:13.652 GMT] Test-OutlookConnectivity : Pinging RpcProxy at the following URL: https://PFEXCAS01.internal.domain.name.com/rpc/RpcProxy.dll. ClientAccessServer ServiceEndpoint Scenario Result Latency (MS) ------------------ --------------- -------- ------ ------- PFEXCAS01.FVE.AD.... PFEXCAS01.internal.domain.name.com RpcProxy::VerifyRpcProxy. Success 46.80 VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:13.698 GMT] Test-OutlookConnectivity : Using connection parameters : 'internal.domain.name.com\extest_23e99fa922cb4: Rfri/RPC-over-HTTP, [PFEXCAS01.internal.domain.name.com/Basic], [PFEXCAS01.internal.domain.name.com/Negotiate]' VERBOSE: [19:08:13.714 GMT] Test-OutlookConnectivity : Mailbox = 'internal.domain.name.com\extest_23e99fa922cb4', Owner = '/o=FIVESTAR/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_23e99fa922cb46cb' VERBOSE: [19:08:13.714 GMT] Test-OutlookConnectivity : Address Book Operation = 'GetNewDSA', Input = 'userLegacyDN', Input Value = '/o=FIVESTAR/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_23e99fa922cb46cb' VERBOSE: [19:08:21.342 GMT] Test-OutlookConnectivity : Microsoft.Exchange.Rpc.ServerUnavailableException: Error 0x6ba (The RPC server is unavailable) from cli_RfrGetNewDSA EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:21.342 EEInfo: Generating component: 2 EEInfo: Status: 0x000006BA EEInfo: Detection location: 1710 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 1 EEInfo: prm[0]: Long val: 0 (0x00000000) EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:21.342 EEInfo: Generating component: 13 EEInfo: Status: 0x000006BA EEInfo: Detection location: 1352 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 1 EEInfo: prm[0]: Long val: -1073606646 (0xC002100A) EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:21.342 EEInfo: Generating component: 14 EEInfo: Status: 0xC002100A EEInfo: Detection location: 1380 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 12175 (0x00002F8F) EEInfo: prm[1]: Unicode string: /rpc/rpcproxy.dll?PFEXCAS01.internal.domain.name.com:6002 EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:21.342 EEInfo: Generating component: 14 EEInfo: Status: 0x00010000 EEInfo: Detection location: 1385 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 16 (0x00000010) EEInfo: prm[1]: Binary Buffer: <junk> at ThrowRpcException(Int32 rpcStatus, String message) at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcExceptionWithEEInfo(Int32 rpcStatus, String routineName) at Microsoft.Exchange.Rpc.Rfri.RfriRpcClient.GetNewDSA(String userDN, String& server) at Microsoft.Exchange.Monitoring.RfriClientWrapper.<>c__DisplayClass7.<GetNewDSA>b__6() at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.RpcExceptionWrapper(Func`1 protectedCall) VERBOSE: [19:08:21.342 GMT] Test-OutlookConnectivity : AddressBook operation failed. Operation = 'GetReferral', Error = 'The Address Book Referral operation failed. Operation = '<GetNewDSA>b__6', returnValue = '1722', server = 'PFEXCAS01.internal.domain.name.com', user = '/o=FIVESTAR/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_23e99fa922cb46cb', .' PFEXCAS01.FVE.AD.... PFEXCAS01.internal.domain.name.com RFRI::GetReferral. Failure -1.00 VERBOSE: [19:08:21.342 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:21.342 GMT] Test-OutlookConnectivity : Using connection parameters : 'internal.domain.name.com\extest_23e99fa922cb4: Nspi/RPC-over-HTTP, [PFEXCAS01.internal.domain.name.com/Basic], [PFEXCAS01.internal.domain.name.com/Negotiate]' VERBOSE: [19:08:21.342 GMT] Test-OutlookConnectivity : Address Book Operation = 'Bind' VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : Microsoft.Exchange.Rpc.ServerUnavailableException: Error 0x6ba (The RPC server is unavailable) from cli_NspiBind EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:28.955 EEInfo: Generating component: 2 EEInfo: Status: 0x000006BA EEInfo: Detection location: 1710 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 1 EEInfo: prm[0]: Long val: 0 (0x00000000) EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:28.955 EEInfo: Generating component: 13 EEInfo: Status: 0x000006BA EEInfo: Detection location: 1352 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 1 EEInfo: prm[0]: Long val: -1073606646 (0xC002100A) EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:28.955 EEInfo: Generating component: 14 EEInfo: Status: 0xC002100A EEInfo: Detection location: 1380 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 12175 (0x00002F8F) EEInfo: prm[1]: Unicode string: /rpc/rpcproxy.dll?PFEXCAS01.internal.domain.name.com:6004 EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:28.955 EEInfo: Generating component: 14 EEInfo: Status: 0x00010000 EEInfo: Detection location: 1385 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 16 (0x00000010) EEInfo: prm[1]: Binary Buffer: <junk> at ThrowRpcException(Int32 rpcStatus, String message) at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcExceptionWithEEInfo(Int32 rpcStatus, String routineName) at Microsoft.Exchange.Rpc.Nspi.NspiRpcClient.Bind(UInt32 flags, IntPtr stat, IntPtr guid) at Microsoft.Exchange.Monitoring.NspiClientWrapper.<Bind>b__4() at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.RpcExceptionWrapper(Func`1 protectedCall) VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : Address Book operation failed. Details: The NSPI operation failed. Operation = '<Bind>b__4', ReturnValue = '1722', Server = 'PFEXCAS01.internal.domain.name.com', User = '/o=FIVESTAR/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_23e99fa922cb46cb', .. PFEXCAS01.FVE.AD.... PFEXCAS01.internal.domain.name.com NSPI::GetProfileDetails. Failure -1.00 VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : Using connection parameters : 'internal.domain.name.com\extest_23e99fa922cb4: Mailbox/RPC-over-HTTP, [PFEXCAS01.internal.domain.name.com/Basic], [PFEXCAS01.internal.domain.name.com/Negotiate]' VERBOSE: [19:08:28.971 GMT] Test-OutlookConnectivity : Mailbox Operation: 'EcDoConnectEx', Target mailbox: '/o=FIVESTAR/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=extest_23e99fa922cb46cb' VERBOSE: [19:08:28.986 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:28.986 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:36.599 GMT] Test-OutlookConnectivity : Microsoft.Exchange.Rpc.ServerUnavailableException: Error 0x6ba (The RPC server is unavailable) from EcDoConnectEx EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:36.599 EEInfo: Generating component: 13 EEInfo: Status: 0x000006BA EEInfo: Detection location: 1352 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 1 EEInfo: prm[0]: Long val: -1073606646 (0xC002100A) EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:36.599 EEInfo: Generating component: 14 EEInfo: Status: 0xC002100A EEInfo: Detection location: 1380 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 12175 (0x00002F8F) EEInfo: prm[1]: Unicode string: /rpc/rpcproxy.dll?PFEXCAS01.internal.domain.name.com:6001 EEInfo: ComputerName: n/a EEInfo: ProcessID: 4520 EEInfo: Generation Time: 2015-01-27 19:08:36.599 EEInfo: Generating component: 14 EEInfo: Status: 0x00010000 EEInfo: Detection location: 1385 EEInfo: Flags: 0 EEInfo: NumberOfParameters: 2 EEInfo: prm[0]: Long val: 16 (0x00000010) EEInfo: prm[1]: Binary Buffer: <junk> at ThrowRpcException(Int32 rpcStatus, String message) at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcExceptionWithEEInfo(Int32 rpcStatus, String routineName) at Microsoft.Exchange.Rpc.ExchangeClient.ExchangeRpcClient.EcDoConnect_Wrapped(Boolean isEx, Void** pcxh, Byte* szUserDN, UInt32 ulFlags, UInt32 ulConMod, UInt32 cbLimit, UInt32 ulCpid, UInt32 ulLcidString, UInt32 ulLcidSort, UInt32 ulIcxrLink, UInt16 usFCanConvertCodePages, UInt32* pcmsPollsMax, UInt32* pcRetry, UInt32* pcmsRetryDelay, UInt16* picxr, Byte** pszDNPrefix, Byte** pszDisplayName, UInt16* rgwClientVersion, UInt16* rgwServerVersion, UInt16* rgwBestVersion, UInt32* pulTimeStamp, Byte* rgbAuxIn, UInt32 cbAuxIn, Byte* rgbAuxOut, UInt32* pcbAuxOut) at Microsoft.Exchange.Rpc.ExchangeClient.ExchangeRpcClient.EcDoConnect_Internal(Boolean isEx, IntPtr& contextHandle, String userDn, Int32 flags, Int32 sizeLimit, Int32 conMod, Int32 cpid, Int32 lcidString, Int32 lcidSort, Int32 sessionIdLink, Boolean canConvertCodePages, TimeSpan& pollsMax, Int32& retryCount, TimeSpan& retryDelay, String& dnPrefix, String& displayName, Int16[] clientVersion, Int16[]& serverVersion, Int16[]& bestVersion, Int32& timeStamp, Byte[] auxIn, Boolean compressAuxIn, Boolean xorMagicAuxIn, Byte[]& auxOut, Int32 maxSizeAuxOut, Boolean& wasCompressedAuxOut, Boolean& wasXorMagicAuxOut) at Microsoft.Exchange.Rpc.ExchangeClient.ExchangeRpcClient.EcDoConnectEx(IntPtr& contextHandle, String userDn, Int32 flags, Int32 sizeLimit, Int32 conMod, Int32 cpid, Int32 lcidString, Int32 lcidSort, Int32 sessionIdLink, Boolean canConvertCodePages, TimeSpan& pollsMax, Int32& retryCount, TimeSpan& retryDelay, String& dnPrefix, String& displayName, Int16[] clientVersion, Int16[]& serverVersion, Int16[]& bestVersion, Int32& timeStamp, Byte[] auxIn, Boolean compressAuxIn, Boolean xorMagicAuxIn, Byte[]& auxOut, Int32 maxSizeAuxOut, Boolean& wasCompressedAuxOut, Boolean& wasXorMagicAuxOut) at Microsoft.Exchange.Monitoring.MailboxTask.<>c__DisplayClassb.<Connect>b__a() at Microsoft.Exchange.Monitoring.OutlookConnectivityContext.RpcExceptionWrapper(Func`1 protectedCall) VERBOSE: [19:08:36.599 GMT] Test-OutlookConnectivity : EcDoConnectEx Result: '1722' VERBOSE: [19:08:36.599 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' PFEXCAS01.FVE.AD.... PFEXCAS01.internal.domain.name.com Mailbox::Connect. Failure -1.00 VERBOSE: [19:08:36.615 GMT] Test-OutlookConnectivity : RPC Endpoint = 'PFEXCAS01.internal.domain.name.com' VERBOSE: [19:08:36.615 GMT] Test-OutlookConnectivity : This step was skipped. This may have been caused by the failure in a previous scenario. Operation = 'MailboxTask::Logon'. PFEXCAS01.FVE.AD.... PFEXCAS01.internal.domain.name.com Mailbox::Logon. Skipped -1.00 VERBOSE: [19:08:36.615 GMT] Test-OutlookConnectivity : Admin Audit Log: Entered Handler:OnComplete. VERBOSE: [19:08:36.615 GMT] Test-OutlookConnectivity : Ending processing &
这是一个愚蠢的configurationHeisenbug的某种。 registryconfiguration正确的RPC,问题不是特定于OAB,这只是检查的第一件事。 它重新启动了CAS服务器以使其正常工作。
此外,真正的根本原因是我最近安装了第三台CAS服务器作为testing,而不是arrays。 我为公共URL提供了虚拟值,这些虚拟值是无法访问的,出于某种原因(希望我知道)写入Autodiscover。 我从该testing机器中卸载了CASangular色,并清除了自动发现,但在重新启动剩余的CAS服务器之前仍然遇到RPCP问题。