Important

   

Starting version 8.9.03, BMC Network Automation is renamed to TrueSight Network Automation. This space contains information about BMC Network Automation 8.9.02 and previous versions. For TrueSight Network Automation 8.9.03 and later releases, see the TrueSight Network Automation documentation.

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 BMC Network Automation application servers (for example, backup server) or BMC 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:

  • BMC Network Automation application server
    When installing the application server, you can also select to install the TFTP server.
  • BMC 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 BMC Network Automation agent as it is known to the server.

  3. Using the worksheets in Installation worksheets and the following table as guides, edit the options accordingly, ensuring that you include the appropriate -P, -J, or -A option:

    Option

    Description

    Syntax and examples

    -P

    Sets the installation folder for an application

    -P <installLocation>=<filePath>

    Application server on Windows:
    -P installLocation=C:\Program Files\BMC Software\BCA-Networks
    Application server on Linux:
    -P installLocation=/opt/bmc/bca-networks

    Remote device agent on Windows:
    -P installLocation=C:\Program Files\BMC Software\BCA-Networks-Agent
    Remote device agent on Linux:
    -P installLocation=/opt/bmc/bca-networks-agent

    -A

    Specifies the products and features that you want to install

    The product and feature names are listed at the top of the options.txt file.

    To install more than one product or feature, include a -A line for each.

    -A product<productName>
    -A feature<featureName>

    For example:

    Application server: -A featureBcanServer
    Remote device agent: -A featureBcanDeviceAgent
    TFTP server (Windows only): -A featureBcanTftpServer

    -J

    Specifies Java properties that correspond to user inputs

    See the example options files for the complete list of java properties.

    For example:
    -J INSTALL_SET=BCAN_SERVER
    -J INSTALL_SET=BCAN_DEVICE_AGENT
    -J ENABLE_VIRTUAL_DATA_CENTER=false

  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 BMC 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 BMC Network Automation agent as it is known to the server.

  4. Using the worksheets in Installation worksheets and the following table as guides, edit the options accordingly, ensuring that you include the appropriate -P, -J, or -A option:

    Option

    Description

    Syntax and examples

    -P

    Sets the installation folder for an application

    -P <installLocation>=<filePath>

    Application server on Windows:
    -P installLocation=C:\Program Files\BMC Software\BCA-Networks
    Application server on Linux:
    -P installLocation=/opt/bmc/bca-networks

    Remote device agent on Windows:
    -P installLocation=C:\Program Files\BMC Software\BCA-Networks-Agent
    Remote device agent on Linux:
    -P installLocation=/opt/bmc/bca-networks-agent

    -A

    Specifies the products and features that you want to install

    The product and feature names are listed at the top of the options.txt file.

    To install more than one product or feature, include a -A line for each.

    -A product<productName>
    -A feature<featureName>

    For example:

    Application server: -A featureBcanServer
    Remote device agent: -A featureBcanDeviceAgent
    TFTP server (Windows only): -A featureBcanTftpServer

    -J

    Specifies Java properties that correspond to user inputs

    See the example options files for the complete list of java properties.

    For example:
    -J INSTALL_SET=BCAN_SERVER
    -J INSTALL_SET=BCAN_DEVICE_AGENT
    -J ENABLE_VIRTUAL_DATA_CENTER=false

  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 BMC 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

Related topics

Verifying the installation
Configuring after installation

Was this page helpful? Yes No Submitting... Thank you

Comments