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.

      The [expand] macro is a standalone macro and it cannot be used inline. Click on this message for details.

  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:

    The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

  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.

      The [expand] macro is a standalone macro and it cannot be used inline. Click on this message for details.

  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:

    The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

  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

 

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