Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Lync Server uses commands to extend the schema on the schema host

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Under the condition that the account authority is sufficient:

one。 Prepare the architecture

Copy the ldf files from the lync installation package on the schema host to the schema host server (the four .ldf files are located on the installation media or in the downloaded\ Support\ Schema directory). Then cd goes to the folder of the ldf file. If you import schema files using Ldifde.exe, you must import all four files, whether you are migrating from a previous version or performing a fresh installation. These files must be imported in the following order:

ExternalSchema.ldf

ServerSchema.ldf

BackCompatSchema.ldf

VersionSchema.ldf

To import these four schema files using Ldifde.exe on the domain controller that hosts the schema, use the following format:

Ldifde-I-v-k-s-f-c DC=X-j logFilePath-b

Example:

Ldifde-I-v-k-s DC1-f ServerSchema.ldf-c DC=X "DC=contoso,DC=com"-j C:\ BatchImportLogFile-b Administrator contoso password

Second, prepare the current forest

Run on the schema host:

Enable-CsAdForest

The format is:

Enable-CsAdForest [- GroupDomain]

Example:

Enable-CsAdForest-GroupDomain domain1.contoso.com

If you do not specify the GroupDomain parameter, the default value is the local domain. If you previously created a generic group in a domain other than the default domain, you must explicitly specify the GroupDomain parameter.

Wait for Active Directory replication to complete, or force replication to all domain controllers listed in the Active Directory sites and Services snap-in of the forest root domain controller before running domain preparation.

Verify that the forest preparation is successful. Run:

Copy

Get-CsAdForest

If the forest preparation is successful, this cmdlet returns the value of LC_FORESTSETTINGS_STATE_READY.

Prepare the current domain

Run:

Install-CsAdServerSchema [- Ldf]

If you do not specify the Ldf parameter, the default value is the Lync Server 2013 installation path read from the registry.

For example:

Install-CsAdServerSchema-Ldf "C:\ Program Files\ Microsoft Lync Server 2013\ Deployment\ Setup"

Use the following cmdlet to confirm that the schema is ready to run.

Get-CsAdServerSchema

If schema preparation is successful, this cmdlet returns the value of SCHEMA_VERSION_STATE_CURRENT.

Wait for the Active Directory replication to complete, or force the replication.

Run:

Enable-CsAdDomain [- Domain]

For example:

Enable-CsAdDomain-Domain domain1.contoso.net

If you do not specify the Domain parameter, it defaults to the local domain.

Confirm that the domain preparation was successful. Run:

Get-CsAdDomain [- Domain] [- DomainController] [- GlobalCatalog] [- GlobalSettingsDomainController]

For example:

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

Note:

The parameter GlobalSettingsDomainController is used to indicate where the global settings are stored. If the settings are stored in the system container (as is usually the case in an upgrade deployment where global settings have not been migrated to the configuration container), define a domain controller in the root of the Active Directory forest. If global settings are stored in the configuration container (usually in a new deployment or in an upgraded deployment where settings have been migrated to the configuration container), define any domain controllers in the forest. If this parameter is not specified, cmdlet assumes that the settings are stored in the configuration container and references any domain controller in AD DS.

If you do not specify the Domain parameter, it defaults to the local domain.

If the domain preparation is successful, cmdlet returns LC_DOMAINSETTINGS_STATE_READY.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report