Silent Installs and Uninstalls for Collectors

The Collector installation program can be executed without any user intervention, known as a silent installation. A silent installation can be performed completely from the command line (either remotely or from the local console), can be part of an automated script, or used to speed up the installation process.

Silent Installs and Uninstalls on MS Windows

To install the MS Windows Collector in silent mode, use the following command:

InstallBlueStripeCollector-Windows.exe /S

The /S after the command is required for a silent installation. Additional command line arguments are available but are optional. All arguments are case-sensitive. If they are not given, the default values are used. The command line arguments are as follows:

  • /S
    Silent flag required for silent installations. It implicitly means agreement to the EULA.
  • /Apache=off|auto|manual
    Whether or not to install the Apache webserver extension for URL processing. If set to off, the extension is not installed. If set to auto, the extension is installed and Apache is gracefully restarted after Collector installation. If set to manual, the extension is installed but the user must restart Apache. Set to manual by default. Refer to Webserver Extension for more details.
  • /Isapi=off|auto|manual
    Whether or not to install the IIS webserver extension for URL processing. If set to off, the extension is not installed. If set to auto, it will start recycling all of the application pools. after the Collector installation is complete. If set to manual, the extension is installed and the user must recycle IIS. Set to manual by default. Refer to Webserver Extension for more details.
  • /RebootMode=manual|auto|bypass
    Windows must be rebooted to complete the Collector installation. If set to manual, the Collector is installed but not activated, and the machine is not rebooted. The Collector is set to activate on the next reboot. If set to auto, the Collector is installed, and the machine is rebooted immediately after install. The Collector is activated after the automatic reboot. If set to bypass, the Collector is installed and immediately activated without a reboot. Activating with a reboot can cause system instability but is sometimes necessary to detect a problem that might disappear after a reboot. The default is manual.
  • /InstDir=<dir>
    Installation directory to use. It defaults to C:Program FilesBlueStripeCollector directory on 32-bit systems and C:Program Files (x86)BlueStripeCollector for 64-bit systems. It must be the last argument if specified.

By default, after a BlueStripe Collector is installed, the FactFinder Console is able to discover it using a discovery request on port 7561. It is also possible to turn off Collector discovery for the FactFinder Console and have the Collector contact it to establish a connection using the following command line options (Refer to Configuring Collectors to Initiate Connection for details.):

  • /FFHostname=<IP or hostname>
    IP address or the hostname of the FactFinder Console to connect to. It can be an IPv4 address, computer name, or fully qualified DNS name. Only necessary if FactFinder can't use the discovery process to connect to it or if you want to configure it to connect to only one specific FactFinder instance. Defaults to no value so that it will respond to all Collector discovery requests.
  • /FFPort=<port>
    Can only be used with /FFHostname to specify which port to use when initiating a connection with FactFinder. The default is 7560.

To perform a silent uninstall on MS Windows, execute the following, where <install-dir> is the installation directory chosen during installation:

<installdir>Uninstall.exe /S

Uninstalling removes all files from the installation directory including Rewind data files.

Silent Installs on Linux, Sun Solaris, and IBM AIX

On Linux, Solaris, and AIX, the installation program accepts the following command line options, which are case-sensitive. The silent flag must be specified for a completely uninterrupted installation void of prompts:

  • -s or --s
    Sets the installation to silent mode. It means that you automatically agree to the EULA. Defaults values are used for each prompt unless specified on the command line at the same time.
  • --upgrade
    Uninstalls the current Collector and then runs the installation program.

    Uninstalling removes all files from the installation directory including Rewind data files.

  • --check
    Checks permissions and operating system but does not install the Collector.
  • --apache=off|auto|manual
    Denotes whether or not to install the Apache webserver extension. If set to off, the extension is not installed. If set to auto, the extension is installed and Apache is restarted after Collector installation is complete. If set to manual, the extension is installed but the user must recycle Apache manually. Set to manual by default. Refer to Webserver Extension for more details.
  • --ffhostname and --ffport
    Optional arguments that can be used to configure the Collector to initiate connection with a specific FactFinder (provide its hostname or IP address after --ffhostname) instead of allowing FactFinder to discovery the Collector. The port defaults to 7560. Refer to Configuring Collectors to Initiate Connection for details.

If the --s (silent) flag is not given, the user will be prompted to accept the EULA before continuing even if all the other configuration options are defined on the command line.

For example, on Linux, execute the following for a silent installation (at a minimum):

sh InstallBlueStripeCollector-Linux.bin --s

To perform a silent installation on Sun Solaris (at a minimum):

sh InstallBlueStripeCollector-Solaris.bin --s

To perform a silent installation on IBM AIX (at a minimum):

sh InstallBlueStripeCollector-AIX.bin --s

Silent Uninstalls on Linux, Sun Solaris, and IBM AIX

Uninstalling the Collector on Linux is performed by executing the following command as root:

rpm -e bluestripe-collector

This command is already non-interactive, so it can be used for a silent uninstall.

Uninstalling in silent mode on Solaris involves adding 2 command line options:

pkgrm -na /etc/bluestripe-collector/bluestripe-pkgadmin bluestripe-collector

These two options suppress the prompts to confirm package removal and to confirm executing scripts with super-user permission to complete the removal of the package.

To uninstall the Collector on AIX:

installp -u bluestripe.collector