之前我们已经准备好环境,现在开始配置混合部署

目前本地运行的服务器:

  • 2 x Exchange 2016 Mailbox servers
  • 1 x Exchange 2013 multi-role server
  • 1 x Exchange 2013 Edge Transport server
  • 1 x Exchange 2010 multi-role server

Exchange 2016 Mailbox server是对公网服务器,并且配置的负载均衡,由于需要同时配置Office 365的服务,因此需要启用MRS代理服务,我们可以通过运行Get-WebServicesVirtualDirectory查看启用状况.

[PS] C:\>Get-WebServicesVirtualDirectory | fl server,mrs*


Server          : EX2013SRV1
MRSProxyEnabled : True

Server          : EX2010SRV1
MRSProxyEnabled : True

Server          : EX2016SRV1
MRSProxyEnabled : False

Server          : EX2016SRV2
MRSProxyEnabled : False

我们可以使用Set-WebServicesVirtualDirectory命令启用MRS  Proxy功能.

[PS] C:\>Get-WebServicesVirtualDirectory -ADPropertiesOnly | Where {$_.MRSProxyEnabled -ne $true} | Set-WebServicesVirtualDirectory -MRSProxyEnabled $true

混合部署向导可以在EAC的管理界面中找到hybrid选项.

office-365-hybrid-configuration-01

在点击 enable 按钮后,需要输入Office 365全局管理员帐号密码.

office-365-hybrid-configuration-02

之后页面会跳转指引我们下载安装一个混合部署配置向导的工具,点击 click here下载.

office-365-hybrid-configuration-03

根据提示安装软件.

office-365-hybrid-configuration-04

点击Next 开始安装.

office-365-hybrid-configuration-05

混合部署向导会自动检测本地Exchange环境,你也可以自定义.

office-365-hybrid-configuration-06

输入本地域和Office 365管理员凭据.

office-365-hybrid-configuration-07

输入完毕后便开始验证本地和云端的凭据.

office-365-hybrid-configuration-08

在我的测试环境中,部署有Edge服务器,并且未配置集中传输策略.配置如下:

office-365-hybrid-configuration-09

仅有一个Edge角色可选.

office-365-hybrid-configuration-10

之后我们配置其他服务器,并且为其配置证书,证书用于邮件传输.

office-365-hybrid-configuration-11

配置邮件的FQDN地址,这个地址将会由EOP路由邮件至该地址.

office-365-hybrid-configuration-12

所有信息输入完毕后,点击 Update 完成混合部署配置,这个操作将等待数分钟之后,如果没有错误的话,混合部署配置生效.