Installing auto-discovery in silent mode

You install auto-discovery in silent mode by firstly editing the properties file (autodiscovery.properties), and then launching the installer with the silent command (-i silent) suffixed.

Before you begin

Close and stop all system processes before beginning silent installation. This includes all monitoring software, databases, and third party packages.

Performing the installation requires full administrative access to the entire system. Full system authorization to read, write, add, and delete all system files and applications must be established before beginning the installation.

Warning: Before executing the auto-discovery installer, make a backup of the existing auto-discovery XML files located in the following directory: /<ncm install dir>/autodiscovery/xml
The auto-discovery installer overwrites all files in this directory. Once the installer has completed, review the backup files and recreate your custom changes as required.

About this task

Installation parameters are defined in the autodiscovery.properties file. You can replace any suggested default values with your own.
Tip: There are two methods of referencing the properties file:
The default documented here (step 3)
Use the -f flag to explicitly reference the file, regardless of name or location. For example:
sh ./autodiscovery-version.bin -i silent -f myproperties.properties
whereautodiscovery-version.bin is the name of your installer, and myproperties.properties is the location and name of your properties file.
Optional
Use a properties file with the same filename as the installer and located in the same directory.
However, the extension of the properties file must be changed to .properties, for example for an installation using the autodiscovery-version.bin file, you change the properties file name to autodiscovery-version.properties.

When silently installing auto-discovery, you must ensure that the $LICENSE_ACCEPTED$ property is set to true.

Installing the product in silent mode should take one or two minutes, excluding preparation time and the installation of any prerequisite software.

Procedure

  1. From the directory which contains the installer, open autodiscovery.properties in a text editor.
  2. Edit the installation parameters as required.
  3. Type the following command:
    sh./autodiscovery-version.bin LAX_VM /opt/IBM/tivoli/netcool/ncm/jre/bin/java -i silent -f /file_path/mypropertiesfile.properties
    where version is the auto-discovery installer version, and /opt/IBM/tivoli/netcool/ncm/jre/bin/java is the default directory.