Installing a Collector Silently

Before you begin

Note: Installing a collector can potentially remove a collector that is already installed. For example, if you already installed the OSI PI Collector and then run the silent install for the Server 2 Server Collector, the OSI PI Collector can be uninstalled. If you are installing a new collector on a machine where there is an existing collector that you want to retain, you must use command line parameters for the existing collector as well.

About this task

Procedure

  1. Navigate to the Collectors folder on the install media.
  2. At a command prompt, enter:
    Collectors_Install.exe -s
  3. Add parameters as appropriate and assign the correct values to the parameters using the equal sign (=).
    Be sure to replace <CollectorName> with the name of your collector. For example, you might replace <CollectorName> with HistorianS2SCollector:

    HistorianS2SCollector_AddLocal=1

    If the parameters are not assigned a value, then the default values are used.

1

This command installs the Historian Server 2 Server collector and sets the source server to be PC1 and destination server to be PC2.
>Collectors_Install.exe -s HistorianS2SCollector_AddLocal=1 
HistorianS2SCollector_sourceservername=PC1 HistorianS2SCollector_destinationservername=PC2

2

This command installs the Historian File Collector and sets the destination server name to be PC1.
>Collectors_Install.exe -s HistorianFileCollector_AddLocal=1 
HistorianFileCollector_destinationservername=PC1

3

This command installs the iFIX Collector and sets the destination server name to be PC1.
>Collectors_Install.exe -s HistorianiFIXCollector_AddLocal=1 
HistorianFileCollector_destinationservername=PC1

Example

This command installs the iFIX A&E Collector and sets the destination server name to be PC2.
>Collectors_Install.exe -s HistorianiFixAECollector_AddLocal=1
HistorianiFixAECollector_destinationservername=PC2)

4

This command installs the OSI Pi Distributor collector and sets the source server name to be PC1.
>Collectors_Install.exe -s HistorianPiDistributor_AddLocal=1 
HistorianPiDistributor_sourceservername=PC1

5

This command installs the Historian S2S Distributor collector and sets the destination server name to be PC2.
>Collectors_Install.exe -s HistorianS2SDistributor_AddLocal=1 
HistorianS2SDistributor_HistorianS2SDistributor_destinationservername=PC2

6

This command installs the Windows Performance Collector and sets the destination server name to be PC2.
>Collectors_Install.exe -s HistorianWindowsPerfMonCollector_AddLocal=1 
HistorianWindowsPerfMonCollector_destinationservername=PC2

What to do next

After your Historian collector silent install, be sure to reboot, otherwise subsequent installs will fail.