Forest

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

After you prepare the schema (by using the SchemaPrep action), your next step is to prepare the Active Directory forest for Office Communications Server. All forest preparation actions require forest Enterprise Admins or root Domain Admins credentials.

If connectivity to the root domain is unreliable, when you run the ForestPrep action, specify the configuration partition as the value for the /Global parameter, because activation of server roles requires access to the root domain (where the global settings are stored). Access to the root domain is also necessary for the server to function properly, unless you select Configuration as the Global value.

Note

For details about preparing forests, see Office Communications Server 2007 R2 Active Directory Guide in the Deployment documentation.

Preparing the Forest

You prepare the forest by specifying the ForestPrep action. If the /GroupDomain parameter is not specified, the value defaults to the local domain.

LCSCmd.exe /Forest[:<forest FQDN>] /Action:ForestPrep

Such as:

LCSCmd.exe /Forest /Action:ForestPrep

Use the same command, but with the /Global syntax, to specify global settings as follows.

LCSCmd.exe /Forest /Action:ForestPrep [/Global:{system|configuration}] [/GroupDomain :<FQDN of the domain to create the universal groups in>] 

Such as:

LCSCmd.exe /Forest /Action:ForestPrep /Global:system

Check the Forest Preparation

After preparing the forest, check that the ForestPrep action was successful by running the following action.

LCSCmd.exe /Forest[:<forest FQDN>] /Action:CheckForestPrepState

Such as:

LCSCmd.exe /Forest /Action:CheckForestPrepState

Before the forest has been prepared, the log generated by CheckForestPrepState will show a Forest Setting of Not Ready. After the forest has been successfully prepared the Forest Setting will be Ready.

You must have Forest Enterprise Admins or root Domain Admins credentials to perform this task.

Unprep a Forest

The ForestUnprep action removes prior Office Communications Server forest preparations such as objects, containers, and extended property rights. The following command runs the ForestUnprep action.

LCSCmd.exe /Forest[:<forest FQDN>] /Action:ForestUnprep

Such as:

LCSCmd.exe /Forest:contoso.com /Action:ForestUnprep

By default, ForestUnprep will not proceed if any previously prepared child domains exist on the forest root. However, you can use the /Force switch to make ForestUnprep proceed; this causes all deployed Office Communications Servers to stop functioning. Use the following syntax and parameters to force a ForestUnprep action.

LCSCmd.exe /Forest[:<forest FQDN>] /Action:ForestUnprep [/Force[:{TRUE|FALSE}]]

Such as:

LCSCmd.exe /Forest:contoso.com /Action:ForestUnprep /Force

For details about forest actions, such as adding pools or creating global settings, see Preparing Enterprise Pools for Office Communications Server.

Check Domain State Within a Forest

The CheckAllDomainsPrepState action verifies that all domains within a forest—and their respective connections, objects, groups, permissions and so forth—were successfully prepared. Run the LCSCmd.exe action as follows.

LCSCmd.exe /Forest[:<forest FQDN>] /Action:CheckAllDomainsPrepState

Such as:

LCSCmd.exe /Forest /Action:CheckAllDomainsPrepState