- Exchange Server에서 PartnerApplication 설정
"C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://pool01.koreare.com/metadata/json/1' -ApplicationType Lync"
- SFB 서버에서 서버간 인증구성
- SFB서버에서 Exchange 서버를 파트너어플리케이션으로 생성
New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl "https://autodiscover.koreare.com/autodiscover/metadata/json/1"
- SFB Server에서 테스트 진행(success면 성공)
PS C:\Users\administrator.KOREARE> Test-CsExStorageConnectivity -sipuri "iu@kore are.com" -Verbose 자세한 정보 표시: Successfully opened a connection to storage service at localhost using binding: NetNamedPipe. 자세한 정보 표시: Create message. 자세한 정보 표시: Execute Exchange Storage Command. 자세한 정보 표시: Processing web storage response for ExCreateItem Success., result=Success, activityId=9b682e2e-536a-481c-b8b9-749ad889ac7a, reason=. 자세한 정보 표시: Activity tracing: 2016-04-19 08:10:58.966 Lookup user details, sipUri=sip:iu@koreare.com, smtpAddress=iu@koreare.com, sid=S-1-5-21-1919050813-91945802-1330746039-1638, upn=iu@koreare.com, tenantId=00000000-0000-0000-0000-000000000000 2016-04-19 08:10:59.014 Autodiscover, send GetUserSettings request, SMTP=iu@koreare.com, Autodiscover Uri=https://autodiscover.koreare.com/autodiscover/autodiscover.svc, Web Proxy=<NULL> 2016-04-19 08:10:59.044 Autodiscover.EWSMA trace, type=AutodiscoverRequestHttpHeaders, message=<Trace Tag="AutodiscoverRequestHttpHeaders" Tid="82" Time="2016-04-19 08:10:59Z"> POST /autodiscover/autodiscover.svc HTTP/1.1 Content-Type: text/xml; charset=utf-8 Accept: text/xml User-Agent: ExchangeServicesClient/15.00.1005.003
</Trace>
2016-04-19 08:10:59.063 Autodiscover.EWSMA trace, type=AutodiscoverRequest, message=<Trace Tag="AutodiscoverRequest" Tid="82" Time="2016-04-19 08:10:59Z" Version="15.00.1005.003"> <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:a="http://schemas.microsoft.com/exchange/2010/Autodiscover" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <a:RequestedServerVersion>Exchange2013</a:RequestedServerVersion>
<wsa:Action>http://schemas.microsoft.com/exchange/2010/Autodiscover/Autodiscove r/GetUserSettings</wsa:Action>
<wsa:To>https://autodiscover.koreare.com/autodiscover/autodiscover.svc</wsa:To>
</soap:Header> <soap:Body> <a:GetUserSettingsRequestMessage xmlns:a="http://schemas.microsoft.com/exchange/2010/Autodiscover"> <a:Request> <a:Users> <a:User> <a:Mailbox>iu@koreare.com</a:Mailbox> </a:User> </a:Users> <a:RequestedSettings> <a:Setting>InternalEwsUrl</a:Setting> <a:Setting>ExternalEwsUrl</a:Setting> <a:Setting>ExternalEwsVersion</a:Setting> </a:RequestedSettings> </a:Request> </a:GetUserSettingsRequestMessage> </soap:Body> </soap:Envelope> </Trace>
2016-04-19 08:10:59.569 Autodiscover.EWSMA trace, type=AutodiscoverResponseHttpHeaders, message=<Trace Tag="AutodiscoverResponseHttpHeaders" Tid="82" Time="2016-04-19 08:10:59Z"> HTTP/1.1 200 OK Transfer-Encoding: chunked request-id: b628865a-b7b6-4244-886b-2bce32c62d2c X-CalculatedBETarget: ex16.koreare.com X-DiagInfo: EX16 X-BEServer: EX16 X-FEServer: EX16 Cache-Control: private Content-Type: text/xml; charset=utf-8 Date: Tue, 19 Apr 2016 08:10:59 GMT Set-Cookie: X-BackEndCookie=actas1(sid:S-1-5-21-1919050813-91945802-1330746039-1638|smtp:iu @koreare.com|upn:iu@koreare.com)=u56Lnp2ejJqBmZrHnc3KzJzSmcjNztLLzZ7I0p2bx57SnJ qdzs2dy8nGyczGgYHNz87J0s/K0s7Gq8/Hxc7PxcrGgZSQjZqejZrRnJCSgc8=; expires=Thu, 19-May-2016 08:10:59 GMT; path=/autodiscover; secure; HttpOnly Server: Microsoft-IIS/8.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET
</Trace>
2016-04-19 08:10:59.570 Autodiscover.EWSMA trace, type=AutodiscoverResponse, message=<Trace Tag="AutodiscoverResponse" Tid="82" Time="2016-04-19 08:10:59Z" Version="15.00.1005.003"> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1">http://schemas.microsoft.com/exchange/2010/Autodiscover/Au todiscover/GetUserSettingsResponse</a:Action> <h:ServerVersionInfo xmlns:h="http://schemas.microsoft.com/exchange/2010/Autodiscover" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <h:MajorVersion>15</h:MajorVersion> <h:MinorVersion>1</h:MinorVersion> <h:MajorBuildNumber>225</h:MajorBuildNumber> <h:MinorBuildNumber>41</h:MinorBuildNumber> <h:Version>Exchange2015</h:Version> </h:ServerVersionInfo> </s:Header> <s:Body> <GetUserSettingsResponseMessage xmlns="http://schemas.microsoft.com/exchange/2010/Autodiscover"> <Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ErrorCode>NoError</ErrorCode> <ErrorMessage /> <UserResponses> <UserResponse> <ErrorCode>NoError</ErrorCode> <ErrorMessage>오류가 없습니다.</ErrorMessage> <RedirectTarget i:nil="true" /> <UserSettingErrors /> <UserSettings> <UserSetting i:type="StringSetting"> <Name>InternalEwsUrl</Name> <Value>https://mail.koreare.com/EWS/Exchange.asmx</Value> </UserSetting> <UserSetting i:type="StringSetting"> <Name>ExternalEwsUrl</Name> <Value>https://mail.koreare.com/ews/exchange.asmx</Value> </UserSetting> <UserSetting i:type="StringSetting"> <Name>ExternalEwsVersion</Name> <Value>15.01.0225.000</Value> </UserSetting> </UserSettings> </UserResponse> </UserResponses> </Response> </GetUserSettingsResponseMessage> </s:Body> </s:Envelope> </Trace>
2016-04-19 08:10:59.605 Autodiscover, received GetUserSettings response, duration Ms=589, response=NoError 2016-04-19 08:11:01.697 Lookup user details, sipUri=sip:iu@koreare.com, smtpAddress=iu@koreare.com, sid=S-1-5-21-1919050813-91945802-1330746039-1638, upn=iu@koreare.com, tenantId=00000000-0000-0000-0000-000000000000 자세한 정보 표시: Items choice type: CreateItemResponseMessage. 자세한 정보 표시: Response message, class: Success, code: NoError. 자세한 정보 표시: Item: Microsoft.Rtc.Internal.Storage.Exchange.Ews.MessageType, Id: AAMkADM3YWM1NGU3LWI2ZmQtNGE3OS1iZjkxLWEyNWI3YzMyNzlkNABGAAAAAAASKHyaongGQoN9klK qwo7tBwDYpKMYqsX0T5qOmJzkL3KFAAAAlsY0AADYpKMYqsX0T5qOmJzkL3KFAAAK/EftAAA=, change key: CQAAABYAAADYpKMYqsX0T5qOmJzkL3KFAAAK+5Gs, subject: , body: . 자세한 정보 표시: Is command successful: True. Test passed. PS C:\Users\administrator.KOREARE> |
- SFB서버에서 Exchange 트러스트 어플리케이션 풀 생성 해줍니다.(하기는 미리 구성 되어 있어서 설정값만 수정 후 조회했습니다.)
또한 5199포트로 OutlookWebapp에 대한 트러스트어플리케이션 생성
- Exchange 서버에서 OCS 사용 설정
- Exchange 서버에서 IM(노란색 참조)
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>Set-OwaMailboxPolicy -Identity "Default" -InstantMessagingEn abled $True -InstantMessagingType "OCS" [PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>New-SettingOverride SetIMServerNameEX16 -Server EX16 -Compon ent OwaServer -Section IMSettings -Parameters @('IMServerName=pool01.koreare.com') -Reason "OWA IM config"
RunspaceId : 58f32e19-d237-4984-90e0-9cf1b5a618a9 ComponentName : OwaServer SectionName : IMSettings FlightName : ModifiedBy : koreare.com/Users/Administrator Reason : OWA IM config MinVersion : MaxVersion : FixVersion : Server : {EX16} Parameters : {IMServerName=pool01.koreare.com} XmlRaw : <S CN="OwaServer" SN="IMSettings" MB="koreare.com/Users/Administrator" R="OWA IM config"><Ss><S>EX1 6</S></Ss><Ps><P>IMServerName=pool01.koreare.com</P></Ps></S> AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) Name : SetIMServerNameEX16 DistinguishedName : CN=SetIMServerNameEX16,CN=Setting Overrides,CN=Global Settings,CN=koreare,CN=Microsoft Exchange,CN= Services,CN=Configuration,DC=koreare,DC=com Identity : SetIMServerNameEX16 Guid : dbccc5dc-b624-413b-8062-2eba1d7bebd1 ObjectCategory : koreare.com/Configuration/Schema/ms-Exch-Config-Settings ObjectClass : {top, msExchConfigSettings} WhenChanged : 2016-04-19 오후 5:53:43 WhenCreated : 2016-04-19 오후 5:53:43 WhenChangedUTC : 2016-04-19 오전 8:53:43 WhenCreatedUTC : 2016-04-19 오전 8:53:43 OrganizationId : Id : SetIMServerNameEX16 OriginatingServer : DC01.koreare.com IsValid : True ObjectState : Unchanged
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>New-SettingOverride SetIMCertificateThumbprintEX16 -Server E X16 -Component OwaServer -Section IMSettings -Parameters @('IMCertificateThumbprint=D2A9B625C0DD80B594AA0EE7039EB5D078D 2B586') -Reason "OWA IM Config"
RunspaceId : 58f32e19-d237-4984-90e0-9cf1b5a618a9 ComponentName : OwaServer SectionName : IMSettings FlightName : ModifiedBy : koreare.com/Users/Administrator Reason : OWA IM Config MinVersion : MaxVersion : FixVersion : Server : {EX16} Parameters : {IMCertificateThumbprint=D2A9B625C0DD80B594AA0EE7039EB5D078D2B586} XmlRaw : <S CN="OwaServer" SN="IMSettings" MB="koreare.com/Users/Administrator" R="OWA IM Config"><Ss><S>EX1 6</S></Ss><Ps><P>IMCertificateThumbprint=D2A9B625C0DD80B594AA0EE7039EB5D078D2B586</P></Ps></S> AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) Name : SetIMCertificateThumbprintEX16 DistinguishedName : CN=SetIMCertificateThumbprintEX16,CN=Setting Overrides,CN=Global Settings,CN=koreare,CN=Microsoft E xchange,CN=Services,CN=Configuration,DC=koreare,DC=com Identity : SetIMCertificateThumbprintEX16 Guid : f14fe273-9d77-49f5-9c8e-ec8cf8ade2b0 ObjectCategory : koreare.com/Configuration/Schema/ms-Exch-Config-Settings ObjectClass : {top, msExchConfigSettings} WhenChanged : 2016-04-19 오후 5:55:10 WhenCreated : 2016-04-19 오후 5:55:10 WhenChangedUTC : 2016-04-19 오전 8:55:10 WhenCreatedUTC : 2016-04-19 오전 8:55:10 OrganizationId : Id : SetIMCertificateThumbprintEX16 OriginatingServer : DC01.koreare.com IsValid : True ObjectState : Unchanged
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts>Get-ExchangeDiagnosticInfo -Server $ENV:COMPUTERNAME -Proces s Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh
RunspaceId : 58f32e19-d237-4984-90e0-9cf1b5a618a9 Result : <Diagnostics> <ProcessInfo> <id>2168</id> <serverName>EX16</serverName> <startTime>2016-04-15T00:28:38.8612397Z</startTime> <currentTime>2016-04-19T08:55:56.1901401Z</currentTime> <lifetime>4.08:27:17.3289004</lifetime> <threadCount>24</threadCount> <handleCount>1198</handleCount> <workingSet>83.57 MB (87,633,920 bytes)</workingSet> </ProcessInfo> <Components> <VariantConfiguration> <Overrides Updated="2016-04-19 오전 8:55:58"> <SettingOverride> <Name>SetIMCertificateThumbprintEX16</Name> <Reason>OWA IM Config</Reason> <ModifiedBy>koreare.com/Users/Administrator</ModifiedBy> <ComponentName>OwaServer</ComponentName> <SectionName>IMSettings</SectionName> <Status>Accepted</Status> <Message>This override synced to the server but whether it applies to the services running on t his server depends on the override parameters, current configuration and the context.</Message> <Parameters> <Parameter>IMCertificateThumbprint=D2A9B625C0DD80B594AA0EE7039EB5D078D2B586</Parameter> </Parameters> </SettingOverride> <SettingOverride> <Name>SetIMServerNameEX16</Name> <Reason>OWA IM config</Reason> <ModifiedBy>koreare.com/Users/Administrator</ModifiedBy> <ComponentName>OwaServer</ComponentName> <SectionName>IMSettings</SectionName> <Status>Accepted</Status> <Message>This override synced to the server but whether it applies to the services running on t his server depends on the override parameters, current configuration and the context.</Message> <Parameters> <Parameter>IMServerName=pool01.koreare.com</Parameter> </Parameters> </SettingOverride> </Overrides> </VariantConfiguration> </Components> </Diagnostics> Identity : IsValid : True ObjectState : New
[PS] C:\Program Files\Microsoft\Exchange Server\V15\Scripts> |
- 클라이언트에서 OWA에 접속하여 Presence 상태가 나오는지 확인
- OWA에서 IM 테스트
'IT이야기 > S4B&Lync' 카테고리의 다른 글
[Lync/SFB] 사용자 Primary Server 찾는 쿼리 (0) | 2016.04.27 |
---|---|
[Lync/SFB]presence 정보 쿼리 (0) | 2016.04.27 |
Lync Server 2013 Standard Second Server 추가와 탄력적 백업풀 활당 방법 (0) | 2016.04.06 |
[SFB] peer to peer 기록 출력하는 파워쉘 (0) | 2016.04.01 |
[Lync/SFB] 정책 백업 및 복구 방법 (0) | 2016.03.25 |