對 Lync Server 2013 執行樹系準備Running forest preparation for Lync Server 2013

 

主題上次修改日期: 2012-10-29Topic Last Modified: 2012-10-29

您可以使用安裝程式或 Lync Server 管理命令介面 Cmdlet 來準備樹系。You can use Setup or Lync Server Management Shell cmdlets to prepare the forest. 準備樹系的 Cmdlet 是 Enable-CsAdForestThe cmdlet that prepares the forest is Enable-CsAdForest.

準備好樹系之後,您必須在執行網域準備作業之前,先確認全域設定是否已複製。After you prepare the forest, you must verify that global settings have been replicated before running domain preparation.

若要使用安裝程式來準備樹系To use Setup to prepare the forest

  1. 以樹系根域的 Enterprise Admins 群組成員身分登入加入網域的電腦。Log on to a computer that is joined to a domain as a member of the Enterprise Admins group for the forest root domain.

  2. 從 Lync Server 2013 安裝資料夾或媒體,執行 Setup.exe 以啟動部署嚮導。From the Lync Server 2013 installation folder or media, run Setup.exe to start the Deployment Wizard.

  3. 按一下 [準備 Active Directory],然後等候決定部署狀態。Click Prepare Active Directory, and then wait for the deployment state to be determined.

  4. 在 [ 步驟3:準備目前的樹系] 中,按一下 [ 執行]。At Step 3: Prepare Current Forest, click Run.

  5. 在 [ 準備樹 系] 頁面上,按 [下一步]On the Prepare Forest page, click Next.

    注意

    樹系準備可讓您選擇放置 Lync Server 2013 通用群組的位置。Forest Preparation allows you to choose where to place the Universal Groups for Lync Server 2013. 請選擇和組織需求一致的位置。Choose a location that is consistent with the requirements of your organization.

  6. 在「執行命令」**** 頁面上,尋找 [工作狀態: 已完成]****,然後按一下 [檢視記錄檔]****。On the Executing Commands page, look for Task status: Completed, and then click View Log.

  7. 在 [ 動作 ] 欄下,展開 [ 樹系準備],尋找 <Success> 每項工作結尾的執行結果,以驗證樹系準備是否順利完成,關閉記錄檔,然後按一下 [完成]Under the Action column, expand Forest Prep, look for a <Success> Execution Result at the end of each task to verify that forest preparation completed successfully, close the log, and then click Finish.

  8. 等候 Active Directory 複寫完成,或是強制複寫到樹系根域控制 站 [Active Directory 網站和服務 ] 嵌入式管理單元中列出的所有網域控制站,然後再執行網域準備作業。Wait for Active Directory replication to complete, or force replication to all domain controllers listed in the Active Directory Sites and Services snap-in for the forest root domain controller, before running domain preparation. 強制在所有 Active Directory 網站的網域控制站之間進行複寫,以在幾分鐘內進行網站的複寫。Force replication between the domain controllers in all Active Directory sites to cause replication within the sites to occur within minutes.

若要使用 Cmdlet 準備樹系To use cmdlets to prepare the forest

  1. 以樹系根域的 Domain Admins 群組成員身分登入加入網域的電腦。Log on to a computer that is joined to a domain as a member of the Domain Admins group in the forest root domain.

  2. 安裝 Lync Server 核心元件,如下所示:Install Lync Server Core components as follows:

    1. 從 Lync Server 2013 安裝資料夾或媒體,執行 Setup.exe 以啟動 Lync Server 部署嚮導。From the Lync Server 2013 installation folder or media, run Setup.exe to start the Lync Server Deployment Wizard.

    2. 如果系統提示您安裝 Microsoft Visual C++ 可轉散發套件,請按一下 [是]If you are prompted to install the Microsoft Visual C++ Redistributable, click Yes.

    3. [Lync Server 2013 設定] 對話方塊會提示您輸入安裝 Lync Server 檔案的位置。The Lync Server 2013 Setup dialog box prompts you for a location to install the Lync Server files. 請選擇預設位置或 [瀏覽] 至您想要的位置,然後按一下 [安裝]Choose the default location or Browse to a location of your choice, and then click Install.

    4. 在 [授權合約] 頁面上,勾選 [我接受授權合約中的條款],然後按 [確定]On the License Agreement page, check I accept the terms in the license agreement, and then click OK. 安裝程式會安裝 Lync Server 2013 核心元件。The installer installs the Lync Server 2013 Core Components.

  3. 啟動 Lync Server 管理命令介面:依序按一下 [ 開始]、[ 所有程式]、[ Microsoft Lync server 2013],然後按一下 [ Lync server 管理命令介面]。Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.

  4. 運行:Run:

    Enable-CsAdForest [-GroupDomain <FQDN of the domain in which to create the universal groups>]
    

    例如:For example:

    Enable-CsAdForest -GroupDomain domain1.contoso.com 
    

    如果您未指定 GroupDomain 參數,則預設值為本機網域。If you do not specify the GroupDomain parameter, the default value is the local domain. 如果通用群組先前是在非預設網域的網域中建立,您必須明確地指定 GroupDomain 參數。If universal groups were created previously in a domain that is not the default domain, you must specify the GroupDomain parameter explicitly.

  5. 等候 Active Directory 複寫完成,或是強制複寫到樹系根域控制 站 [Active Directory 網站和服務 ] 嵌入式管理單元中列出的所有網域控制站,然後再執行網域準備作業。Wait for Active Directory replication to complete, or force replication to all domain controllers listed in the Active Directory Sites and Services snap-in for the forest root domain controller, before running domain preparation.

  6. 確認樹系準備成功。Verify that forest preparation was successful. 運行:Run:

    Get-CsAdForest 
    

    若樹系準備成功,則此 Cmdlet 會傳回 **LC _ FORESTSETTINGS _ 狀態 _ ** 的值。This cmdlet returns a value of LC_FORESTSETTINGS_STATE_READY if forest preparation was successful.