从Notes迁移到Exchange Server 2010

1、概述 
目前微软没有官方的将邮件从Notes迁往Exchange 2010的工具,但是有Microsoft Transporter Suite,可以将邮件从Notes迁到Exchange 2007,然后再次从Exchange 2007迁移到Exchange 2010。以下是一次项目的部署记录:
2、环境简介 
HardServer-1 192.168.1.180 windows 2003 Domino Server 
HardServer-2 192.168.1.181 windows 2008 SP2 AD+EXchange 2007 DC01
HardServer-3 192.168.1.185 windows 2008 SP2 Exchange 2010 EX10
3、安装Exchange 2007 
在DC01 192.168.1.181上进行操作
安装准备 
如何在 Windows Server 2008 或 Windows Vista 上安装 Exchange 2007 SP1 和 SP2 先决条件http://technet.microsoft.com/zh-cn/library/bb691354(EXCHG.80).aspx
操作过程 
使用管理员权限打开CMD命令窗口,运行如下命令,安装Exchange 2007所需的系统组件。也可以用UI图像界面安装,不过命令比较省事些。
ServerManagerCmd -i RSAT-ADDS (Exchange 和DC不在一台的情况下)
ServerManagerCmd -i PowerShell
ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression
ServerManagerCmd -i NET-HTTP-Activation
ServerManagerCmd -I RPC-over-HTTP-proxy
clip_image002
命令执行情况: 
Microsoft Windows [版本 6.0.6002]
版权所有 (C) 2006 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>ServerManagercmd -i PowerShell
..
开始安装...
[Installation] 成功: [Windows PowerShell]。
<100/100>
成功: 安装成功。
C:\Users\Administrator&gt;ServerManagerCmd -i Web-Server
..
开始安装...
[Installation] 成功: [Web 服务器(IIS)] 管理工具。
[Installation] 成功: [Web 服务器(IIS)] Web 服务器。
[Installation] 成功: [Web 服务器(IIS)] 安全性。
[Installation] 成功: [Web 服务器(IIS)] 常见 HTTP 功能。
[Installation] 成功: [Web 服务器(IIS)] 健康和诊断。
[Installation] 成功: [Web 服务器(IIS)] 性能。
[Installation] 成功: [Windows 进程激活服务] 进程模型。
[Installation] 成功: [Windows 进程激活服务] 配置 API。
[Installation] 成功: [Web 服务器(IIS)] IIS 管理控制台。
[Installation] 成功: [Web 服务器(IIS)] 目录浏览。
[Installation] 成功: [Web 服务器(IIS)] 请求筛选。
[Installation] 成功: [Web 服务器(IIS)] 静态内容压缩。
[Installation] 成功: [Web 服务器(IIS)] 默认文档。
[Installation] 成功: [Web 服务器(IIS)] HTTP 错误。
[Installation] 成功: [Web 服务器(IIS)] HTTP 日志记录。
[Installation] 成功: [Web 服务器(IIS)] 静态内容。
[Installation] 成功: [Web 服务器(IIS)] 请求监视。
<100/100>
成功: 安装成功。
C:\Users\Administrator&gt;ServerManagerCmd -i Web-ISAPI-Ext
..................
..................
[Installation] 成功: [Web 服务器(IIS)] 日志记录工具。
[Installation] 成功: [Web 服务器(IIS)] HTTP 重定向。
[Installation] 成功: [Web 服务器(IIS)] 客户端证书映射身份验证。
[Installation] 成功: [Web 服务器(IIS)] 正在跟踪。
[Installation] 成功: [HTTP 代理上的 RPC]。
<100/100>
成功: 安装成功。
C:\Users\Administrator&gt;

