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
- Log on to the computer where you are performing the installation as an administrator.
- 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.
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
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.
- Reboot your system after the installation is complete to start the product services.
To run the installer in silent mode on a Linux computer
- Log on to the computer where you are performing the installation as root.
- Extract the installation files, as explained in step 4 of Installing the application server on Linux.
- 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.
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
- Execute the
umask 22
command. 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.
Comments