規劃 Configuration Manager 中的來源階層策略Plan a source hierarchy strategy in Configuration Manager

適用於: Configuration Manager (最新分支)Applies to: Configuration Manager (current branch)

在您的 Configuration Manager 環境中設定移轉作業之前,必須先設定來源階層,並且至少從該階層的一個來源站台收集資料。Before you set up a migration job in your Configuration Manager environment, you must configure a source hierarchy and gather data from at least one source site in that hierarchy. 下列各節可幫助您規劃如何設定來源階層、設定來源站台,以及決定 Configuration Manager 如何從來源階層的來源站台收集資料。Use the following sections to help you plan for configuring source hierarchies, configuring source sites, and determining how Configuration Manager gathers information from the source sites in the source hierarchy.

來源階層Source hierarchies

來源階層是 Configuration Manager 階層,其中包含您要移轉的資料。A source hierarchy is a Configuration Manager hierarchy that has data that you want to migrate. 當您設定移轉並且指定來源階層時,會指定來源階層的頂層站台。When you set up migration and specify a source hierarchy, you specify the top-level site of the source hierarchy. 此站台也稱為來源站台。This site is also called a source site. 來源階層中您可移轉資料的其他站台也稱為來源站台。Additional sites that you can migrate data from in the source hierarchy are also called source sites.

  • 當您設定移轉作業以移轉 Configuration Manager 2007 來源階層的資料時,需要將其設定為從來源階層的一或多個特定來源站台移轉資料。When you set up a migration job to migrate data from a Configuration Manager 2007 source hierarchy, you configure it to migrate data from one or more specific source sites in the source hierarchy.

  • 當您將移轉作業設定為從執行 System Center 2012 Configuration Manager 或更新版本的來源階層移轉資料時,只需要指定頂層站台。When you set up a migration job to migrate data from a source hierarchy that runs System Center 2012 Configuration Manager or later, you only need to specify the top-level site.

您一次只能設定一個來源階層。You can set up only one source hierarchy at a time.

  • 如果您設定新的來源階層,該階層會自動變成目前的來源階層,取代原本的來源階層。If you set up a new source hierarchy, that hierarchy automatically becomes the current source hierarchy replacing the previous source hierarchy.

  • 當您設定來源階層時,必須指定來源階層的頂層站台,而且指定認證供 Configuration Manager 用於連線到該來源站台的 SMS 提供者和站台資料庫。When you set up a source hierarchy, you must specify the top-level site of the source hierarchy and specify credentials for Configuration Manager to use to connect to the SMS Provider and site database of that source site.

  • Configuration Manager 會使用這些認證執行資料收集以擷取來源站台中物件和發佈點的相關資訊。Configuration Manager uses these credentials to run data gathering to retrieve information about the objects and distribution points from the source site.

  • 作為資料收集程序的一部分,會識別出來源階層中的子站台。As part of the data gathering process, child sites in the source hierarchy are identified.

  • 如果來源階層是 Configuration Manager 2007 階層,即可將這些其他站台設定為來源站台,每個來源站台皆會有個別的認證。If the source hierarchy is a Configuration Manager 2007 hierarchy, you can set up those additional sites as source sites with separate credentials for each source site.

雖然您可以連續設定多個來源階層,但是一次仍只能對一個來源階層進行移轉。Although you can set up multiple source hierarchies in succession, migration is active for only one source hierarchy at a time.

  • 如果您在完成從目前的來源階層移轉之前設定其他來源階層,Configuration Manager 會取消任何作用中移轉作業,並且延後針對目前來源階層排定的任何移轉作業。If you set up an additional source hierarchy before you complete migration from the current source hierarchy, Configuration Manager cancels any active migration jobs and postpones any scheduled migration jobs for the current source hierarchy.

  • 新設定的來源階層接著就會成為目前來源階層,而不使用原本的來源站台。The newly configured source hierarchy then becomes the current source hierarchy, and the original source hierarchy is now inactive.

  • 接著您可以設定連線認證、其他來源站台以及新來源階層的移轉作業。You can then set up connection credentials, additional source sites, and migration jobs for the new source hierarchy.

如果您還原非作用中來源階層,而且之前並未使用 [清理移轉資料] ,就可以檢視之前為該來源階層設定的移轉作業。If you restore an inactive source hierarchy and have not previously used Cleanup Migration Data, you can view the previously configured migration jobs for that source hierarchy. 不過,您必須重新設定連線至階層中可用來源站台的認證,然後重新排程未完成的任何移轉作業,才能繼續從該階層移轉。However, before you can continue migration from that hierarchy, you must reconfigure the credentials to connect to applicable source sites in the hierarchy, and then reschedule any migration jobs that did not finish.

警告

如果您從多個來源階層移轉資料,每個額外的來源階層都必須包含一組唯一的站台碼。If you migrate data from more than a single source hierarchy, each additional source hierarchy must contain a unique set of site codes.
來源和目的地階層也需要不同的站台碼集合。Source and destination hierarchies also requires different set of site codes.

