Como estender o schema via linha de comando para OCS 2007 e OCS 2007 R2


Este procedimento é necessário quando os controladores de domínio estão instalado com arquiteturas diferentes daquela suportada pelo OCS. Por exemplo, caso os controladores de domínio rodem apenas em arquitetura 64 bits e você precisa estender o schema para OCS 2007, é necessário rodar via linha de comando. Através da interface apareceria a mensagem de arquitetura não compatível.

Execute os 3 comandos abaixo em um dos controladores de domínio, preferencialmente aquele que roda o Schema Master. No exemplo, considere que o nome do domínio seja hunecke.net.

1) lcscmd /Forest:hunecke.net /Action:SchemaPrep

2) lcscmd /Forest:hunecke.net /Action:ForestPrep

3) lcscmd /Domain:hunecke.net /Action:DomainPrep

O executável lcscmd se encontra na pasta setup/i386 do DVD do OCS 2007/OCS 2007 R2.

O resultado da execução dos comandos acima para estender um domínio Windows 2003 Nativo para rodar OCS 2007 é:

 

C:\DVDs\OCS2007\setup\i386>lcscmd /Forest:hunecke.net /Action:SchemaPrep
Microsoft Office Communications Server 2007 Deployment Command Console
Copyright (c) Microsoft Corporation.  All rights reserved.

Executing "Initialize Forest Object"
Executing "Initialize Active Directory Connections"
Executing "Schema Prep"
Executing "Check Schema Prep State"
Executing "Upload Schema"
Executing "Check Permission Settings of SchemaContainer"
Check the log file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\SchemaPrep[2009_12_21][19_39_22].html" for details.
Action completed successfully

Execution time = 74500 ms

C:\DVDs\OCS2007\setup\i386>lcscmd /Forest:hunecke.net /Action:ForestPrep
Microsoft Office Communications Server 2007 Deployment Command Console
Copyright (c) Microsoft Corporation.  All rights reserved.