安装Exchange 2007过程截图
clip_image004
一般情况Exchange安装到默认目录比较好,方便系统做备份,数据库和存储组的位置可以在安装完毕后重新定位到其他磁盘分区下,比如放到硬件存储上。C盘的空间不要太吝啬了,如果是windows Server 2003下安装,C盘不低于50G,windows Server 2008则100G以上,省得后续因为补丁文件什么的导致系统盘空间不足。
clip_image006
clip_image008
clip_image010
clip_image012
clip_image014
clip_image016
clip_image018
clip_image020
4、安装Exchange 2010 
在Ex10 192.168.1.185上操作
安装准备 
Exchange 2010 先决条件
http://technet.microsoft.com/zh-cn/library/bb691354.aspx#WS08
clip_image022
操作过程 
安装windows Powershell V2
在CMD窗口中依次运行:
sc config NetTcpPortSharing start= auto
ServerManagerCmd -ip Exchange-Typical.xml -Restart
(该命令需要在“Exhange 2010安装光盘所在盘符路径:\scripts”下运行,这里要赞一个,Exchange 2010的Typical.xml中已经把需要经典安装所需的系统组件都定义好了,很方便)
Exchange-Typical.xml文件内容 
<!--
ServerManagerCmd Answer File compatible with Windows Server 2008 and R2
-->
- <!--
Usage: ServerManagerCmd -ip Exchange-Typical.xml
-->
- <!--
Installs Exchange Server 2010 operating system prerequisites for a typical installation
-->
- <ServerManagerConfiguration Action="Install" xmlns="http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">
- <!--
BASE: Install .NET Framework 3.5 
-->
<Feature Id="NET-Framework" />
- <!--
PREPARESCHEMA: Install LDIFDE and other directory tools 
-->
<Feature Id="RSAT-ADDS" />
- <!--
These components are required for RBAC remoting on all server roles except Edge 
-->
<Role Id="Web-Server" />
<RoleService Id="Web-Basic-Auth" />
<RoleService Id="Web-Windows-Auth" />
<RoleService Id="Web-Metabase" />
<RoleService Id="Web-Net-Ext" />
<RoleService Id="Web-Lgcy-Mgmt-Console" />
<Feature Id="WAS-Process-Model" />
<Feature Id="RSAT-Clustering" />
<Feature Id="RSAT-Web-Server" />
- <!--
Client Access server role prerequisites 
-->
<RoleService Id="Web-ISAPI-Ext" />
<RoleService Id="Web-Digest-Auth" />
<RoleService Id="Web-Dyn-Compression" />
<Feature Id="NET-HTTP-Activation" />
<Feature Id="RPC-over-HTTP-proxy" />
</ServerManagerConfiguration>

安装Exchange 2010截图 
clip_image024
clip_image026
image 
clip_image030
clip_image032

完成AD、Exchange 2007和Exchange 2010的安装后,需要做一些常用的配置操作
5、基础配置 使Exchange 2010控制台可以管理Exchange 2007 
分别在DC01和Ex10上启用WinRM防火墙设置
Winrm quickconfig
clip_image002
更改邮件数据存储路径 
clip_image004
clip_image006
配置连接器支持收发Internet邮件和使用非加密SMTP 
clip_image008
clip_image010
clip_image012
clip_image014
clip_image016
clip_image018
启用非加密POP服务 
在Ex10上操作
image 
clip_image022
增加DNS记录 
image 
6、配置证书 安装证书服务 
在DC01上进行
clip_image026
clip_image028
clip_image030
clip_image032
clip_image034
clip_image036
image 
clip_image040
clip_image042
image 
clip_image046
Exchange2007证书申请和启用 
使用New-ExchangeCertificate申请多域名证书,下图所示的证书可以匹配mail.xx.com.cn\dc01.xx.com.cn\autodiscover.xx.com.cn;一般证书需要匹配的域名有外部访问的域名、服务器本身的FQDN和autodiscover。命令完成后的申请文件为c盘下的MailCert.req。
New-ExchangeCertificate -SubjectName "c=CN,s=beijing,o=xx,cn=mail.xx.com.cn" DomainName dc01.xx.com.cn,mail.xx.com.cn,autodiscover.xx.com.cn FriendlyName MailCert -GenerateRequest:$True -Keysize 1024 -path c:\MailCert.req
image 
通过web方式申请证书
image 
选择 高级证书申请
image 
选择 使用base64编码
image 
使用记事本打开之前产生的MailCert.req文件,复制里面的所有内容
clip_image056
在下图粘贴
image 
下载并保存申请的的证书到C盘
image 
在Exchange Powershell命令控制台中执行
Import-ExchangeCertificate -Path C:\certnew.cer -FriendlyName "MailCert"
在Exchange Powershell命令控制台中执行
get-ExchangeCertificate 查看和确定刚才申请的证书的thumbprint
Enable-ExchangeCertificate -thumbprint xxxxxxxxx -services "IIS,POP,IMAP,SMTP" 为IIS,POP,IMAP,SMTP服务绑定证书
image 
Exchange 2010证书申请和启用 
image
clip_image066
clip_image068
Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path C:\certnew.cer -Encoding byte -ReadCount 0)) -FriendlyName "MailCert"
image