如需設定來源階層的詳細資訊,請參閱設定來源階層和來源站台以移轉到 Configuration Manager 最新分支For more about configuring a source hierarchy, see Configuring source hierarchies and source sites for migration to Configuration Manager current branch

來源站台Source sites

來源站台是指來源階層中,擁有您要移轉之資料的站台。Source sites are the sites in the source hierarchy that have the data that you want to migrate. 來源階層的頂層站台一律是第一個來源站台。The top-level site of the source hierarchy is always the first source site. 當移轉從新來源階層的第一個來源站台收集資料時,會探索有關該階層中其他站台的資訊。When migration collects data from the first source site of a new source hierarchy, it discovers information about additional sites in that hierarchy.

完成初始來源站台的資料收集後,接著要採取的動作會取決於來源階層的產品版本。After data gathering completes for the initial source site, the actions you take next depend on the product version of the source hierarchy.

執行 Configuration Manager 2007 SP2 的來源站台Source sites that run Configuration Manager 2007 SP2

從 Configuration Manager 2007 SP2 階層的初始來源站台收集資料後,您不需在建立移轉作業之前設定其他來源站台。After data is gathered from the initial source site of the Configuration Manager 2007 SP2 hierarchy, you do not have to set up additional source sites before you create migration jobs. 不過,您必須將其他站台設定為來源站台,而且 Configuration Manager 必須從這些站台成功收集資料,才能從這些站台移轉資料。However, before you can migrate data from additional sites, you must set up additional sites as source sites, and Configuration Manager must successfully gather data from those sites.

若要從其他站台收集資料,您要將每個站台分別設定為來源站台。To gather data from additional sites, you individually set up each site as a source site. 這就需要指定將 Configuration Manager 的認證連線到 SMS 提供者和每個來源站台的站台資料庫。This requires you to specify the credentials for Configuration Manager to connect to the SMS Provider and site database of each source site. 您為來源站台設定認證後,該站台的資料收集程序就會開始。After you set up the credentials for a source site, the data gathering process for that site begins.

您在 Configuration Manager 2007 SP2 來源階層中設定其他來源站台時,必須從上到下設定來源站台,這表示最後才設定底層站台。When you set up additional source sites in a Configuration Manager 2007 SP2 source hierarchy, you must set up source sites from the top down, which means you set up the bottom-tier sites last. 您可以隨時在階層分支中設定來源站台,但是必須先設定一個站台作為來源站台,才能設定任何其子站台作為來源站台。You can configure source sites in a branch of the hierarchy at any time, but you must set up a site as a source site before you set up any of its child sites as source sites.

注意

只有 Configuration Manager 2007 SP2 階層中的主要站台才支援移轉作業。Only primary sites in a Configuration Manager 2007 SP2 hierarchy are supported for migration.

執行 System Center 2012 Configuration Manager 或更新版本的來源站台Source sites that run System Center 2012 Configuration Manager or later

從 System Center 2012 Configuration Manager 或更新版本階層的初始來源站台收集資料後,您不需要設定該來源階層中的其他來源站台。After data is gathered from the initial source site of the System Center 2012 Configuration Manager or later hierarchy, you do not have to set up additional source sites in that source hierarchy. 原因是不同於 Configuration Manager 2007,這些版本的 Configuration Manager 是使用共用資料庫,而共用資料庫可讓您識別所有可用物件,然後從初始來源站台進行移轉。This is because unlike Configuration Manager 2007, these versions of Configuration Manager use a shared database, and the shared database lets you identify and then migrate all available objects from the initial source site.

當您設定存取帳戶來收集資料時,可能需要將「來源站台 SMS 提供者帳戶」 存取權授與來源階層中的多部電腦。When you set up the access accounts to gather data, you might need to grant the Source Site SMS Provider Account access to multiple computers in the source hierarchy. 當來源站台支援 SMS 提供者各自位於不同電腦上的多個執行個體時,可能會需要進行此動作。This might be needed when the source site supports multiple instances of the SMS Provider, each on a different computer. 資料收集開始時,目的地階層的頂層站台會連絡來源階層中的頂層站台,以識別該站台的 SMS 提供者位置。When data gathering begins, the top-level site of the destination hierarchy contacts the top-level site in the source hierarchy to identify the locations of the SMS Provider for that site. 只會識別 SMS 提供者的第一個執行個體。Only the first instance of the SMS provider is identified. 如果資料收集程序無法在識別的位置存取 SMS 提供者,程序就會失敗,而且不會嘗試連線到執行該站台之 SMS 提供者執行個體的其他電腦。If the data gathering process cannot access the SMS Provider at the location it identifies, the process fails and does not try to connect to additional computers that run an instance of SMS Provider for that site.

資料收集Data gathering

在您指定來源階層、設定來源階層中各個其他來源站台的認證,或共用來源站台的發佈點之後,Configuration Manager 隨即開始從來源站台收集資料。Immediately after you specify a source hierarchy, set up credentials for each additional source site in a source hierarchy, or share the distribution points for a source site, Configuration Manager starts to gather data from the source site.

