Client Access Server Microsoft® Internet Explorer®, Mozilla Firefox™, Safari® OWA & ECP Mobile Devices EAS Outlook®, Entourage®, LOB apps EWS Outlook, Entourage, Line-of-Business (LOB) apps, Mobile Devices Outlook Outlook from the Internet Thunderbird Outlook Outlook Autodiscover Offline Address Book download Outlook Anywhere POP/IMAP RPC Client Access Service Address Book Service RPC Mailbox Server Lightweight Directory Access Protocol (LDAP) Domain Controller Proxied HyperText Transfer Protocol (HTTP) Other CAS Server Exchange Components (EWS, Outlook, other MAPI clients ActiveSync®, UM, OWA, Mailbox Agents, Transport Agents) Entourage, 3rd party apps ActiveSync, UM, OWA, Mailbox Agents, Transport Agents) Entourage, party apps MAPI RPC Store DAV* Middle Tier 3rd Exchange Business Logic Exchange Core Business Logic MAPI, RFR & NSPI RPC Mailbox Mailbox Middle Tier Outlook, other MAPI clients Exchange Business Logic Exchange Components (EWS, MAPI RPC Store Outlook Clients Exchange CAS Array MBX GC Exchange Components (EWS, Mailbox Middle Tier Client saves item (new or existing) ActiveSync, UM, OWA, Mailbox Agents, Transport Agents) Exchange Business Logic Exchange Core Business Logic MAPI, RFR & NSPI RPC MAPI RPC Store On Save: • If it’s a meeting message, make a copy in the Calendar Logging folder • If the Save is a Delete, make a copy in the Recoverable Items folder Open Mailbox: /o=contoso/ou=First Administrative Group/cn=Recipients/cn=user1/guid=3F2504E 0-4F89-11D3-9A0C-0305E82C3301 Mailbox Middle Tier Return archive mailbox session Exchange Business Logic Exchange Core Business Logic MAPI, RFR & NSPI RPC MAPI RPC Store Parse the legacy DN: does this object represent a regular mailbox or an archive? • If a regular mailbox, perform regular AD DS lookup and return the mailbox • If an archive, look up the primary mailbox and return the associated archive Outlook Outlooktries triesto reconnect again Outlook1 Outlook2 Outlook3 Load Balancer RPC Client Access Service CAS Array RPC Client Access Service RPC Client Access Service CAS Active Manager Fails Client Active Manager Client CAS1 Active Manager Client CAS2 CAS3 If failover is inActive progress AM Outlook’s DB failover Manager reconnect isDB complete Returns triggers Mailbox & AM new Where’s the returns old server & connect returns AM Server1 new request server fails mounted? MAPI RPC Store Disk Fails Active Manager Mailbox Server1 MAPI RPC Store Active Manager Mailbox Server2 DAG MAPI RPC Store Active Manager Mailbox Server3 MAPI RPC Store Active Manager Mailbox Server4 Home Server = CAS-PRI HT2010 CAS-Pri CAS-Sec HT2010 MBX-C MBX-D DAG MBX-A MBX-B RPCClientAccessServer = CAS-PRI Secondary Datacenter (SDC) Primary Datacenter (PDC) Outlook 2010 RPCClientAccessServer = CAS-PRI Outlook 2003 can’t update if source CAS is unavailable Outlook 2003 Outlook 2007 Outlook 2010 Autodiscover detects profile change Autodiscover detects profile change butand does updates thethe profile to to useuse new CAS not update profile new thearray RPC (requires CAS arrayrestart) value HT2010 CAS-Sec HT2010 MBX-C MBX-D CAS-Pri DAG MBX-A MBX-B Secondary Datacenter Autodiscover detects profile change profile to changeand but updates does notthe update the use new CASnew array profile to use the(requires RPC CAS restart) array value Primary Datacenter Outlook continues to use existing Home Server defined in the profile (CAS-PRI) After *over, manually change RPCClientAccessServer = CAS-SEC AD DS CAS Outlook NSPI Common Business Logic LDAP 4 3 CAS 2010 2 MBX 2010 GC AD DS Site 2 AD DS Site 1 1 CAS 2010 MBX 2010 GC NSPI RPC Add/Remove-DistributionGroupMember Set-Mailbox -PublicDelegates Set-Mailbox -UserCertificate -UserSMIMECertificate LDAP Active Directory Persistence: Required Persistence: Recommended Persistence: Not Required Outlook Web App Outlook Anywhere Offline Address Book Exchange Control Panel Activesync AutoDiscover Exchange Web Services Address Book Service POP3 RPC Client Access Service Remote PowerShell IMAP4 HTTP-Based Workloads Workload Outlook Web App Preferred Session Persistence Method 1. Client IP 2. App Cookie “UserContext” Exchange Control Panel Autodiscover RPC Client Access Exchange Address Book 1. Client IP 2. App Cookie “mxExchEcpCanary” 1. Client IP 2. Authorization HTTP header 1. Cookie 2. SSL ID 1. Client IP 2. No affinity/persistence 3. App Cookie “OutlokSession” 1. Client IP 2. SSL ID No affinity/persistence 1. Client IP 1. Client IP RPC Endpoint Mapper 1. Client IP Client IP Post Office Protocol (POP3) No affinity/persistence No affinity/persistence Internet Message Access Protocol (IMAP4) No affinity/persistence No affinity/persistence Exchange ActiveSync Exchange Web Services Outlook Anywhere TCP Socket Oriented Workloads Offline Address Book MSIT-Deployed Session Persistence Method Custom Script 1.) SSL Session ID until App Cookie “UserContext” is generated App Cookie “msExchEcpCanary” Authorization HTTP header App Cookie SSL Session ID (fallback) No affinity/persistence SSL ID No affinity/persistence Client IP Client IP http://europe.msteched.com/topic/list/