Solucionando Problemas: SCCM não reportando Inventário de Hardware e de Software (pt-BR)

Solucionando Problemas: SCCM não reportando Inventário de Hardware e de Software (pt-BR)


 

Troubleshooting SCCM não reportando Inventário de Hardware e de Software.

 

 

                Documentação com os processos para corrigir erro do SCCM quando não reportar Inventário de Hardware e Software.

Remoção e reinstalação do Bits, Management Point e Revisão de Configurações do WebDav.

 1° Para remover o Bits e é necessário acessar o Server Manager, Iniciar/Administrative Tools/Server Manager, após abrir o Server Manager, selecionar a opção Features.


 

2° Abrirá a tela para selecionar qual Features você deseja remover, selecione a opção BITS Server Extensions, aguarde a desinstalação e reinicie o Servidor.


 

3° Após reiniciar o Servidor será necessário finalizar a remoção do Bits.

Com a remoção do Bits, alguns outros Serviços podem sofrer alterações, são eles: WebDav no IIS e o Management Point dentro do System Center, para que a reinstalação tenha efeito é necessário remover também o Management Point do System Center.

Para a remoção do Management Point, é necessário abrir o Console do SCCM e expandir: Site Database / Site Management / S01 – Primary (Site Name) / Site Settings / Site Systems / (Site Primario SCCM) após clicar no site, serão mostradas as Roles instaladas neste site, clique na Role “ConfigMgr Management Point” botão direito e “delete” a role será removida e a desinstalação pode ser visualizada através dos logs.


Logs para acompanhar a remoção da Role “Management Point”.

Caminho dos Logs: E:\Program Files\Microsoft Configuration Manager\Logs

Logs: MPSetup.log e MPControl.log


 

Após confirmar a remoção do Management Point através dos Logs, reiniciar novamente o Servidor.

Feito os Procedimentos acima iremos reinstalar o BITS e o Management Point. Para instalar o BITS, devemos fazer o procedimento parecido com a remoção


Instalando o Bits.

                Iniciar / Administrative Tools / Server Manager / Features / Add Features. Neste exemplo o Bits já esta instalado, é apenas um demonstrativo, feito o procedimento o mesmo concluirá a instalação e solicitará o reinicio do Servidor.


 

Após Instalar o Bits e reiniciar o Servidor partiremos agora para a Reinstalação do Management Point no Sccm. Abra o Console do SCCM vá em Site Database / Site Managemente / Primary Site / Site Settings / Site Systems. Clique com o botão direito no Site principal e selecione “New Roles”, abrira uma nova janela, clique em avançar e selecione Management Point e conclua o processo de Instalação.

É possível monitorar a instalação do Management Point pelos mesmos Logs que usamos para monitorar a desinstalação.


                 Após concluirmos todos os processos acima será necessário ativar uma configuração do BITS dentro do “Default Web Site” no IIS, Iniciar / Administrative Tools / Internet Information Services (IIS).


 

Habilitar a opção “Allow clientes to upload files” / use default settings.

 

 Após concluir todas as etapas acima, devemos revisar algumas configurações do Webdav no IIS, para que essa revisão seja feita, seguiremos um procedimento passado na documentação da própria Microsoft.

Procedimento de configuração do Webdav, http://technet.microsoft.com/en-us/library/cc431377.aspx

Segue em anexo Documentação da Microsoft.

 Reinstalação e Reconfiguração do WebDav.

Remote Differential Compression for site server and branch distribution point computers

Site servers and branch distribution points require Remote Differential Compression (RDC) to generate package signatures and perform signature comparison. By default, RDC is not installed on Windows Server 2008 or Windows Server 2008 R2 and must be enabled manually.

Use the following procedure to enable Remote Differential Compression for Windows Server 2008 and Windows Server 2008 R2.

  1. On the Windows Server 2008 or Windows Server 2008 R2 computer, navigate to Start / All Programs / Administrative Tools / Server Manager to start Server Manager. In Server Manager, select the Features node and click Add Features to start the Add Features Wizard.
  2. On the Select Features page, select Remote Differential Compression, and then click Next.
  3. Complete the rest of the wizard.
  4. Close Server Manager.

Internet Information Services (IIS)

You must install Internet Information Services (IIS) for Windows Server 2008 and Windows Server 2008 R2 computers when they will be used to hold any of the following site system roles:

  • Management point
  • Distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS
  • Reporting point
  • Software update point
  • Server locator point
  • Fallback status point

Configure WebDAV to support management points and distribution points that are enabled for "Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS"

In addition to IIS, you must configure WebDAV extensions for management points and distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS.

  • Windows Server 2008 with IIS 7.0: Manually install and configure WebDAV extensions after installing IIS 7.0.
  • Windows Server 2008 R2 with IIS 7.5: WebDAV extensions are included with IIS, and you do not have to download them manually, but you must enable WebDAV extensions during IIS installation.

Install Internet Information Services (IIS) on Windows Server 2008 and Windows Server 2008 R2 Computers

Use the following procedure that applies to Windows Server 2008 and Windows Server 2008 R2:

  1. On the Windows Server computer, navigate to Start / All Programs / Administrative Tools / Server Manager to start Server Manager. In Server Manager, select the Features node, and then click Add Features to start the Add Features Wizard.
  2. On the Select Features page of the Add Features Wizard:
    • For Windows Server 2008, select the BITS Server Extensions check box. For Windows Server 2008 R2, select the Background Intelligent Transfer Services (BITS) check box. When prompted, click Add Required Role Services to add the dependent components, including the Web Server (IIS) role.
    • Select the Remote Differential Compression check box, and then click Next.
  3. On the Web Server (IIS) page of the Add Features Wizard, click Next.
  4. On the Select Role Services page of the Add Features Wizard:
    • Windows Server 2008 R2 only: For Common HTTP Features, select the WebDAV Publishing check box.
    • For Application Development, select the ASP.NET check box and, when prompted, click Add Required Role Services to add the dependent components.