接著資料收集程序會依照簡單的排程自行重複,以便與來源站台中的任何資料變更保持同步。The data gathering process then repeats itself on a simple schedule to maintain synchronization with any changes to data in the source site. 根據預設,程序每四小時重複一次。By default, the process repeats every four hours. 您可以編輯來源站台的 [內容] ,來變更此週期的排程。You can change the schedule for this cycle by editing the Properties of the source site. 初始資料收集程序必須檢閱 Configuration Manager 資料庫中的所有物件,而且可能需要較長的時間才能完成。The initial data gathering process must review all objects in the Configuration Manager database and can take a long time to finish. 後續資料收集程序只會識別資料變更,而且完成所需的時間較短。Subsequent data gathering processes identify only changes to the data and require less time to finish.

為了收集資料,目的地階層中的頂層站台會連線到來源站台的 SMS 提供者和站台資料庫,以擷取物件清單和發佈點。To gather data, the top-level site in the destination hierarchy connects to the SMS Provider and the site database of the source site to retrieve a list of objects and distribution points. 這些連線都是使用來源站台存取帳戶。These connections use the source site access accounts. 如需收集資料所需設定的資訊,請參閱移轉的必要條件For information about required configurations for gathering data, see Prerequisites for migration.

您可以使用 Configuration Manager 主控台中的 [立即收集資料] 和 [停止收集資料] 來開始和停止資料收集程序。You can start and stop the data gathering process by using Gather Data Now and Stop Gathering Data in the Configuration Manager console.

您因某種原因對來源站台使用 [停止收集資料] 之後,必須重新設定站台的認證,才能再次從該站台收集資料。After you use Stop Gathering Data for a source site for any reason, you must reconfigure credentials for the site before you can gather data from that site again. 除非您重新設定來源站台,否則 Configuration Manager 無法識別該站台的新物件或之前所移轉物件的變更。Until you reconfigure the source site, Configuration Manager cannot identify new objects or changes to previously migrated objects at that site.

注意

您將獨立主要站台擴充為擁有管理中心網站的階層之前,必須停止所有資料收集。Before you expand a standalone primary site into a hierarchy with a central administration site, you must stop all data gathering. 您可以在站台擴充完成後,重新設定資料收集。You can reconfigure data gathering after the site expansion completes.

主控台中的 [立即收集資料]Gather Data Now

對某個站台執行初始資料收集程序後,此程序會自行重複,以識別自上一次資料收集週期之後已更新的物件。After the initial data gathering process runs for a site, this process repeats itself to identify objects that have updated since the last data gathering cycle. 您也可以使用 Configuration Manager 主控台中的 [立即收集資料] 動作立即開始程序,以及重設下一個週期的開始時間。You can also use the Gather Data Now action in the Configuration Manager console to immediately start the process and to reset the start time of the next cycle.

來源站台的資料收集程序成功完成後,您可以共用來源站台的發佈點,並且設定移轉作業從該站台移轉資料。After a data gathering process successfully finishes for a source site, you can share the distribution points from the source site and configure migration jobs to migrate data from the site. 資料收集是一個重複的移轉程序,會繼續執行直到您變更來源階層,或使用 [停止收集資料] 結束該站台的資料收集程序。Data gathering is a repeating process for migration, and it continues until you change the source hierarchy or use Stop Gathering Data to end the data gathering process for that site.

和 [停止收集資料]Stop Gathering Data

如果您不再想要讓 Configuration Manager 識別該站台中新的或變更的物件,可以使用 [停止收集資料] 來結束來源站台的資料收集程序。You can use Stop Gathering Data to end the data gathering process for a source site when you no longer want Configuration Manager to identify new or changed objects from that site. 此動作也會阻止 Configuration Manager 將來源中的任何共用發佈點,作為您所移轉內容的內容位置,提供給目的地階層中的用戶端。This action also prevents Configuration Manager from offering clients in the destination hierarchy any shared distribution points from the source as content locations for the content that you have migrated.

若要停止從每個來源站台收集資料,您必須在底層來源站台執行 [停止收集資料] ,然後在每個父站台重複此程序。To stop gathering data from each source site, you must run Stop Gathering Data on the bottom-tier source sites, and then repeat the process at each parent site. 來源階層的頂層站台必須是停止收集資料的最後一個站台。The top-level site of the source hierarchy must be the last site on which you stop gathering data. 您必須先在每個子站台上停止收集資料,才能在父站台上執行此動作。You must stop data gathering at each child site before performing this action at a parent site. 通常,您只會在即將完成移轉程序時,停止收集資料。Typically, you only stop gathering data when you are ready to complete the migration process.

停止收集來源站台的資料後,之前從站台收集的物件和集合相關資訊仍可在設定新的移轉作業時使用。After you stop gathering data for a source site, information previously gathered about objects and collections from that site remain available to use when you set up new migration jobs. 不過,您看不見任何新物件或集合,也看不見對現有物件所做的變更。However, you do not see any new objects or collections, nor do you see changes that were made to existing objects. 如果您重新設定來源站台並再次開始收集資料,就會看見有關之前所移轉物件的資訊和狀態。If you reconfigure the source site and begin gathering data again, you will see information and status about previously migrated objects.