Executing "Initialize Forest Object"
Executing "Initialize Active Directory Connections"
Executing "Forest Prep"
Executing "Check Schema Prep State"
Executing "Create Global Setting Active Directory Objects"
Executing "Create Active Directory Object CN=Microsoft"
Executing "Create Active Directory Object CN=RTC Service"
Executing "Create Active Directory Object CN=Phone Route Usages"
Executing "Create Active Directory Object CN={C491D082-9CD3-4A41-9A79-9DCEE38670EB}"
Executing "Create Active Directory Object CN=Policies"
Executing "Create Active Directory Object CN={6B151D61-D98B-4A16-9D6C-8BBB3111228A}"
Executing "Create Active Directory Object CN={6B41BE99-5C45-41E5-B34C-F6B8D0079E7B}"
Executing "Create Active Directory Object CN={1815ED7B-A539-4117-9283-E8DD27CD393E}"
Executing "Create Active Directory Object CN={2D056C61-6B35-4C99-B688-A97DA4E5B2D3}"
Executing "Create Active Directory Object CN={ABE55F05-1AE6-4CD9-A3FE-7B95513DEA5E}"
Executing "Create Active Directory Object CN={CC0B361E-BC60-4EC5-B6A9-98268C9E35AD}"
Executing "Create Active Directory Object CN=Global Settings"
Executing "Check Default SIP Domain"
Executing "Create Default SIP Domain"
Executing "Create Active Directory Object CN={9ABA48B3-5607-4412-B9BE-6A43A62A109C}"
Executing "Create Active Directory Object CN=Pools"
Executing "Create Active Directory Object CN=Trusted MCUs"
Executing "Create Active Directory Object CN=Trusted WebComponentsServers"
Executing "Create Active Directory Object CN=Trusted Proxies"
Executing "Create Active Directory Object CN=Location Profiles"
Executing "Create Active Directory Object CN=Location Normalization Rules"
Executing "Create Active Directory Object CN=Phone Routes"
Executing "Create Active Directory Object CN=Trusted Services"
Executing "Create Active Directory Object CN=MCU Factories"
Executing "Create Active Directory Object CN=RTCPropertySet"
Executing "Create Active Directory Object CN=RTCUserSearchPropertySet"
Executing "Create Office Communications Server Display Specifiers"
Executing "Create Attributes of CN=user-Display,CN=409,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=409,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=409,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=409,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=401,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=401,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=401,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=401,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=404,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=404,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=404,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=404,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=405,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=405,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=405,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=405,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=406,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=406,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=406,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=406,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=407,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=407,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=407,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=407,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=408,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=408,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=408,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=408,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=40B,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=40B,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=40B,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=40B,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=40C,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=40C,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=40C,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=40C,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=40d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=40d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=40d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=40d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=40E,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=40E,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=40E,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=40E,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=410,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=410,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=410,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=410,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=411,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=411,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=411,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=411,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=412,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=412,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=412,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=412,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=413,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=413,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=413,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=413,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=414,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=414,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=414,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=414,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=415,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=415,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=415,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=415,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=416,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=416,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=416,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=416,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=419,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=419,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=419,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=419,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=41d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=41d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=41d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=41d,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=41F,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=41F,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=41F,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=41F,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=804,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=804,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=804,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=804,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=816,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=816,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=816,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=816,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=user-Display,CN=C0A,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=contact-Display,CN=C0A,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=organizationalUnit-Display,CN=C0A,CN=DisplaySpecifiers"
Executing "Create Attributes of CN=inetOrgPerson-Display,CN=C0A,CN=DisplaySpecifiers"
Executing "Create Groups"
Executing "Create Group RTCUniversalGlobalReadOnlyGroup"
Executing "Create Group RTCUniversalGlobalWriteGroup"
Executing "Create Group RTCUniversalServerReadOnlyGroup"
Executing "Create Group RTCUniversalUserReadOnlyGroup"
Executing "Create Group RTCHSUniversalServices"
Executing "Create Group RTCComponentUniversalServices"
Executing "Create Group RTCProxyUniversalServices"
Executing "Create Group RTCArchivingUniversalServices"
Executing "Create Group RTCUniversalServerAdmins"
Executing "Create Group RTCUniversalUserAdmins"
Executing "Create Group RTCUniversalReadOnlyAdmins"
Executing "Create Group RTCUniversalGuestAccessGroup"
Executing "Create Group Permissions"
Executing "Create Permission Settings of RTCUniversalGlobalReadOnlyGroup"
Executing "Create Permission Settings of RTCUniversalGlobalWriteGroup"
Executing "Create Permission Settings of RTCUniversalServerReadOnlyGroup"
Executing "Create Permission Settings of RTCUniversalUserReadOnlyGroup"
Executing "Create Permission Settings of RTCHSUniversalServices"
Executing "Create Permission Settings of RTCComponentUniversalServices"
Executing "Create Permission Settings of RTCProxyUniversalServices"
Executing "Create Permission Settings of RTCArchivingUniversalServices"
Executing "Create Permission Settings of RTCUniversalServerAdmins"
Executing "Create Permission Settings of RTCUniversalUserAdmins"
Executing "Create Permission Settings of RTCUniversalReadOnlyAdmins"
Executing "Create Permission Settings of RTCUniversalGuestAccessGroup"
Executing "Create Forest Permissions"
Executing "Create Permission Settings of RTC Service"
Executing "Create Permission Settings of RootDomainSystemContainer"
Executing "Create Permission Settings of ConfigurationDisplaySpecifiersContainer"
Executing "Check Permission Settings of ConfigurationContainer"
Executing "Check Permission Settings of SchemaContainer"
Check the log file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ForestPrep[2009_12_21][19
_39_44].html" for details.
Action completed successfully

Execution time = 2562 ms

C:\DVDs\OCS2007\setup\i386>lcscmd /Domain:hunecke.net /Action:DomainPrep
Microsoft Office Communications Server 2007 Deployment Command Console
Copyright (c) Microsoft Corporation.  All rights reserved.

Executing "Initialize Domain Object"
Executing "Initialize Active Directory Connections"
Executing "Initialize Forest Object"
Executing "Domain Prep"
Executing "Create Permission Settings of DomainRoot"
Executing "Create Permission Settings of UsersContainer"
Executing "Create Permission Settings of ComputersContainer"
Executing "Create Permission Settings of DomainControllersContainer"
Check the log file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\DomainPrep[2009_12_21][19
_40_03].html" for details.
Action completed successfully

Execution time = 281 ms

Comments (0)

Skip to main content