为 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.

准备 Active Directory 域服务以获取 Lync Server 2013 的最后一个步骤是 "域准备"。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 Core 组件,如下所示: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 
    

    如果不指定域参数,则默认为本地域。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. 如果全局设置存储在“配置”容器中(通常在新部署或设置已迁移到“配置”容器的升级部署中是这种情况),则定义林中的任何域控制器。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. 如果不指定此参数,则 cmdlet 假定设置存储在配置容器中,并引用 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.