Welcome to the Exchange, Office & Office 365 Workshop Hans Demeyer Outlook Web App Outlook EAS EAC PowerShell POP/IMAP SMTP SIP Load Balancer Redirect IIS Client Access POP, IMAP HTTP Proxy SMTP SMTP POP, IMAP HTTP UM IIS RpcProxy RPS RPC CA OWA, EAS, EWS, ECP, OAB POP IMAP Transport Mailbox MDB MailQ UM SIP + RTP A Single Common Namespace Example Geographical DNS Solution Sue DNS Resolution Round-Robin between # of VIPs VIP #1 DAG Sue mail.contoso.com (somewhere in NA) DNS Resolution via Geo-DNS Round-Robin between # of VIPs VIP #2 VIP #3 DAG (traveling in APAC) VIP #4 11 HTTP HTTP IIS IIS CAS HTTP Protocol Head DB Cross-Site Proxy Request HTTP Proxy CAS HTTP Protocol Head Site Boundary Layer 4 LB Site Boundary Layer 4 LB HTTP Proxy DB MBX 12 HTTP Local Proxy Request IIS HTTP Proxy CAS Protocol Head DB MBX OWA Cross-Site Redirect Request MBX Exchange 2010 Legacy Coexistence HTTP Layer 4 LB Layer 7 LB HTTP Proxy Exchange 2010 CAS CAS 2013 RPC Store Protocol Head DB DB MBX 13 MBX 2013 Site Boundary IIS Protocol Head OWA Cross-Site Redirect Request Protocol Head E2010 CAS RPC Store DB MBX Cross-Site Proxy Request Legacy Coexistence 14 Protocol E2007 user accessing E2010 namespace E2007 user accessing E2013 namespace E2010 user accessing E2013 namespace Requires Legacy Namespace Legacy Namespace No additional namespaces OWA • Same AD site: silent or SSO FBA redirect • Externally facing AD site: manual or silent/SSO cross-site redirect • Internally facing AD site: proxy Silent redirect (not SSO) to CAS 2007 externally facing URL • Proxy to CAS 2010 • Cross-site silent redirect (not SSO), which may redirect to CAS 2010 or CAS 2013 Exchange ActiveSync • EAS v12.1+ : Autodiscover & redirect • Older EAS devices: proxy Proxy to MBX 2013 Proxy to CAS 2010 Outlook Anywhere Direct CAS 2010 support Proxy to CAS 2007 Proxy to CAS 2010 Autodiscover Exchange 2010 answers Autodiscover query for 2007 User Exchange 2013 answers Autodiscover query for 2007 User Proxy to CAS 2010 EWS Uses Autodiscover to find CAS 2007 EWS External URL Uses Autodiscover to find CAS 2007 EWS External URL Proxy to CAS 2010 POP/IMAP Proxy Proxy to CAS 2007 Proxy to CAS 2010 OAB Direct CAS 2010 support Proxy to CAS 2007 Proxy to CAS 2010 RPS n/a n/a Proxy to CAS 2010 ECP n/a n/a • Proxy to CAS 2010 • Cross-site redirect, which may redirect to CAS 2010 or CAS 2013 What you need to control connectivity flow 15 18 External SMTP External SMTP Front-End Transport Pipeline SMTP Receive SMTP Send Protocol Agents Hub Selector SMTP from MBX 2013 19 SMTP to MBX 2013 20 1. FET accepts initial SMTP conversation if source passes connection filtering 2. FET determines the recipient type/location via hub selector 3. Proxies the message to the appropriate destination 21 1. MBX 2013 determines if mail recipient is a remote destination and selects a FET within local site if the FrontEndProxyEnabled parameter on Send Connector is set to $true 2. MBX 2013 connects to FET and initiates SMTP conversation 3. FET proxies outbound connection to appropriate destination 22 100 GB System Memory Per DB cache usage in Megabytes 10 Active DBs 0 Passive DBs 10 Max Allowed Active DBs Other, IIS, EAS, OWA, OS, etc… 50GB 2560 2560 2560 Search Foundations Cache ~25GB ESE Cache ~25GB 2560 2560 2560 2560 31 2560 2560 2560 100 GB System Memory Other, IIS, EAS, OWA, OS, etc… 50GB Per DB cache usage in Megabytes 5 Active DBs 5 Passive DBs 10 Max Allowed Active DBs DB1, 2560 DB2, 2560 Search Foundations Cache ~25GB Remaining Pool, 14336 DB3, 2560 DB4, 2560 ESE Cache ~25GB DB5, 2560 DB7, DB9, 512 DB10, 512 DB8, 512 512 DB6, 512 100 GB System Memory Other, IIS, EAS, OWA, OS, etc… 50GB Search Foundations Cache ~25GB Per DB cache usage in Megabytes 5 Active DBs 5 Passive DBs 5 Max Active DBs Allowed 853 853 853 853 4267 853 4267 4267 ESE Cache ~25GB 4267 4267 4 0.70 3.99 3.75 3.5 0.60 3.16 3.09 3 0.50 2.5 0.40 18 | 41% Average RPC Latency reduction 2.35 0.65 2 1.5 0.30 1 0.20 0.74 0.5 0.16 0.10 0 0.00 DB IOPS/MAILBOX 36 E14SP1 E15 Build 466 RPC AVERAGE LATENCY Online | Cached Modes 48 | 76% IOPS reduction (disk IOPS capacity not expected to change) MCYCLES PER RPC PACKET E14SP1 STORE MEMORY PER MAILBOX (MB) E15 Build 466 17 | 34% increase in CPU per RPC processed (offset by additional CPU cores) ~4X increase in store memory overhead (~4GB vs. ~1GB not including ESE cache) DB IOPS/Mailbox ~95.5% Reduction! 1 0.8 Exchange 2003 0.6 Exchange 2007 Exchange 2010 0.4 Exchange 2013 0.2 0 Exchange 2003 Exchange 2007 Exchange 2010 Exchange 2013 1 Day 150 11 MB 1 Month 3300 242 MB 1 Year 39000 2.8 GB 2 Years 78000 5.6 GB 4 Years 156000 11.2 GB Public Private logon logon Public logon CAS2013 Hierarchy Mailbox MBX 2013 Content Mailbox MBX 2013 MBX 2013 Incoming Documents Incoming Queries CTS Filter Word Break “CTS Flow” IMS Content XForm MARS Writer Content XForm Query Parse “IMS Flow” Core Catalog Transport Transport CTS Mailbox Store ExSearch CTS Index Node Mailbox Passive DB Idx Log DB Idx Log Read Content SMTP SMTP Transport Pipeline SMTP Receive Delivery Queue Protocol Agents SMTP Send Categorizer Pickup/Replay Submission Queue Routing Agents Delivery Agents for other protocols Delivery Queue SMTP from MBX Transport Delivery SMTP to MBX Transport Submission SMTP from Transport Service SMTP to Transport Service Mailbox Transport Pipeline SMTP Receive SMTP Send Hub Selector (Router) Store Driver Deliver MBX Deliver Agents Store Driver Submit MBX Assistants Mailbox Transport Delivery MBX Submit Agents Mailbox Transport Submission MAPI MAPI Mailbox Store 56 L4 Load Balancer time CAS2 CAS2 CAS1 Managed Availability = Monitoring + HA “Stuff breaks, but the Experience does not” DAG MBX1 DB1 DB1 OWA DB2 MBX2 DB1 OWA DB2 MBX3 DB1 OWA DB2 58 59 60 61 62 Building Blocks Flexible Scalable Simpler