對 Lync Server 2013 執行網域準備Running domain preparation for Lync Server 2013

 

主題上次修改日期: 2013-04-16Topic Last Modified: 2013-04-16

您可以使用安裝程式或 Lync Server 管理命令介面 Cmdlet 來準備網域。You can use Setup or Lync Server Management Shell cmdlets to prepare domains. 準備網域的 Cmdlet 已 Enable-CsAdDomainThe cmdlet that prepares a domain is Enable-CsAdDomain.

網域準備是準備 Lync Server 2013 的 Active Directory 網域服務的最後一個步驟。Domain preparation is the final step in preparing Active Directory Domain Services for Lync Server 2013.

若要使用安裝程式來準備網域To use Setup to prepare domains

  1. 以 Domain Admins 群組成員的身分登入網域中的任何伺服器。Log on to any server in the domain as a member of the Domain Admins group.

  2. 從 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.

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

  4. [步驟 5:準備目前的網域],按一下 [執行]At Step 5: Prepare Current Domain, click Run.

  5. 在 [ 準備網域 ] 頁面上,按 [下一步]On the Prepare Domain page, click Next.

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

  7. 在 [ 動作 ] 欄下,依序展開 [ 網域準備]、[尋找 <Success> 執行結果],以驗證網域準備順利完成,請關閉記錄檔,然後按一下 [完成]Under the Action column, expand Domain Prep, look for a <Success> Execution Result at the end of each task to verify that domain 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 the domain controllers listed in the Active Directory Sites and Services snap-in for the forest root domain controller.

若要使用 Cmdlet 準備網域To use cmdlets to prepare the domain

  1. 以 Domain Admins 群組成員的身分登入網域中的任何伺服器。Log on to any server in the domain as a member of the Domain Admins group.

  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-CsAdDomain [-Domain <DomainFQDN>] 
    

    例如:For example:

    Enable-CsAdDomain -Domain domain1.contoso.net 
    

    如果不指定 Domain 參數,預設值為本機網域。If you do not specify the Domain parameter, the default is the local domain.

  5. 確認網域準備成功。Verify that domain preparation was successful. 運行:Run:

    Get-CsAdDomain [-Domain <Domain FQDN>] [-DomainController <Domain controller FQDN>] [-GlobalCatalog <Global catalog server FQDN>] [-GlobalSettingsDomainController <Domain controller FQDN where global settings are stored>] 
    

    例如:For example:

    Get-CsAdDomain -Domain domain1.contoso.net -GlobalSettingsDomainController dc01.domain1.contoso.com
    

    注意

    GlobalSettingsDomainController 參數可讓您指出通用設定的存放位置。The parameter GlobalSettingsDomainController allows you to indicate where global settings are stored. 如果您的設定儲存在系統容器中 (這通常是因為升級部署尚未遷移至設定容器) 中的全域設定,所以您可以在 Active Directory 樹系的根目錄中定義網域控制站。If your settings are stored in the System container (which is typical with upgrade deployments that have not had the global settings migrated to the Configuration container), you define a domain controller in the root of your Active Directory forest. 如果全域設定位於 Configuration 容器中 (在全新部署或升級部署作業期間,當設定已經移轉至 Configuration 容器時的常見現象),您可以在樹系中定義任何網域控制站。If the global settings are in the Configuration container (which is typical with new deployments or upgrade deployments where the settings have been migrated to the Configuration container), you define any domain controller in the forest. 如果您未指定此參數,則指令程式會假設設定會儲存在設定容器中,並參照 AD DS 中的任何網域控制站   。If you do not specify this parameter, the cmdlet assumes that the settings are stored in the Configuration container and refers to any domain controller in AD DS.

    如果您未指定 Domain 參數,則預設值為本機網域。If you do not specify the Domain parameter, the default is the local domain.

    如果網域準備成功,則此 Cmdlet 會傳回 **LC _ DOMAINSETTINGS _ 狀態 _ ** 的值。This cmdlet returns a value of LC_DOMAINSETTINGS_STATE_READY if domain preparation was successful.