Descrição: noteNote

The ASP check box must also be selected if the site system will be configured as a reporting point.

    • For Security, select the Windows Authentication check box.
    • In the Management Tools node, for IIS 6 Management Compatibility, ensure that both the IIS 6 Metabase Compatibility and IIS 6 WMI Compatibility check boxes are selected, and then click Next.
  1. On the Confirmation page, click Install, and then complete the rest of the wizard.
  2. Click Close to exit the Add Features Wizard, and then close Server Manager.

Install WebDAV for IIS 7.0

You must install WebDAV manually on Windows Server 2008 computers with IIS 7.0. The following procedure applies to Windows Server 2008 with IIS 7.0 installed:

  1. Depending on your server operating system architecture, download either the x86 or x64 version of WebDAV from: http://go.microsoft.com/fwlink/?LinkId=108052.
  2. Depending on the version you downloaded, run either the webdav_x86_rtw.msi or the webdav_x64_rtw.msi file to install WebDAV IIS 7.0 extensions.

Enable WebDAV and create an Authoring Rule

Use the following procedure to enable WebDAV and create an Authoring Rule for Windows Server 2008 and Windows Server 2008 R2:

  1. Navigate to Start / All Programs / Administrative Tools / Internet Information Services (IIS) Manager to start Internet Information Services 7 Application Server Manager.
  2. In the Connections pane, expand the Sites node, and then click Default Web Site if you are using the default Web site for the site system or SMSWEB if you are using a custom Web site for the site system.
  3. In the Features View, double-click WebDAV Authoring Rules.
  4. With the WebDAV Authoring Rules page displayed, in the Actions pane, click Enable WebDAV.
  5. In the Actions pane, click Add Authoring Rule.
  6. In the Add Authoring Rule dialog box, for Allow access to, select All content.
  7. For Allow access to this content to, select All users.
  8. For Permissions, select Read, and then click OK.

Use the following procedure to change the property behavior of WebDAV on Windows Server 2008 and Windows Server 2008 R2:

  1. In the WebDAV Authoring Rules page, in the Actions pane, click WebDAV Settings.
  2. In the WebDAV Settings page, for Property Behavior, set Allow anonymous property queries to True.
  3. Set Allow Custom Properties to False.
  4. Set Allow property queries with infinite depth to True.
  5. For a distribution point that is enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS, for WebDAV Behavior, set Allow hidden files to be listed to True.
  6. In the Action pane, click Apply.
  7. Close Internet Information Services (IIS) Manager.

Configure requestFiltering for IIS on distribution points

The following information applies when you use distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS.

By default, IIS blocks several file extensions and folder locations. If package source files contain extensions that are blocked in IIS, you must configure the requestFiltering section in the applicationHost.config file on a distribution points that is enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS.

For example, you might have source files for a software deployment that include a folder named bin, or that contain a file with the .mdb file extension. By default, IIS request filtering blocks access to these elements. When you use the default IIS configuration on a distribution point, clients that use BITS fail to download this software deployment from the distribution point. In this scenario, the clients indicate that they are waiting for content. To enable the clients to download this content by using BITS, on each applicable distribution point, edit the requestFiltering section of the applicationHost.config file to allow access to the files and folders in the software deployment.

Descrição: ImportantImportant

When you enable WebDAV and modify the requestFiltering section of the applicationHost.config file for the Web site, this increases the attack surface of the computer. Enable WebDAV only when required for management points and distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS. If you enable WebDAV on the default Web site, it is enabled for all applications that use the default Web site. If you modify the requestFiltering section, it is modified for all Web sites on that server. The security best practice is to run Configuration Manager 2007 on a dedicated Web server. If you must run other applications on the Web server, use a custom Web site for Configuration Manager 2007. For more information, see Best Practices for Securing Site Systems.

Use the following procedure to modify requestFiltering for Windows Server 2008 and Windows Server 2008 R2.

  1. Open the applicationHost.config file located in the %Windir%\System32\Inetsrv\Config\ directory on distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS.
  2. Search for the <requestFiltering> section.
  3. Determine the file name extensions and folder names that you will have in the packages on that distribution point. For each extension and folder name that you require, perform the following steps:
    • If it is listed as a fileExtension element, set the value for allowed to true.

      For example, if your package contains a file with an .mdb extension, change the line true to allowed<add fileExtension=".mdb" allowed="false" /> to <add fileExtension=".mdb" allowed="true" />.

      Allow only the file name extensions required for your packages.
    • If it is listed as a <hiddenSegments> element, delete the entry that matches the file name extension or folder name from the file.

      For example, if your package contains a folder with the label of bin, remove the line <add segment=”bin” /> from the file.
  4. Save and close the applicationHost.config file.

------------------------------------------------------------------------------------------------------------------------------------------
 
Para confirmarmos se o problema foi corrigido, podemos verificar se o SCCM esta reportando inventário de Hardware e Software através dos Logs.

 

MP_Hinv.log e MP_Sinv.log . Localizados no diretório E:\Program Files\SMS_CCM\Logs.

 


 

Leave a Comment
  • Please add 8 and 1 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Fernando Lugão Veltem edited Original. Comment: adicionado tags, alterado titulo e adicionado toc

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Fernando Lugão Veltem edited Original. Comment: adicionado tags, alterado titulo e adicionado toc

Page 1 of 1 (1 items)