OCS R2 Global settings changes in AD
After a new deployment, a great question mark appeared in my head when the follow popup appeared:
So what's next?
In some multidomain scenarios where the configuration stays in the root domain there where some reports of performance issues so the OCS team decided to enable the ability to change the the settings from the system container to the configuration partition in AD.
I’ve found this info on the The Three UC Amigos blog to how to do this move:
“How do I move the OCS global settings from System container to Configuration container?
Here are the steps from the R2 deployment guide:
You can run any of the following steps in read-only test mode by appending the /Check parameter to the MigrateOcsGlobalSettings command. This parameter prints the status of target objects and properties without making updates.
If any of the following steps fails to complete successfully due to network, replication, or permission issues, you can rerun the step until it completes successfully.
Before you begin the migration process, use the Office Communications Server snap-in to stop all Office Communications Server services on all Office Communications Servers.
To migrate global settings to Configuration container
1. Copy the global settings tree structure to the Configuration container by opening a command prompt and then running the following command:
cscript MigrateOcsGlobalSettings.vbs /Action:MigrateGlobalSettingsTree
2. Copy the global settings attributes to the Configuration container as follows:
cscript MigrateOcsGlobalSettings.vbs /Action: MigrateGlobalSettingsProperties
3. For Office Communications Server 2007 and Live Communications Server 2005 with SP1, run forest preparation to set permissions as follows:
Do not use the Office Communications Server Prep Forest wizard for this step. The wizard will show that the forest is already prepared, although the ACEs are not in the new container yet.
LcsCmd /Forest /Action:ForestPrep /global:configuration
For Live Communications Server 2005 with SP1, also run domain preparation in every domain the runs Live Communications Server as follows:
LcsCmd /Domain /Action:DomainPrep
Wait for the global settings tree to replicate to most forest global catalogs before proceeding to the next step.
4. Update server distinguished name (DN) references to the new global settings tree as follows:
cscript MigrateOcsGlobalSettings.vbs /Action: MigrateServerDnReferences /SearchBaseDN:<server search base DN>
Where /SearchBaseDN specifies the migration scope for servers.
5. Update DN references for user, contact, and inetOrgPerson objects to point to new global settings tree as follows:
cscript MigrateOcsGlobalSettings.vbs /Action: MigrateUserDnReferences /SearchBaseDN:<user search base DN>
Where /SearchBaseDN specifies the migration scope for users.
Wait for this step to complete before proceeding to the next step (for example, with stable network connectivity, it takes about one hour to migrate 30,000 users).
Use the Office Communications Server snap-in to restart the Office Communications Server services.
6. Try to send instant messages and perform some conferencing tasks to verify that the migration was successful.
Remove the original global settings tree structure from the System container as follows:
Do not perform this step until steps 5 and 6 are complete.
cscript MigrateOcsGlobalSettings.vbs /Action: DeleteSystemGlobalSettingsTree”