After the schema and then the forest are prepared, it's time to
prepare the Office Communications Server Active Directory domain.
This procedure requires Domain Admins credentials in the proposed
Office Communications Server domain. Using the
/Domainparameter without a value defaults to the local
domain.
Note: |
For details about preparing domains, see
Preparing Active Directory Domain Services for Office
Communications Server 2007 R2in the Deployment
documentation. |
Preparing the Domain
The
DomainPrepaction prepares a domain to host Office
Communications Server 2007 R2 by adding the necessary ACEs to
universal groups that grant permissions to hosts and manage users
within the domain. The syntax for the
DomainPrepaction follows.
|
Copy Code
|
LCSCmd.exe /Domain[:<domain FQDN>] /Action:DomainPrep
[/PDCRequired[:{TRUE|FALSE}]]
|
Such as:
|
Copy Code
|
LCSCmd.exe /Domain:contoso.com /Action:DomainPrep
|
By default,
DomainPrepuses the PDC in the current or specified domain
and the PDC in the root domain. However, the optional parameter
/PDCRequiredcan be specified to use any domain controller
in both the current or specified domain and in the root domain. It
can be preferable to use a domain controller other than the PDC
when the PDC is not available or when network connectivity to the
PDC is poor.
Check Domain Preparation
Verify that
DomainPrepwas successful by using the
CheckDomainPrepStateaction as follows.
|
Copy Code
|
LCSCmd.exe /Domain[:<domain FQDN>]
/Action:CheckDomainPrepState
|
Such as:
|
Copy Code
|
LCSCmd.exe /Domain:contoso.com /Action:CheckDomainPrepState
|
Before the domain has been prepared, the log generated
by
CheckDomainPrepStatewill show a Domain Setting of
Not Ready. After the domain has been successfully
prepared, the Domain Setting will be
Ready.
Unprepping a Domain
DomainUnPrepreverses all actions initiated by the
DomainPrepcommand and is useful in environments that have
orphaned entries or settings. All activated Enterprise Edition or
Standard Edition servers in the domain should be deactivated before
you run this action. The following command runs the
DomainUnPrepaction.
|
Copy Code
|
LCSCmd.exe /Domain[:<Domain FQDN>] /Action:DomainUnPrep
|
Such as:
|
Copy Code
|
LCSCmd.exe /Domain:contoso.com /Action:DomainUnPrep
|
For details about domain actions, such as creating,
checking, or removing permissions, see
Delegating Permissions on a Domain.