Exchange邮件服务器相关的配置完成后,可以着手Microsoft Transporter Suite迁移工具的配置了。
7、邮件迁移准备 Domino基本配置信息 
查看下Notes服务器相关的配置信息,配置Microsoft Transporter Suite时用得着。
image
权限准备 
2 运行Notes6.5.1 客户端用户要求以下权限(实际操作中可以使用Notes管理员ID)
· To synchronize Directories Editor or higher access to the Domino Directory (names.nsf) plus [UserCreator] and [UserModifier] roles in the directory's Access Control List (ACL)
· To perform Free/Busy lookups Reader or higher access to Freetime application (busytime.nsf)
· To migrate users Reader or higher access to the Domino Directory (names.nsf)
· To migrate mail Reader or higher access to the mail databases
· To migrate applications Reader or higher access to the applications
2 运行Microsoft Transporter Suite用户帐户要求(实际操作中在CAS服务器运行administrator是域管理和Exchange管理员)
添加帐户到
· Exchange Server Administrator role and local Administrators group for the target server 
· Server account must have Account Operator role for the applicable Active Directory containers
2 Exchange 模拟权限(Exchange Web Services)
打开Exchange命令行管理程序
Get-ExchangeServer | where {$_.IsClientAccessServer -eq $TRUE} | ForEach-Object {Add-ADPermission -Identity $_.distinguishedname -User (Get-User -Identity administrator | select-object).identity -extendedRight ms-Exch-EPI-Impersonation}
image 
Get-MailboxDatabase | ForEach-Object {Add-ADPermission -Identity $_.DistinguishedName -User administrator -ExtendedRights ms-Exch-EPI-May-Impersonate}
image 
迁移工具安装 
在DC01上,及Exchange2007上安装Microsoft Transporter Suite和Notes6.5.5
Microsoft Transporter Suite下载地址:
http://www.microsoft.com/downloads/details.aspx?FamilyId=35FC4205-792B-4306-8E4B-0DE9CCE72172&displaylang=en
安装Notes6.5.5 
实际安装的为Notes 6.5.5。
clip_image008
1. 在DC01安装setup.exe
clip_image010
2. 在“许可协议”页面,选择“我接受该许可协议中的条款”,点击“下一步”继续。
clip_image012
3. 在“用户信息”页面,输入“”,点击“下一步”继续(此处可随意填写)

4. 在“安装路径选择”页面,选择“下一步”继续
clip_image016
5. 在自定义安装页面,选择将所有功能都安装,点击“下一步”继续
clip_image018
6. 在“已做好安装程序的准备”页面,点击“安装”
clip_image020
clip_image022
clip_image024
安装Microsoft Transporter Suite 
1. 在DC01安装 Transporter.msi 
2. At the Welcome page, click Next.
clip_image026
3. Review the License Agreement, select I accept the terms in the License Agreement, and then click Next.
clip_image028
4. When prompted for the Components to install, select Microsoft Transporter Tools to install the Transporter Shell and Console. Select Free Busy Connector Add-In Task for Lotus Domino if you are installing this feature on a Lotus Domino server.
clip_image030
5. Accept or change the default location for the installation by clicking Browse, and then click Next. 
clip_image032
6. Click Install.
clip_image034
7. Click Finish.
clip_image036

配置迁移工具 建立连接器 
点击Tools for Lotus Domino下“connect”,在右侧的操作栏依次点击、
1. Enter Domino Credential,(输入Notes管理员ID的密码)
clip_image038
2. Select Domnio Directory Server(此处输入domino服务器的IP地址)
clip_image040
3. Select Application Server,(默认为空)
clip_image042
4. Select Global Catalog,(浏览选择域中的域控制器)
clip_image044
5. Create Directory Connector
clip_image046
点击“下一步”继续
clip_image048
点击“create”创建连接器
clip_image050
clip_image052
clip_image054
6. 打开“Exchange Domino Connector 属性”
在“General”页面,输入下列信息
image 
在“Sync to Active Directory”页面
clip_image058
点击“ADD”按钮,在“New Source Domino Directory Entry”输入以下信息,点击“确定”
image 

在“Target Active Directory”
点击“确定”
点击“确定”,关闭Exchange Domino Connector。
同步数据 
image 
clip_image066
点击“下一步”继续
clip_image068
点击“下一步”继续
clip_image070
点击“synchronize”
clip_image072
点击“完成”。
7. 打开ActiveDirectory 用户和计算机,“domino ”组织单元可以看到同步的数据,以联系人的形式显示Domino目录中用户。(我没有看见…)

设置HOST文件 
在host文件中添加Notes邮件服务器的A记录
192.168.1.180 xxx
image 
否则在邮箱迁移中会报错“domino mailbox migration server “xxx”is not found please check the server name”如下图
image 

提高OWA邮件上传上限 
更改OWA方式的邮件和附件上传的大小限制为50M,避免迁移失败(其他还需要考虑的是每个邮箱的大小上限)
http://social.technet.microsoft.com/forums/en-US/exchangesvrmigration/thread/b2111b89-beb9-4e63-b301-8eaf14447b09/
Edit your web.config. Look up the section <system.web> and add the line
http://technet.microsoft.com/zh-cn/library/aa996835.aspx
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa
clip_image078

本文出自 “两只老虎” 博客,请务必保留此出处http://chenyitai.blog.51cto.com/996951/337872

posted @ 2013-09-25 15:45  鸡毛腿  阅读(757)  评论(0编辑  收藏  举报