The MySQL Enterprise Monitor Proxy and Aggregator installers enable you to perform unattended installations. This is useful for large scale installations on multiple machines. The installations can be run using all required options on a command line, or by defining the required options in a configuration file and calling that file for each installation.
To display the installation options available, run the installer from the command line with the following option:
--help
The following options are available:
Table 11.1 MySQL Enterprise Monitor Proxy and Aggregator Installer Options
Option | Description |
---|---|
|
Displays the help text listing all options available for the platform on which the installer was run. On Microsoft Windows platforms, this option does not output the list of options in the console window, but in a separate help window. |
|
Displays the product version. On Microsoft Windows platforms, this option does not output the version details in the console window, but in a separate help window. |
|
Sets the verbosity of the installation log. 0 is the lowest verbosity, 4 is the highest. Default value is 2. |
|
Sets the path and filename of the installation log file. |
|
Sets the path and filename of the installation options file. For more information, see Unattended Installation with Options File. |
|
Sets the language of the installation. Possible values are:
|
|
Sets the installation mode. This varies according to
the platform. For example, on Linux-based systems, you
can choose a GUI-based installer with The following is a list of the GUI-based installation options available:
|
|
Sets the graphical elements to use, if any, in the unattended installation. The following options are available:
|
|
Sets the installation directory for the product. |
|
Sets the glib to use, the one delivered in the installer (0, default), or the system glib (1). |
|
Specifies which component to install. The following options are available:
|
Proxy-Specific Options | |
|
Sets the unique service name for the Proxy service. |
|
Sets the connection method used by the proxy to connect to the monitored MySQL instance. The following options are available:
|
|
Sets the port the Proxy listens on for incoming
connections. Default value is |
|
Sets the hostname or IP address of the monitored MySQL
instance. Default value is
|
|
Sets the port of the monitored MySQL instance. Default
value is |
|
Sets the socket used by the monitored MySQL instance. |
Aggregator-specific Options | |
|
Sets the unique name for the Aggregator service.
Default value is
|
|
Sets the port the Aggregator listens on. Default value
is |
|
Sets the SSL port the Aggregator listens on for secure
connections. Default value is
|
|
Sets the location of the SSL certificate. |
|
Sets the location of the SSL CA file. |
|
Sets the hostname or IP address of the MySQL Enterprise Service Manager
installation. Default value is
|
|
Sets the SSL port number of the MySQL Enterprise Service Manager's
Tomcat installation. Default value is
|
|
Sets the agent username which the Aggregator uses to
communicate with the MySQL Enterprise Service Manager. Default value is
|
|
Sets the password of the agent used by the Aggregator. |
To run the unattended installation from the command line, enter
the installer name, followed by the --mode
unattended
option, followed by the options you want to
define. If you do not define an option on the command line, the
default value is used, if a default exists. If no default value
exists, you must define that value in the configuration after
the installation is complete.
The following example installs MySQL Enterprise Monitor Proxy and Aggregator on a Linux platform but changes the MySQL Enterprise Service Manager values:
./mysqlmonitoraggregator-4.0.3.3041-linux-x86-b4bit-installer.bin --mode unattended
--unattendedmodeui none --managerhost service.manager.com --agentuser Agent100
--agentpassword D4unKotR
This example changes the following:
Instructs the installer to display no dialogs of any kind. In this mode, errors are displayed if they occur.
Sets the MySQL Enterprise Service Manager location to
service.manager.com
. This is the location of your MySQL Enterprise Service Manager installation. The default ports were not changed.Sets the Agent username to Agent100 and the Agent password to D4unKotR.
If you use an options file, add the options you want to change to a text file as name=value pairs. Using the example shown in Unattended Installation from the Command Line, the text file contents are:
mode=unattended
unattendedmodeui=none
managerhost=service.manager.com
agentuser=Agent100
agentpassword=D4unKotR
If this file was saved as pa-options.txt
,
the installation command takes the following format:
./mysqlmonitoraggregator-3.4.5.4541-linux-x86-b4bit-installer.bin --optionfile pa-options.txt