設定移轉管理員代理程式Setup Migration Manager agents

移轉管理員會將一部或多部電腦或虛擬機器 (VM) 設定為移轉「代理程式」,藉此集中管理大型檔案共用移轉。The Migration Manager centralizes the management of large file share migrations by configuring one or more computers or virtual machines (VMs) as migration "agents". 若要建立代理程式,請在每部電腦上下載並執行設定檔案。To do create an agent, download and run a setup file on each computer.

當您執行設定檔案時,系統會提示您輸入兩組認證:SharePoint 系統管理員認證 (用來存取您的目的地),以及 Windows 認證 (對您計劃移轉的任何網路檔案共用具有讀取存取權)。When you run the setup file, you are prompted for two sets of credentials: SharePoint Admin credentials to access your destination, and Windows credentials that have read access to any of the network file shares you plan to migrate. 這對認證會與移轉管理程式建立信任。This pair of credentials creates a trust with Migration Manager. 移轉管理員現在會將它視為可用的「代理程式」,以便它能自動散發移轉工作。Migration Manager now sees it as an available "agent" to which it can automatically distribute migrations tasks.

代理程式設定完成之後,擁有權限能夠進入 SharePoint 系統管理中心的任何人都能建立工作。After an agent is configured, anyone with the permission to go into the SharePoint admin center can create tasks. 系統會自動將工作分散給其中一個已設定的代理程式。The tasks will be automatically distributed to one of the configured agents.

開始之前Before you begin

檢查Check 進行Do
先決條件Prerequisites 在執行移轉管理員代理程式安裝檔案之前,請確定在本機電腦或虛擬機器上已滿足所有系統先決條件。Make sure all system prerequisites have been met on your local computer or VM before running the Migration Manager agent setup file.
必要端點Required Endpoints 檢閱必要端點Review the required Endpoints
多地理位置租使用者代理程式安裝Multi-geo tenant agent installation 如果您想要安裝代理程式且擁有多地理位置租使用者的話,請遵循下列步驟。Follow these steps if you want to install an agent and you have a multi-geo tenant.
預先佈建 OneDrive 帳戶Pre-provision OneDrive accounts 如果要移轉至 OneDrive 帳戶,請先確認已預先佈建帳戶,然後再進行移轉。If you are migrating to OneDrive accounts, make sure the accounts are pre-provisioned before you migrate. 您可以使用指令碼來執行此動作,如這裡所述:為您組織中的使用者預先佈建 OneDriveYou can do this by using a script as described here: Pre-provision OneDrive for users in your organization.

注意

目前不支援協力廠商的多重要素驗證。 Third party multi-factor authentication is not supported at this time.

  • 決定您計劃用於移轉工作的虛擬機器或電腦數量。Determine how many VMs or computers you plan on using for your migration tasks. 提前識別電腦或 VM。Identify the computers or VMs up front.

  • 確認您擁有 SharePoint 系統管理員認證,可存取您要遷移內容所在的「目的地」。Confirm that you have SharePoint Admin credentials to access the "destination" of where you are migrating your content.

  • 確認您計劃用來設定服務的 Windows 認證可存取您計劃要移轉的 所有 網路檔案共用。Confirm that the Windows credentials you plan on using to configure the service has access to all the network file shares you plan to migrate.

  • 建立一個專用於移轉專案的 Windows 系統管理員帳戶。Create a Windows admin account specifically to use for your migration project. 確定此系統管理員帳戶可存取您計劃移轉的任何檔案共用。Make sure this admin account has access to any file share that you plan on migrating. 在執行設定檔案之前,請使用此帳戶登入每部虛擬機器或電腦。Log into each VM or computer with this account before you run the setup file.


必要條件Prerequisites

