Leandro Amore

Un espacio para dejar las cosas que quiero compartir

July 2010 - Posts

System Center Configuration Manager en Windows 2008 R2

A partir de SP2 esta soportada la instalación de SCCM en Windows 2008 R2. Pero tiene algunos problemas con el WebDav. Como sabrán, la versión de IIS en Windows 2008 es 7.0 y no incluye WebDav, sino que hay que bajarlo como un complemento adicional. En R2, el WebDav es parte del rol de IIS 7.5, pero cuando queremos configurar los parámetros necesarios indicados acá las cosas no funcionan como deberían. Por ejemplo, me genero problemas para crear los sitios web de sccm y al levantar parte de los componentes.

Después de varias pruebas y muchas búsquedas encontré que el problema está en la consola de IIS que no refleja correctamente los cambios que hacemos en el XML de configuración de WebDav.

Lo único que tenemos que hacer para dejar esto funcionando es:

1. Buscar la carpeta c:\windows\system32\inetsrv\config\schema

2. Tomar el ownership del archivo WebDAV_Schema

3. Ejecutar un notepad como administrator y abrir este archivo

4. Buscar esta porción del código

<element name="properties">
  <attribute name="allowAnonymousPropfind" type="bool" defaultValue="false" />
  <attribute name="allowInfinitePropfindDepth" type="bool" defaultValue="false" />
  <attribute name="allowCustomProperties" type="bool" defaultValue="true" />
  <collection addElement="add" removeElement="remove" clearElement="clear" allowUnrecognizedAttributes="true">
    <attribute name="xmlNamespace" type="string" isUniqueKey="true" required="true" validationType="nonEmptyString" />
    <attribute name="propertyStore" type="string" required="true" validationType="nonEmptyString" />
  </collection>
</element>

5. Modificarlo para que quede de esta manera (los cambios en negrita)

<element name="properties">
  <attribute name="allowAnonymousPropfind" type="bool" defaultValue="true" />
  <attribute name="allowInfinitePropfindDepth" type="bool" defaultValue="true" />
  <attribute name="allowCustomProperties" type="bool" defaultValue="false" />
  <collection addElement="add" removeElement="remove" clearElement="clear" allowUnrecognizedAttributes="true">
    <attribute name="xmlNamespace" type="string" isUniqueKey="true" required="true" validationType="nonEmptyString" />
    <attribute name="propertyStore" type="string" required="true" validationType="nonEmptyString" />
  </collection>
</element>

Un bonus:

para instalar los pre requisitos de SCCM en windows 2008 r2 pueden usar el servermanagercmd.exe con este XML como input

<ServerManagerConfiguration
Action="Install"
xmlns="
http://schemas.microsoft.com/sdm/Windows/ServerManager/Configuration/2007/1">
    <Role Id="Web-Server"/>
    <RoleService Id="Web-Asp-Net"/>
    <RoleService Id="Web-ASP"/>
    <RoleService Id="Web-Windows-Auth"/>
    <RoleService Id="Web-Metabase"/>
    <RoleService Id="Web-WMI"/>
    <RoleService Id="web-static-content"/>
    <RoleService Id="web-mgmt-compat"/>
    <RoleService Id="web-mgmt-console"/>
    <Feature Id="BITS"/>
    <Feature Id="RDC"/>
</ServerManagerConfiguration>

 

y ejecutarlo con Servermanagercmd.exe –inputpath c:\carpeta\config.xml

saludos

Posted: Jul 30 2010, 11:05 PM by leandro
Filed under:
More Posts