Running the installer in silent mode


A silent installation enables you to quickly repeat an installation procedure with a common set of predefined parameters on multiple TrueSight Network Automation application servers (for example, backup server) or Network Automation remote device agents. A silent installation procedure does not launch a wizard and does not require you to monitor or respond.

You can install the following components:

  • Network Automation application server
     When installing the application server, you can also select to install the TFTP server.
  • Network Automation remote device agent

Note

On a given computer, you can install either the application server or the remote device agent, but not both.

To run the installer in silent mode on a Windows computer

  1. Log on to the computer where you are performing the installation as an administrator.
  2. Create an options.txt file that contains the options for the installer:
    • Use an options.txt file generated in an earlier installation.
    • Create an options.txt file from a sample file.

      Click here to view the guidelines that you must follow when you edit the options.txt file.
      • If you copy and paste any options into your file, be sure your resulting file contains only ASCII characters.
      • Remove the comment (#) markers.
      • If your database is an Oracle RAC using Automatic Storage Management (ASM) to manage
         the data file, you must enter a file path in the following format:

        -J DATABASE_DATAFILE=+DATA_SPACE

        or

        -J DATABASE_DATAFILE=+DATA_SPACE/path/data_file_name

        For example, if the data space name in your Oracle RAC environment is named DATA, you would enter -J DATABASE_DATAFILE=+DATA. Oracle RAC databases that are not using ASM should use the standard format, the absolute file path to the data file.
      • For each parameter that is encrypted or labeled "secret", you need to first encrypt the value . For example, to encrypt your authentication password, use the -J AUTHENTICATION_PASSWORD=<encrypted_password>option.

        Note

        Custom installation: If you require option files for custom server installations, contact BMC Support.

      • In an environment where the remote device agent is installed on a host computer behind a Network Address Translation (NAT) firewall, you must provide the following Java option:

        -J ADDITIONAL_STARTUP_OPTIONS=-Djava.rmi.server.hostname= VALUE

        Replace VALUE with the public IP address of the Network Automation agent as it is known to the server.
  3. Using the following table as guide, edit the options accordingly, ensuring that you include the appropriate -P, -J, or -A option:

  4. Execute the command: setup.cmd -i silent -DOPTIONS_FILE=c:\path\to\options.txt.

    Note

    You must specify an absolute path to the options file because the Network Automation installer does not execute from the directory where you run the command. If the path contains one or more blank spaces, it must be enclosed in double quotation marks ("). Do not cut and paste any of the preceding command lines from this document. The hyphen (-) or hyphens might not paste properly. Although when pasted these symbols might look like a hyphen, they are not.

    If an error occurs, the installer exits and does not perform any part of the installation.

  5. Reboot your system after the installation is complete to start the product services.

 Back to top 

To run the installer in silent mode on a Linux computer

  1. Log on to the computer where you are performing the installation as root.
  2. Extract the installation files, as explained in step 4 of Installing-the-application-server-on-Linux.
  3. Create an options.txt file that contains the options for the installer:
    • Use an options.txt file generated in an earlier installation.
    • Create an options.txt file from a sample file.

      Click here to view the guidelines that you must follow when you edit the options.txt file.
      • If you copy and paste any options into your file, be sure your resulting file contains only ASCII characters.
      • Remove the comment (#) markers.
      • If your database is an Oracle RAC using Automatic Storage Management (ASM) to manage
         the data file, you must enter a file path in the following format:

        -J DATABASE_DATAFILE=+DATA_SPACE

        or

        -J DATABASE_DATAFILE=+DATA_SPACE/path/data_file_name

        For example, if the data space name in your Oracle RAC environment is named DATA, you would enter -J DATABASE_DATAFILE=+DATA. Oracle RAC databases that are not using ASM should use the standard format, the absolute file path to the data file.
      • For each parameter that is encrypted or labeled "secret", you need to first encrypt the value . For example, to encrypt your authentication password, use the -J AUTHENTICATION_PASSWORD=<encrypted_password>option.

        Note

        Custom installation: If you require option files for custom server installations, contact BMC Support.

      • Ensure that no Ctrl+M characters appear in the options.txt file.
      • In an environment where the remote device agent is installed on a host computer behind a Network Address Translation (NAT) firewall, you must provide the following Java option:

        -J ADDITIONAL_STARTUP_OPTIONS=-Djava.rmi.server.hostname= VALUE

        Replace VALUE with the public IP address of the Network Automation agent as it is known to the server.
  4. Use the following table as guides, edit the options accordingly, ensuring that you include the appropriate -P, -J, or -A option:

  5. Execute the umask 22 command.
  6. Execute the command: ./setup.sh -i silent -DOPTIONS_FILE=/path/to/options.txt.

    Note

    You must specify an absolute path to the options file because the Network Automation installer does not execute from the directory where you run the command. If the path contains one or more blank spaces, it must be enclosed in double quotation marks ("). Do not cut and paste any of the preceding command lines from this document. The hyphen (-) or hyphens might not paste properly. Although when pasted these symbols might look like a hyphen, they are not.

    If an error occurs, the installer exits and does not perform any part of the installation.

Back to top

Troubleshooting installation issues

Any warnings related to illegal reflective access operation in the log file can be safely ignored and need not be reported to BMC Customer Support. For more information, see Warnings-in-logs

If you face any other issue during installation, see Troubleshooting-the-installation-migration-or-upgrade.

Related topics

Verifying-the-installation
Configuring-after-installation

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*