元件Component 最佳效能的建議Recommendation for best performance 最低 - 效能較低Minimum - expect slow performance
CPUCPU 64 位元四核心或更高等級處理器64-bit quad core processor or better 64 位元 1.4 GHz 雙核心或更高等級處理器64-bit 1.4-GHz 2-core processor or better
.NET 版本.NET version V4.6.2 或更高版本。V4.6.2 or higher. 深入了解:如何判斷已安裝的版本Learn more: How to determine which versions are installed V4.6.2 或更高版本V4.6.2 or higher
RAMRAM 16 GB16 GB 8 GB8 GB
本機儲存空間Local Storage 固態硬碟:150-GB 的可用空間Solid-state disk: 150-GB free space 固態硬碟:150-GB 的可用空間Solid state disk: 150-GB free space
網路卡Network card 1 Gbps1 Gbps 高速網際網路連線High-speed internet connection
作業系統Operating system Windows Server 2012 R2 或更高版本Windows Server 2012 R2 or higher
Windows 10 代理程式Windows 10 agent
Windows Server 2012 R2 或更高版本Windows Server 2012 R2 or higher
Windows 10 代理程式Windows 10 agent
防毒軟體Anti-virus 您電腦上的防毒軟體可能會減緩移轉速度。Anti-virus software on your computer can slow down the migration speed. 請注意受影響的防毒軟體,並考慮關閉貴組織防毒軟體的風險。Be aware of the impact anti-virus software, and consider the risk of turning off your organization's antivirus software.



所需的端點Required endpoints

所需的端點Required endpoints 適用於For
https://secure.aadcdn.microsoftonline-p.comhttps://secure.aadcdn.microsoftonline-p.com 驗證Authentication
https://api.office.comhttps://api.office.com 用於內容移動與驗證的 Microsoft 365 APIMicrosoft 365 APIs for content move and validation
https://graph.windows.nethttps://graph.windows.net 用於內容移動與驗證的 Microsoft 365 APIMicrosoft 365 APIs for content move and validation
https://spmtreleasescus.blob.core.windows.nethttps://spmtreleasescus.blob.core.windows.net 安裝Installation
https://*.queue.core.windows.nethttps://*.queue.core.windows.net 移轉 API Azure 需求Migration API Azure requirement
https://*.blob.core.windows.nethttps://*.blob.core.windows.net 移轉 API Azure 需求Migration API Azure requirement
https://*.pipe.aria.microsoft.comhttps://*.pipe.aria.microsoft.com 遙測/更新Telemetry/update
https://*.sharepoint.comhttps://*.sharepoint.com 移轉的目的地Destination for migration
https://*.blob.core.usgovcloudapi.nethttps://*.blob.core.usgovcloudapi.net 移轉 API Azure Government 需求Migration API Azure Government requirement
https://*.queue.core.usgovcloudapi.nethttps://*.queue.core.usgovcloudapi.net 移轉 API Azure Government 需求Migration API Azure Government requirement

政府雲端Government Cloud

如果您的租用戶駐於政府雲端,您可能需要執行其他步驟,才能使用移轉管理員。If your tenant resides in a government cloud, you may have additional steps to perform before using Migration Manager. 深入了解:政府雲端和移轉管理員To learn more: Government Cloud and Migration Manager.


設定單一代理程式Set up a single agent

  1. 移至新 SharePoint 系統管理中心的 [移轉管理員] 頁面,並使用具有組織系統管理員權限的帳戶登入。Go to the Migration Manager page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.
  2. 選取 [下載代理程式設定檔案]。Select Download agent setup file.
  3. 開啟安裝檔案。Open the setup file. 在 [歡迎] 頁面上,按 [下一步]。On the Welcome page, select Next.
  4. 輸入您要移轉內容的環境的 SharePoint 系統管理員使用者名稱和密碼。Enter the SharePoint admin username and password of the environment where you will be migrating your content. 選取 [下一步]。Select Next.
  5. 輸入將提供包含您要移轉內容的 所有 檔案共用存取權的 Windows 認證。Enter your Windows credentials that will provide access to all the file shares that contain the content you want to migrate. 選取 [安裝]。Select Install.
  6. 測試代理程式存取權 (選用) 或按一下 [關閉]。Test agent access (optional) or click Close.

完成之後,系統會將此電腦新增至移轉管理員可指派工作的可用代理程式。On completion, this computer will be added to the available agents that the Migration Manager can assign tasks.

重要

密碼不會儲存在安裝程式中。Passwords are not stored in the installer.

設定多個代理程式Set up multiple agents

