將Exchange SE 加入 現有Exchange 2016 CU23 LAB

模擬Exchange 2016 Cu23 移轉至  Exchange SE

現況只有一台EX2016

在exchange 2016 現有的設定方式

所有連線都是統一 mail.exlab.com 這個FQDN

原來exchange 2016 FQDN 為ex01.exlab.com

新的exchange se FQDN 為ex-se.exlab.com

mail 及autodicover 則是全部用cname 設定指向ex01.exlab.com

2025-07-23_213000

SE-ins-8

SE-ins-9

新增Exchange SE前: 查詢Exchange 2016 Active Directory 版本

SE-ins-19

SE 必要條件

OS : Server  2022 or Server 2025

.NET framework : 4.8.1

https://www.microsoft.com/en-us/download/details.aspx?id=30679

SE-ins-1

SE-ins-6

適用於 Visual Studio 2012 的 Visual C++ 可轉散發套件

https://www.microsoft.com/en-us/download/details.aspx?id=30679.

SE-ins-4

適用於 Visual Studio 2013 的 Visual C++ 可轉散發套件

https://support.microsoft.com/zh-tw/topic/update-for-visual-c-2013-redistributable-package-d8ccd6a5-4e26-c290-517b-8da6cfdf4f10

SE-ins-5

安裝信箱伺服器角色必要功能

Install-WindowsFeature Server-Media-Foundation, NET-Framework-45-Core, NET-Framework-45-ASPNET, NET-WCF-HTTP-Activation45, NET-WCF-Pipe-Activation45, NET-WCF-TCP-Activation45, NET-WCF-TCP-PortSharing45, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

SE-ins-3

Unified Communications Managed API 4.0

https://www.microsoft.com/zh-tw/download/details.aspx?id=34992

SE-ins-7

IIS URL Rewrite 模組

https://www.iis.net/downloads/microsoft/url-rewrite

SE-ins-18

必要程式及元件安裝完畢後,先行重開機一次

執行機碼擴充

Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareSchema

SE-ins-21

Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAD

SE-ins-22

Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAllDomains

SE-ins-23

SE-ins-24

https://learn.microsoft.com/zh-tw/exchange/plan-and-deploy/prepare-ad-and-domains?source=recommendations

SE-ins-25

放入ISO

SE-ins-10

SE-ins-11

SE-ins-12

SE-ins-13

SE-ins-15

SE-ins-16

SE-ins-17

SE-ins-26

SE-ins-27

SE-ins-28

SE-ins-29

移轉相關設定

exchange se 在ecp => 伺服器 => 點選ex-se  => outlookanywaher

修改外部及內部 為mail.exlab.com

2025-07-23_223043

修改虛擬目錄 : OWA 、ECP、OAB、Activesync、webservices、Mapi

$Server_name = “ex-se”

$FQDN =  “mail.exlab.com”

Get-OWAVirtualDirectory -Server $Server_name | Set-OWAVirtualDirectory -InternalURL “https://$($FQDN)/owa” -ExternalURL “https://$($FQDN)/owa”

Get-ECPVirtualDirectory -Server $Server_name | Set-ECPVirtualDirectory -InternalURL “https://$($FQDN)/ecp” -ExternalURL  “https://$($FQDN)/ecp”

Get-OABVirtualDirectory -Server $Server_name | Set-OABVirtualDirectory -InternalURL  “https://$($FQDN)/oab” -ExternalURL “https://$($FQDN)/oab”

Get-ActiveSyncVirtualDirectory -Server $Server_name | Set-ActiveSyncVirtualDirectory -InternalURL “https://$($FQDN)/Microsoft-Server-ActiveSync” -ExternalURL “https://$($FQDN)/Microsoft-Server-ActiveSync”

Get-WebServicesVirtualDirectory -Server $Server_name | Set-WebServicesVirtualDirectory -InternalURL “https://$($FQDN)/EWS/Exchange.asmx” -ExternalURL “https://$($FQDN)/EWS/Exchange.asmx”

Get-MapiVirtualDirectory -Server $Server_name | Set-MapiVirtualDirectory -InternalURL “https://$($FQDN)/mapi” -ExternalURL “https://$($FQDN)/mapi”

2025-07-23_223138

2025-07-23_223222

設定 Service Connection Point or Internal Autodiscover service

可以看到目前ex2016 主機設定AutoDiscoverServiceInternalUri 為(已經是統一連線入口)

https://mail.exlab/Autodiscover/Autodiscover.xml

ex-se是用自己本身的hostname+domain name 當設定

https://ex-se.exlab.coom/Autodiscover/Autodiscover.xml

2025-07-23_223329

設定指令如下

Set-ClientAccessService –Identity ex-se -AutodiscoverServiceInternalURI  https://mail.exlab.com/Autodiscover/Autodiscover.xml

2025-07-23_223740

資料庫遷移

查詢ex2016 上有多少DB

Get-MailboxDatabase -Server ex01

查詢ex2016 上系統信箱

Get-Mailbox -Database “Mailbox Database 0722528724” –arbitration

如下圖有多個系統信箱在 “Mailbox Database 0722528724”  資料庫中

2025-07-23_225322

系統信箱遷移到ex-se 資料庫

查詢EX SE 上有多少DB

Get-MailboxDatabase -Server ex-se

只有一個預設DB

2025-07-23_225602

將系統資料庫由ex2016 遷移到ex-se

Get-Mailbox -Server ex01 -Arbitration | New-MoveRequest  -TargetDatabase “Mailbox Database 0156754949”

檢查系統信箱搬移的進度
Get-Mailbox -Arbitration | Get-MoveRequest

2025-07-23_225851

系統資料庫遷移完成

2025-07-23_230023

刪除搬移完成後的要求
Get-moverequest -movestatus completed | remove-moverequest

ex01上有一個DB01資料庫且以信箱在該DB, 也把它搬到exhange se

2025-07-23_230723

Get-Mailbox -Database DB01 | New-MoveRequest -TargetDatabase “Mailbox Database 0156754949”

2025-07-23_231810

完成

2025-07-23_231825

當信箱都移轉到到SE後,把資料庫移除後就可以解除exchange 2016



本篇瀏覽人數: 432
分類: Exchange 2019, Exchange SE。這篇內容的永久連結

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *