Exchange 2013 Architecture
Exchange 2013 Architecture
Disclaimer
2012 Microsoft Corporation. All rights reserved. Microsoft, Office 365, and other product and service names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda Agenda
Geo affinity
Versioning User partitioning
External SMTP servers Mobile phone Web browser Outlook (remote user)
Layer 7 LB
MBX Ex
SAN
MBX Ex
2007
Separate roles for ease of deployment and mgmt. segmentation Support cheaper storage
2010
Separate HA solutions for each role Introduced the DAG Rich management experience using RBAC Leaves resources on the ground in each role
2013
Simplify for scale, balanced utilization, isolation Integrate HA for all roles Simplify network architecture
LB
Ex
SAN
Ex Ex
CAS MBX
HT MBX
L7 LB
Ex
Benefits
Hardware efficiency Deployment simplicity Low friction cross-version inter-op Failure isolation
Enterprise Network
Forefront Online Protection for Exchange
Edge Transport Routing and AV/AS
CAS Array
CAS CAS CAS CAS CAS
DAG
MBX MBX MBX MBX MBX
AD
External SMTP servers Mobile phone Web browser Outlook (remote user)
Loosely coupled
Layer 4LB
EWS
Transport
Custom WS
Transport
EWS
Assistants
Business Logic
XSO
Mail Item
Banned E2010
XSO
Mail Item
CTS
Other API
CTS
Other API
Storage
Store
Content index
Store ESE
ESE
File system
Server1 (Vn)
Server2 (Vn+1)
Functional Layering
E2010 Architecture
Hardware LB
E2013 Architecture
CAS2013
L7LB
CAS, HT, UM
MBX2013
MBX
CAS
This means that Transport transcoding is occurring on the Mailbox server etc
DAG1
MBX-A
MBX-B
Redirect
UM
SMTP Transport UM
MBX2013
Outlook Connectivity
What are the benefits?
RPCProxy.dll
Does not require a RPC CAS array namespace for the DAG No longer have to worry about The Exchange administrator has made a change that requires you to quit and restart Outlook during mailbox moves or *over events Extremely reliable and stable connectivity model the RPC session is always on the MBX2013 server hosting the active database copy
What changes?
RPC end point for Outlook client is now a GUID (and SMTP suffix) Support for internal and external Outlook Anywhere namespaces
The MAPI/CDO download will be updated to include support for RPC/HTTP connectivity
Will require third-party application configuration; either by programmatically editing a dynamic MAPI profile or setting registry keys Legacy environments can continue to use RPC/TCP
HTTP
Load Balancer
Site Boundary
CAS
IIS HTTP Proxy
HTTP
Load Balancer
Site Boundary
CAS
IIS HTTP Proxy
HTTP HTTP
MBX
Protocol Head DB Local Proxy Request
MBX
Protocol Head DB
MBX
Protocol Head DB
Trade-Offs
Sue
mail.contoso.com
Sue
(traveling in APAC)
VIP #1
VIP #2
VIP #3
VIP #4
DAG
DAG
Deployment flexibility
A server that hosts all the components that process, render and store the data Clients do not connect directly to MBX2013 servers; connectivity is through CAS2013 Evolution of E2010 DAG
Collection of servers that form a HA unit Databases are replicated between servers in a given DAG Servers can be in different locations, for site resiliency Maximum of 16 Mailbox servers 50 database copies / server
MBX1
MBX2
MBX16
Replication service initiates failovers and is responsible for issuing mount/dismount operations Store service process/controller manages the store worker processes Each database has its own Store worker process
DB IOPS/Mailbox
+99%
reduction!
0
Exchange 2003 Exchange 2007 Exchange 2010 Exchange 2013
4 Years
156000
11.2 GB
Provides
Significantly improved query performance compared to E2010 Significantly improved indexing performance compared to E2010
Feature parity with E2010 search Leverages the same cmdlets like Get-MailboxDatabaseCopyStatus
Exchange Indexing
MBX2013
Transport Transport
Log
DB
Reliable Event
Read Content
Log
DB
Idx
Idx
Public Folders
Dawn of a New Age
Architectural bet Details
Private logon Public Logon Public logon
CAS 2013
Hierarchy Mailbox Content Mailbox
MBX2013
MBX2013
MBX2013
Hierarchy is stored in PF mailboxes (one writeable) Content can be broken up and placed in multiple mailboxes The hierarchy folder points to the target content mailbox Uses same HA mechanism as mailboxes No separate replication mechanism Single-master model Similar administrative features to current PFs (setting quota, expiry, etc.) No end-user changes (looks just like todays PFs)
Not all public folder usage scenarios are best served by public folders
Transport Architecture
Functions as a layer 7 proxy and has full access to protocol conversation Will not queue mail locally and will be completely stateless All outbound traffic appears to come from the CAS2013 Listens on TCP25 and TCP587 (two receive connectors)
1. New SMTP Connection 2. CAS performs envelope filtering 3. CAS determines route to best MBX server 4. Message delivery begins 1. If successful, CAS returns 250 OK acknowledgement to external server 2. If unsuccessful, CAS returns 421 response
Mailbox Transport is stateless and does not have a persistent storage mechanism Mailbox Transport performs content conversion
Routing Optimizations
Next hop selection is broken down into distinct delivery groups:
Routable DAG Mailbox Delivery Group Connector Source Servers AD Site (Hub Sites; Edge Subscriptions) Server list (DG expansion servers)
Queuing is per delivery group, connector, or mailbox Once message is received at final destination, Transport will deliver the message via SMTP to Mailbox Transport on the server hosting the active database copy Send/Delivery-Agent Connectors can have source servers from multiple DAGs or AD Sites, and can be proxied through CAS
Mail Delivery
CAS / MBX DAG MBX-1
SMTP
MBX-2
Transport
Mailbox Transport
MAPI
SMTP
SMTP
Transport
Mailbox Transport DB1 DB2
DB1
DB2
Managed Availability
Monitoring and recovery infrastructure is integrated with Exchanges high availability solution Detects and recovers from problems as they occur and are discovered Is user focused if you cant measure it, you cannot monitor it
Managed Availability
LB CAS-1 DAG
MBX-1
OWA
DB1
DB2
MBX-2
CAS-2
OWA
DB1
DB2
MBX-3 OWA
DB1
DB2
Resubmits due to transport DB loss or MDB *over are fully automatic and do not require any manual involvement
SMTP 250 OK
R1, R2, R3
CAS2013 or MBX2013
Transport HA
250 OK
1. Maintain a copy of the message in the queue database but dont acknowledge the DATA verb 2. Generate a shadow copy on another MBX2013 server in the DAG (remote site preferred) 3. Wait for acknowledgement from the shadow server 4. Send acknowledgement to SMTP client 5. Delete message from queue after SafetyNet threshold has expired
Transport
R1 R1,R3 R2, R3 R2
Transport
Mail.que Mail.que
Transport
Mail.que
Transport
Mail.que
MBX Transport
250 OK
MBX Transport
MBX Transport
MBX Transport
Store
DB 1 DB 2
Log
Store
Site Boundary
DB 1
Log
Store
DB 1
Log
Store
DB 1
Log
MBX1
DB 2
MBX2
250 OK
DB 2
Log
MBX3
DB 2
Log
MBX4
R3
Transport
Mail.que
Transport
Mail.que
Transport
Mail.que
Mail.que
MBX5
DB 4
MBX6
DB 4
MBX7
DB 4
MBX8
Facilitates deployments at all scales from self-hosted small organizations to Office 365 Provides more flexibility in namespace management
All core Exchange functionality for a given mailbox is served by the MBX2013 server where that mailboxs database is currently activated Simplifies the network layer Transport protection is built-in
All components in a given server upgraded together No need to juggle with CAS <-> MBX versions separately
Utilize CPU core increase, cheaper RAM Utilize capacity effectively Fewer disks/server => simpler server SKUs
Thank you!