視您想要移轉的內容大小而定,您可以視需要設定多個代理程式。Based on the size of the content you want to migrate, you can set up as many agents as you need. 如果要設定多個代理程式,建議您將代理程式設定檔案下載至共用位置。If you are setting up multiple agents, we recommend that you download the agent setup file to a shared location. 這樣一來,您就可以輕鬆地在每一部電腦或虛擬機器上下載設定檔案。That way you can easily download the setup file on each of computer or VM.

  1. 移至新 SharePoint 系統管理中心的 [移轉管理員] 頁面,並使用具有組織系統管理員權限的帳戶登入。Go to the Migration Manager page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.
  2. 選取 [下載代理程式設定檔案]。Select Download agent setup file. 如果您先前已下載設定檔案,請選取 [代理程式] 索引標籤,然後選取 [新增代理程式]。If you previously downloaded the setup file, select the agents tab, and select Add agent. 將檔案儲存至共用位置。Save the file to a shared location.
  3. 在您計劃使用的每部虛擬機器或 Windows 電腦上執行設定檔案,以執行移轉工作。Run the setup file on each VM or windows computer you plan on using to run migration tasks on.

注意

[移轉管理員] 會自動將工作指派給可用的代理程式。Migration Manager automatically assigns tasks to a available agent. 您無法手動將工作指派給特定代理程式。You cannot manually assign a task to a specific agent. 每個代理程式在佇列中最多可以有 10 個工作。Each agent can have up to 10 tasks in its queue.

暫停工作並不會將該代理程式釋出至另一個工作。Pausing a task does not release the agent to another task. 在工作繼續並完成前或刪除前,代理程式將無法接受新工作。An agent remains unavailable to accept a new task until the task is resumed and completed, or if the task is deleted.

重要

只要電腦仍在執行,並且用於登入代理程式的 SharePoint 系統管理員憑證仍然有效,代理程式與移轉管理員之間的連線就會保持作用中狀態。The connection between the agent and Migration Manager stays active as long as the computer is still running and the SharePoint admin credentials that were used to sign into the agent are still valid.

如果代理程式已中斷連線,則它仍會保留移轉管理員的權杖最多 7 天。If the agent does becomes disconnected, it still holds the token to the Migration Manager for up to 7 days. 7 天之後,必須重新安裝代理程式。After that time, the agent will need to be reinstalled.

已設定多地理位置代理程式Multi-geo agent set up

如果您有多地理位置 SharePoint 租使用者,則會在 SharePoint 系統管理中心設定的地理位置中安裝該代理程式。If you have a Multi-Geo SharePoint tenant, the agent will be installed in the geo-location set in the SharePoint admin center. 在安裝代理程式之前,請確認所需的地理位置是系統管理中心所設定的位置。Before installing the agent, make sure the desired geo-location is the one set in the admin center. 如果您需要變更代理程式的地理位置,請刪除並重新安裝代理程式。If you need to change an agent's geo-location, delete and re-install the agent.

深入了解:OneDrive 和 SharePoint Online 中的多地理位置功能Learn more: Multi-Geo Capabilities in OneDrive and SharePoint Online

若要將代理程式安裝到不同的地理位置:To install an agent to a different Geo location:

  1. 下載 代理程式設定檔案。Download the agent setup file.

  2. 啟動 設定檔案,並維持在 [歡迎使用] 頁面 上。Launch the setup file and remain on the Welcome page.

  3. 開啟 此檔案: %temp%\SPMigrationAgentSetup\SPMigrationAgentSetup\Microsoft.SharePoint.Migration.ClientShared.dll.configOpen this file: %temp%\SPMigrationAgentSetup\SPMigrationAgentSetup\Microsoft.SharePoint.Migration.ClientShared.dll.config

  4. 在 [應用程式設定] 底下,新增如下列 [國家/地區] 或 [資料中心] 範例 中所示的項目。Under appSettings, add an entry as shown in the following example for the desired country or data center. (附註:這是加拿大的範例。)(Note: this is an example for Canada.)

    < add key="GeoLocation" value="CAN" / >< add key="GeoLocation" value="CAN" / >

您可以在這裡找到國家或地區地理位置代碼 Microsoft 365 多地理位置可用性The country or regional GEO code can be found here Microsoft 365 Multi-Geo availability