Client_Collector.ps1

Preinstallation Checklist

Before beginning, verify the following items. If any are not complete, please stop installation.

  • ISO/USB Media still inserted into system, along with verify the drive letter
  • Are two drives provisioned for the system? C: for OS, and a second for the Collector Installation.
  • Has Microsoft Support provided a unique CollectorId?

Script Execution

Logon onto the Collector and open a PowerShell command window with elevated privileges by right-clicking on Start -> All Programs -> Accessories -> Windows PowerShell -> Windows PowerShell and selecting “Run as Administrator”.

From the PowerShell command prompt, execute:

& "Z:\Deploy\CER Source Files\SERA Collector\Client_Collector.ps1"
  1. Enter the drive letter of the drive containing the install media
    Enter the drive letter of the install media (Ex. Z:)

  2. Enter the drive letter to store the ERWS Website Enter the drive letter of the drive that will be used to store the ERWS website and data collected (Ex. D:)

  3. Enter the port that clients will forward data to the ERWS over. This is an HTTP port. SSL will be configured later, and the HTTP binding can be manually removed. If you change the port, you will need to update the “Error Reporting Web Service” firewall rule to match manually. What HTTP port should the ERWS listen on, SSL will be configured later if required? (Ex. 80):

  4. Is this server forwarding data? Enter ‘y’ to use as a ‘Client Facing Forwarding Collector’ and install the Data Director. Enter ‘n’ to utilize as a ‘Client Facing Storing Collector’. Is this server forwarding data? (y/n):

  5. If storing, you will not be presented with this prompt. If forwarding, you will be prompted to enter the fully qualified name and port number of the Upstream Collector this Client Facing Forwarding Collector will send data to. This server may not be deployed yet, plan accordingly. Note: Use the format of http(s)://fqdn:port

    Note: If 80 is used for http, or 443 for https, the port number can be left off.

    Enter the full URL this server will forward to (Ex: http(s)://upstream.domain.com:8080):

  6. If SCOM AEM is being used in your environment, and you would like to continue to use it, enter ‘y’. Is this a SCOM AEM collector? (y/n):

  7. If answered yes to SCOM AEM support, enter the SCOM server address here. Enter the fqdn of the SCOM AEM server (Ex. ‘http://scom.yourdomain.com:51906/’:

  8. Enter the Collector ID (Note: This should have been predetermined as part of the pre-deployment planning session with Microsoft) Enter the collector ID (with the dashes) for this server (Example: db8101f0ff-002-FFF-03-000000-01-01-0001):

  9. Wait for the script to complete.

  10. Enabled SSL - Enable SSL by running Client_Collector_Configure_SSL.ps1. Prior to doing so, ensure the PKI certificate is in the Personal store of the Local Computer account.

  11. Reboot the server.

    Note: Collector is now operational, however forwarding will fail until the Upstream Collector has been deployed. Upon deploying the Upstream Collector, restart the Data Director Service on this machine.