420 likes | 705 Views
Exchange Hybrid Deployments: Stairway to Heaven or Highway to Hell?. Agenda. Hybrid deployment overview Hybrid Best-practices High Availability Common (known?) issues Troubleshooting. An overview of hybrid deployments…. Overview. Internet. Microsoft. DMZ. Internal Network.
E N D
Exchange Hybrid Deployments: Stairway to Heaven or Highway to Hell? #devconnections
Agenda • Hybrid deployment overview • Hybrid Best-practices • High Availability • Common (known?) issues • Troubleshooting #devconnections
An overview of hybrid deployments… Overview #devconnections
Internet Microsoft DMZ Internal Network Exchange Online Tenant Exchange on-prem Org. Rel / Intra-Org Conn. (Hybrid) Mail Flow Active Directory Auth. Azure AD Synchronization #devconnections
Many moving parts • It’s no longer only about Exchange. Many different components are involved: • Active Directory • Networking • Exchange • …
Many components • DirSync • Authentication • ADFS • Password Synchronization • Exchange Federation / oAuth • Security #devconnections
Words of wisdom to live by… or not?! Best Practices #devconnections
Best practice… Anyone? • No ‘defined’ best practice from Microsoft • Bunch of documents that describe the steps for setting up hybrid deployments • Mostly about keeping support statements in mind #devconnections
Deploying hybrid configs • Hybrid deployments can be build manually. But… • …use the Hybrid Configuration Wizard; it’s the only supported way! • Be prepared to get dirty. Being ready to run the HCW mostly means you’ve done 80% of the work already #devconnections
What’s this ‘hybrid’ server? • “On-premises (pre-existing) Exchange server ‘dedicated’ to interacting with Exchange Online” • Can be Exchange 2010 SP3+ or Exchange 2013 SP1+ • Adding a new hybrid server can be disruptive… #devconnections
Typical Deployment On-premMBX Cloud MBX Autodiscover.domain.com Mail.domain.com Autodiscover.domain.com Mail.domain.com Exchange 2007 (Multi-Role) Exchange2010/2013 (Multi-Role) #devconnections
Typical deployment • Great for long-term coexistence (keep on-premises indefinitely) • Requires namespace switch-over (more work) #devconnections
Hybrid Namespace On-premMBX Cloud MBX Autodiscover.domain.com Mail.domain.com Autodiscover.domain.com Exchange 2007 (Multi-Role) Exchange2010/2013 (Multi-Role) Hybrid.domain.com #devconnections
Hybrid namespace • Less intrusive as the ‘typical’ deployment • Ideal for migration purposes • No official statement on support though… #devconnections
What it takes to make a hybrid deployment highly available High Availability
High Availability • It’s not as easy as 1+1… • Topology depends on what features need to be highly available • Mail flow, Free/Busy, Mailbox Moves • Authentication • Connectivity • … #devconnections
Hybrid Server HA • Deploy at least two hybrid servers • Add site resiliency by deploying in two distinct physical locations • Load balance incoming requests through a LB device
Hybrid HA Setup (two sites) INTERNET Site 1 Site 2 Connectivity HA Load Balancer pair Exchange CAS/MBX Domain Controller Domain Controller Exchange CAS/MBX
DirSync • No need to deploy Highly Available • Can run w/o DirSync for a (short) period of time • You could deploy Active/Passive
Active Directory Federation Services • Critical to operations; No ADFS = No user logon possible • Must be deployed HA – in all possible ways • Deploy ADFS cluster; spread across sites to add site resiliency • Can be costly…
AD FS HA AD FS Topology Load Balancer AD FSProxy Load Balancer AD FS Domain Controller FW INTERNET AD FSProxy AD FS Domain Controller FW
Using Azure for Hybrid deployments • Leverage Azure VMs for ADFS and/or DirSync > increase availability • Better to deploy one (or more) Domain Controllers in Azure • Watch out for the VPN…
Azure Topologies Hybrid Azure Full Azure Deploy ADFS and/or DirSync in Azure only Leverage the VPN to connect to supporting services or to support replication • Use a mix of services both on-premises as in Azure • E.g.: ADFS on-premises and in Azure
Hybrid Azure architecture INTERNET On-Premises Azure AD FSProxy Domain Controller Domain Controller AD FSProxy Active / Passive IPSEC VPN AD FS Exchange AD FS
HA inside Azure… Azure Load-Balanced Endpoint AD FSProxy Load-Balanced Endpoint AD FS Domain Controller INTERNET AD FSProxy AD FS Domain Controller
Known or not known? That is the question… Common Issues #devconnections
Limitations rather than issues • Some general limitations apply: • Cross-premises permissions • Public folder migrations • Cross-organization free/busy • Behavioral changes… #devconnections
Cross-organization Free/Busy • One of the ‘biggest’ known limitations; described here. • w/o manual intervention, you cannot exchange Free/Busy between 2 hybrid organizations (cloud users) #devconnections
Cross-org Free/Busy #devconnections
CU5 bug • There’s a bug in Exchange 2013 CU5 which requires an IU (KB2988229) for the HCW to complete successfully. #devconnections
Multi-forest bug in CU5 • After deploying the IU mentioned earlier, you cannot deploy multi-forest Hybrid deployments. HCW will fail while configuring oAuth. #devconnections
Behavioral changes… • How will you deal with people leaving the organization? • Move mailbox back on-premises • Leverage “inactive mailboxes” #devconnections
How to get out of trouble… And stay out if it too…! Troubleshooting #devconnections
Monitoring • New architecture paradigm, requires new way of thinking about monitoring • You don’t care about Microsoft’s side of the story • End-user service availability is key (but it’s always been like that, right?)
How to monitor? • Consider monitoring through a series of both Active and Passive tests • Active tests allow you to be proactive • Passive tests give you great feedback (counters…) • Third-party tooling #devconnections
Components to monitor • You don’t care about (Microsoft’s) servers, but you do care about: • Mail flow • Cross-premises / External • Exchange Federation • Org. RelationShips / oAuth • DirSync • Connectivity (network, certificates,…) #devconnections
Monitoring & Troubleshooting DirSync, ADFS and Exchange issues Demo #devconnections
Helpful tools • Exchange Remote Connectivity Analyzer (www.exrca.com) • Exchange Deployment Assistant (aka.ms/exdeploy)
Thank you! Q & A
Rate with Mobile App: Rate This Session Now! Tell Us What You Thought of This Session Select the session from the Agenda or Speakers menus Select the Actions tab Click Rate Session Be Entered to WIN Prizes! Rate Using Our Website: Register at www.devconnections.com/logintoratesession Go to www.devconnections.com/ratesession Select this session from the list and rate it