Install or upgrade the Linux Agent in silent mode

To install or upgrade the Linux Agent in silent mode, run the following command in the directory where the installation kit is located:

install.sh [options]

Where options are optional parameters for running the installation kit in silent mode. For a list of available parameters, see Linux Agent installation parameters.

Linux Agent installation parameters

Parameter

Description

-shutdown | -s

Force the Agent to shut down, if running.

-force | -F

Force the installation; skip the initial free space check.

-defaults | -D

Use the default values for installation.

-force-defaults

Force the installation using the defaults (assumes -s and -F).

-web-registration=off

-W-

Turns off Portal registration.

-web-registration=file

-W=file

Attempts to register to Portal with the values found in the file. See Linux Agent registration options.

-quiet | -Q

Quiet install; does not echo output to the screen. If user interaction is required in quiet mode, the install will fail unless -force-defaults is specified.

-log=NAME |
-L=NAME

Writes the installation log to the specified file NAME.

-lang=NAME |
-l=NAME

Selects NAME as the language. Must begin with an ISO language code. May optionally be followed by a dash or underscore and an ISO country code (e.g., fr, fr-FR, and fr_FR are acceptable). Character set markers (e.g., UTF-8) are ignored. Languages that cannot be matched will report an error and the language will be defaulted to en-US [English (US)]. If not specified, the language will be guessed from your system value of "en_US.UTF-8".

-backup=DIR | -B=DIR

Backs up the current installation of the Agent to the specified directory.

-verify | -V

Verifies the integrity of the installation kit.

-enable-bmr=Y
-rear-path=[path]

Turns on support for Bare Metal Restore (BMR) backup jobs.

path is the location of the Relax-and-Recover tool for the Agent to use (e.g., /user/sbin/rear) to create an iso file for restoring the system. The Relax-and-Recover tool (https://relax-and-recover.org/) must be installed on the Linux system before you install the Agent. See Install and verify Relax-and-Recover for Linux BMR backups.

Note: When you install the Linux Agent, it configures the Relax-and-Recover tool for use with the Linux Agent. If you use the Relax-and-Recover tool for another purpose, you can avoid overwriting your Relax-and-Recover tool settings by installing a second copy of the tool in a different location.

-enable-bmr=N

Turns off support for Bare Metal Restore (BMR) backup jobs.

Note: If you do not specify the -enable-bmr=Y -rear-path=[path] parameter, -enable-bmr=N is the default value.

-help

Shows install.sh command options.

Linux Agent registration options

For the -web-registration=FILE command, you can create a separate file to supply the following values as responses:

wccAddress=ADDRESS_OF_AMP_SERVER
wccPort=PORT_OF_AMP_SERVER # Defaults to 8086
wccLogin=PortalUserName
wccPassword=PortalPassword

Use the values provided by your administrator in these lines for address, port, and login name/password.

Note: This command only applies during installation. It works with the install.sh script, but not the register script.