Upload
nerys
View
39
Download
0
Embed Size (px)
DESCRIPTION
MSG311 Exchange 2007 Transport and Routing Architecture. What Customers Have Asked For?. Cheaper to Manage Zero Admin – More Automatic Configuration Eliminate Redundancy Transparent Routing – No Link State! Easy Mailflow Diagnosis Manage Bandwidth Avoid Unnecessary Hops - PowerPoint PPT Presentation
Citation preview
MSG311MSG311Exchange 2007 Transport and Exchange 2007 Transport and Routing ArchitectureRouting Architecture
What Customers Have Asked For?What Customers Have Asked For?
Cheaper to ManageCheaper to ManageZero Admin Zero Admin –– More Automatic Configuration More Automatic Configuration
Eliminate RedundancyEliminate Redundancy
Transparent Routing Transparent Routing –– No Link State! No Link State!
Easy Mailflow DiagnosisEasy Mailflow Diagnosis
Manage BandwidthManage BandwidthAvoid Unnecessary HopsAvoid Unnecessary Hops
Single Instance Over Slow ConnectionsSingle Instance Over Slow Connections
InteroperabilityInteroperabilityExchange 200x RG and RGC SupportExchange 200x RG and RGC Support
Exchange 200x EDK RoutingExchange 200x EDK Routing
Simple Foreign System InteropSimple Foreign System Interop
Exchange 200x Routing Exchange 200x Routing StrengthsStrengths
Queue @ Point of ProblemQueue @ Point of ProblemSo important we had to DCR it in So important we had to DCR it in Exchange 2000Exchange 2000
Bandwidth ControlBandwidth ControlVery hard because itVery hard because it’’s Mostly Manuals Mostly Manual
Delayed Fan-OutDelayed Fan-OutNecessary for Low-Bandwidth Connections Necessary for Low-Bandwidth Connections (e.g. Branch Office)(e.g. Branch Office)Saves BandwidthSaves Bandwidth
Reducing Cost & ComplexityReducing Cost & ComplexityExchange 2007 Server RolesExchange 2007 Server Roles
Hub Transport
MAPI RPCUser &
Config DataMailbox Server
Mailbox Server
MailboxServer
AD
Mailbox Server
Edge Transport
EdgeSync EdgeSync
Recip SMTP AddressesPer User SAFE Sender Lists
ETC.SecureLDAP
ADAM
User &Connector &Config Data
Hub Transport
MAPI RPC
Transport Event/Message API
AS SM MP SMAV
SMTPSubmission Queue
DeliveryQueue
SMTPReceive
SMTP
ReplayDirectory
SMTPSend
Exchange 2007 TransportExchange 2007 Transport
Drop Directory
Drop Directory
Non-SMTPConnector
ForeignSystem(Notes)
ForeignSystem
(e.g. Notes)
CAT
Systems Management (Tasks)
AD API
Exchange 2007 Mailbox
Submit(MAPI SMTP)
ADMAPI RPC
Delivery(SMTP MAPI)
MAPI RPC
ResolveRecips
AD rich Routing
ContentConv
Sending and Receiving MailSending and Receiving MailHub Transport and Mailbox Deployment Scenarios
One Hub & one MBX on the same physical machine
Multiple Hub & MBXs Roles (grouped by AD Sites)
Features:Hub will deliver to any MBX in local AD site
MBX will submit to any Hub in local AD Site (local Hub preferred)
All Mail is Routed through a Hub Role
Deterministic (without failure, system will always pick the same associations)
Hubs automatically Load Balance
Centralized remote admin via AD
Transport & RoutingTransport & Routing Direct RelayDirect Relay
Prefers direct IP Connectivity between Prefers direct IP Connectivity between source and destinationsource and destinationAvoid redundant intermediate machine Avoid redundant intermediate machine transferstransfersRely on IP Networks for reroute in case of Rely on IP Networks for reroute in case of network failuresnetwork failures
Deterministic RoutingDeterministic RoutingNo longer relies on Exchange up/down stateNo longer relies on Exchange up/down stateExchange 2007 doesnExchange 2007 doesn’’t consume or t consume or propagate Link State informationpropagate Link State information
Automatic ConfigurationAutomatic ConfigurationDefault connectorsDefault connectors
7
AD Site ! AD Site 3AD Site 2 AD Site 4
AD and IP Networks – Exchange AD and IP Networks – Exchange 20072007You’re Already Configured for You’re Already Configured for Mailflow!Mailflow!
Routing Group 1 Routing Group 2 Routing Group 3
From malcolmp@MBXBTo: lwarman@MBXG;
From malcolmp@MBXBTo: lwarman@MBXG;
Physical Network IP LayerPhysical Network IP LayerAlways used for mail transfer between two pointsAlways used for mail transfer between two points
AD Site AD Site –– Logical layer defining a physical grouping Logical layer defining a physical groupingDefines a back-off path used only if direct relay is not possibleDefines a back-off path used only if direct relay is not possible
Routing Groups Routing Groups –– Exchange specific logical layer Exchange specific logical layerDefines next hop resolution that is always used to advance mailDefines next hop resolution that is always used to advance mail
AD and IP Networks – Exchange AD and IP Networks – Exchange 20032003
In Exchange 2003, not In Exchange 2003, not usedused
Topology DescriptionsTopology Descriptions
Uses Logical Topology for Uses Logical Topology for Back-OffBack-Off only onlyQueue at the Point of FailureQueue at the Point of FailureBifurcation RequiredBifurcation RequiredForced through Hub SitesForced through Hub Sites
Windows Active Directory Sites for Windows Active Directory Sites for Logical Topology DescriptionLogical Topology Description
Uses Active Directory Sites, IP Site Links, IP Uses Active Directory Sites, IP Site Links, IP Site Link CostingSite Link CostingThe world is no longer an X.400 The world is no longer an X.400 architecturearchitectureNo Exchange specific Configuration No Exchange specific Configuration requiredrequired
9
Exchange 200x vs Exchange Exchange 200x vs Exchange 20072007
10
Exchange 200xExchange 200x Exchange 2007Exchange 2007
Spending unnecessary Spending unnecessary resources when delivering resources when delivering messagesmessagesNo leverage of networkNo leverage of network
Direct relayDirect relay
Leverage IP Network for Leverage IP Network for RerouteReroute
Necessary to design routing Necessary to design routing topologytopology
Leverage AD Site topologyLeverage AD Site topology
Necessary to configure Necessary to configure routing group connectorsrouting group connectors
Automatic creation of Automatic creation of connectorsconnectors
Not always transparent how Not always transparent how routing decisions are maderouting decisions are madeUsage of bandwidth to Usage of bandwidth to exchange routing informationexchange routing information
Transparent routing tableTransparent routing tableNo exchange of Link State No exchange of Link State informationinformation
Queue at point of FailureQueue at point of Failure Queue at point of failureQueue at point of failure
Exchange 200x vs Exchange Exchange 200x vs Exchange 20072007
11
Exchange 200xExchange 200x Exchange 2007Exchange 2007
Need to configure Need to configure restrictions for each restrictions for each connectorconnector
Global Transport RulesGlobal Transport Rules
No automatic way to No automatic way to configure routing connectorsconfigure routing connectors
Enterprise DeploymentEnterprise DeploymentEdgeSyncEdgeSync
No mechanism for No mechanism for troubleshooting mail flow troubleshooting mail flow problemsproblems
Mail Flow Troubleshooting Mail Flow Troubleshooting Wizard ExMFA based on Wizard ExMFA based on ExBPA technologyExBPA technology
Difficult to implement Difficult to implement compliance rulescompliance rules
Easy and very comprehensive Easy and very comprehensive compliance infrastructurecompliance infrastructure
Difficult to implement and Difficult to implement and troubleshoot Event Sinkstroubleshoot Event Sinks
New Agent concept and New Agent concept and agents can be implemented agents can be implemented in managed codein managed code
Cos
t = 1
00
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost =
100 C
ost =
100
Cost = 100
Cost = 100
Site 1 Site 2
Site 3
Site 11
Site 12
Site 13
Site 21
Site 22
Site 23
Site 31 Site 32 Site 33
Direct Connect
Backoff Route #1Backoff Route #2
Final Backoff
Originator
Recipient #1
““BestBest”” Route Between AD Sites Route Between AD Sites
Cos
t = 1
00
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost =
100
Co
st = 100
Cost = 100
Cost = 100
Site 1 Site 2
Site 3
Site 11
Site 12
Site 13
Site 21
Site 22
Site 23
Site 31 Site 32 Site 33
Bifurcation effect on routing Bifurcation effect on routing (#1)(#1)
Direct Connect Direct Connect
Direct Connect
Bifurcate
Originator
Recipient #2
Recipient #1
Cos
t = 1
00
Cost = 100
Cost = 300
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost =
100
Co
st = 100
Cost = 100
Cost = 100
Site 1 Site 2
Site 3
Site 11
Site 12
Site 13
Site 21
Site 22
Site 23
Site 31 Site 32 Site 33
Bifurcation effect on routing Bifurcation effect on routing (#2)(#2)
Direct Connect Direct Connect
Direct Connect
Bifurcate
Originator
Recipient #2
Recipient #1
Cos
t = 1
00
Cost = 100
Cost = 300
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost =
100 C
ost =
100
Cost = 100
Cost = 100
Site 1 Site 2
Site 3
Site 11
Site 12
Site 13
Site 21
Site 22
Site 23
Site 31 Site 32 Site 33
Explicit Hub SitesExplicit Hub Sites
Direct Connect Direct Connect
Direct Connect
Bifurcate
Originator
Recipient #2
Recipient #1
Site1, Site2 and Site3 all designated as explicit hub sites
Direct Connect
Direct Connect
Allow/DenyAllow/DenyBlock unwanted Block unwanted mail flow with mail flow with Rules EngineRules Engine
InternalInternalAll stakeholders All stakeholders are internal to the are internal to the forestforestInformation wall Information wall Content Content restrictionsrestrictions
ExternalExternalAt least one of the At least one of the senders and/or senders and/or recipients is recipients is outside the forestoutside the forestContent Content restrictionsrestrictions
Global ConfigurationGlobal ConfigurationBoth internal and Both internal and externalexternalRouting / priority Routing / priority decisionsdecisions
E2K3 RG 2
Backbone
AD Site 3
Ex 2007Mailbox I Ex 2007
Mailbox F
Ex 2007 Hub Transport
AD
AD Site 4
Ex 2007 Mailbox C
Ex 2007 Mailbox D
Ex 2007 Hub Transport AD
Ex 2007 Hub Transport
Ex 2007 Mailbox E
AD Site 0
AD Site 2
AD Site 1AD Site 8
AD Site 6
AD Site 9
AD Site 10
AD Site 5
Ex 2007 Mailbox A
Ex 2007 Mailbox B
Ex 2007 Hub Transport AD
South America
North America
Europe
E2K3 RG 1
E2K3 MBX and Gateway
Server
E2K3 X.400Server
AD
Ex 2007 Edge
Transport
AD Site 7
AD
Internet
Ex 2007 Mailbox G
Ex 2007Hub
Transport
E2K3 MBX Server
ADAD
AD
AD
AD
AD
Cheaper to ManageCheaper to ManageManaging Mailflow RestrictionsManaging Mailflow Restrictions
InteroperabilityInteroperabilityExchange 2003 and Foreign GatewaysExchange 2003 and Foreign Gateways
Exchange 2003 Routing Groups and Exchange 2003 Routing Groups and Connectors supportedConnectors supported
SMTPSMTPRouting Group ConnectorsRouting Group Connectors
Exchange 2007 as the Routing backboneExchange 2007 as the Routing backboneExchange 2003 Routing Groups and Exchange Exchange 2003 Routing Groups and Exchange 2007 Branch Offices route through Exchange 2007 2007 Branch Offices route through Exchange 2007 backbonebackboneExchange 2003 never in the Exchange 2007 Exchange 2003 never in the Exchange 2007 backbonebackboneExchange 2007 servers never use Exchange 2003 Exchange 2007 servers never use Exchange 2003 servers as a mail routing backboneservers as a mail routing backbone
Foreign GatewaysForeign GatewaysGDK/EDK via Exchange 2003GDK/EDK via Exchange 2003Foreign Connector Gateways in Exchange 2007Foreign Connector Gateways in Exchange 2007
Exchange 2007 Coexistence with Exchange 2007 Coexistence with Exchange 2000 and Exchange Exchange 2000 and Exchange 20032003
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost = 100
Cost =
100
Cost = 100
Site 1 Site 2
Site 3Site 11
Site 12
Site 13
Site 21
Site 22
Site 23
Exchange Routing Group (DWBGZMFD01QNBJR)
RG13 RG1 RG2 RG23
RGCCost=10
RGCCost=10
RGCCost=10
E2K7
E2K7
E2K7
RGCCost=10
RGCCost=10
RGCCost=10
RGCCost=10
Originator
Recipient #1
Disable Link State on all E2K/E2K3 Servers
E2K7
E2K7
E2K7
E2K7
E2K7
E2K7
E2K7 E2K7
E2K7
E2K7
Recipient #2
Bifurcate
Disable the Ability of Links to Disable the Ability of Links to Marked as Up or DownMarked as Up or Down
SuppressStateChanges SuppressStateChanges REG_DWORD = 0 or REG_DWORD = 0 or non-zeronon-zero
0 = Normal operation 0 = Normal operation [Default][Default]
non-zero = Suppress non-zero = Suppress link state changeslink state changes
If set to non-zero, this registry setting will If set to non-zero, this registry setting will suppress all minor link state changes on this suppress all minor link state changes on this server. This property will prevent up/down status server. This property will prevent up/down status from being propagated. from being propagated.
Open a registry editor, such as Regedit.exe or Open a registry editor, such as Regedit.exe or Regedt32.exe;Regedt32.exe;Navigate to Navigate to HKLM\System\CurrentControlSet\Services\RESvc\HKLM\System\CurrentControlSet\Services\RESvc\Parameters;Parameters;Right-click Parameters and select New | DWORD value. Right-click Parameters and select New | DWORD value. Name the new DWORD value Name the new DWORD value SuppressStateChanges;SuppressStateChanges;Double-click Double-click SuppressStateChanges;SuppressStateChanges;In the In the Value dataValue data field, enter field, enter 11;;Close the registry editor and then restart the Simple Mail Close the registry editor and then restart the Simple Mail Transfer Protocol (SMTP), the Microsoft Exchange Routing Transfer Protocol (SMTP), the Microsoft Exchange Routing Engine, and the Microsoft Exchange MTA Stacks services Engine, and the Microsoft Exchange MTA Stacks services for the change to take effect. for the change to take effect.
European AD Site
Europe RG
Server BExchange 2003
North American AD Site
Northamerica RG
Server AExchange 2003
Migrating to Exchange 2007Migrating to Exchange 2007
Exchange 2007 RG
Server CExchange 2007Hub Transport
2 2
Server CExchange 2007
Mailbox
Server DExchange 2007Hub Transport
206
2 2
ServersServers BB CC DD
AA
CostCost 1.01.0 2.02.0 2.202.2066
RoutRoutee
A-BA-B A-CA-C A-C-A-C-DD
BB
CostCost 2.202.2066
2.02.0
RoutRoutee
B-D-B-D-CC
B-DB-D
CC
CostCost 0.200.2066
RoutRoutee
C-DC-D
Start: Exchange 2003 onlyStart: Exchange 2003 onlyIntroduce the North America Exchange Introduce the North America Exchange 2007 Hub Transport servers. Creates the 2007 Hub Transport servers. Creates the Exchange 2007 RG that spans all AD Sites.Exchange 2007 RG that spans all AD Sites.
Add the North America Exchange 2007 Add the North America Exchange 2007 Mailbox ServersMailbox ServersAdd the North American RG / Exchange Add the North American RG / Exchange 2007 RG Routing Group Connectors:2007 RG Routing Group Connectors:
Use the new-RoutingGroupConnector taskUse the new-RoutingGroupConnector task
Add the Europe Hub Transport serversAdd the Europe Hub Transport serversThe North American Hub and European Hub The North American Hub and European Hub Transport servers will use existing IP Site Links;Transport servers will use existing IP Site Links;
The existing IP Site Link Cost is used.The existing IP Site Link Cost is used.
Add the European RG / Exchange 2007 Add the European RG / Exchange 2007 RG Routing Group ConnectorsRG Routing Group ConnectorsThe Exchange 2007 Routing Engine knows The Exchange 2007 Routing Engine knows about Exchange 200x RGC Costs and uses an about Exchange 200x RGC Costs and uses an Exchange 2007 preference modelExchange 2007 preference model
Exchange 2007 Costing Model: E2K3Cost.E2K7CostExchange 2007 Costing Model: E2K3Cost.E2K7Cost
Avoids Loops for deterministic routing tablesAvoids Loops for deterministic routing tables
11
Foreign Connectors on Exchange Foreign Connectors on Exchange 20072007Creating the installationCreating the installation
Add custom action to create the NonSMTPConnector in ADAdd custom action to create the NonSMTPConnector in AD
Create the drop folder with the correct permissionsCreate the drop folder with the correct permissions
Use .net FileSystemWatcher class to monitor Exchange drop folderUse .net FileSystemWatcher class to monitor Exchange drop folder
Receiving a message from Exchange:Receiving a message from Exchange:MIME data streams in dropped .eml filesMIME data streams in dropped .eml files
Unpack message data and access propertiesUnpack message data and access properties
Submitting a message to Exchange:Submitting a message to Exchange:Create envelope .eml file in pickup/replay directoryCreate envelope .eml file in pickup/replay directory
Build the list of the required MAPI propertiesBuild the list of the required MAPI properties
Managed Objects provided with Exchange 2007:Managed Objects provided with Exchange 2007:Native encapsulation and de-encapsulation of custom address Native encapsulation and de-encapsulation of custom address typestypes
Message body conversion routines (e.g. RTF to TEXT, HTML, etc.)Message body conversion routines (e.g. RTF to TEXT, HTML, etc.)
Add management UI using monad extension interfacesAdd management UI using monad extension interfaces
X.400 Bridgehead onX.400 Bridgehead onExchange 2007 (Boldon James)Exchange 2007 (Boldon James)
Experience:Experience:““Compared to developing EDK applications Compared to developing EDK applications this was a much simpler and this was a much simpler and cleanercleaner solution, eliminating the complex solution, eliminating the complex legacy MAPI programming and data legacy MAPI programming and data structures required to implement structures required to implement equivalent functionality when developing equivalent functionality when developing against the 2003 platform.against the 2003 platform.””
““The development was surprisingly The development was surprisingly straightforward.straightforward.””
Added the analogous X.400 capability of Added the analogous X.400 capability of Exchange 2003 in a month with one Exchange 2003 in a month with one dev and one testdev and one test
ResourcesResourcesTechnical Chats and Webcastshttp://www.microsoft.com/communities/chats/default.mspx http://www.microsoft.com/usa/webcasts/default.asp
Microsoft Learning and Certificationhttp://www.microsoft.com/learning/default.mspx
MSDN & TechNet http://microsoft.com/msdnhttp://microsoft.com/technet
Virtual Labshttp://www.microsoft.com/technet/traincert/virtuallab/rms.mspx
Newsgroupshttp://communities2.microsoft.com/communities/newsgroups/en-us/default.aspx
Technical Community Siteshttp://www.microsoft.com/communities/default.mspx
User Groupshttp://www.microsoft.com/communities/usergroups/default.mspx
session evaluationsession evaluation