To view all the options available for an unattended
agent installation, invoke the agent
installer file passing in the help option. The
available options are detailed in the table below.
Table 15.2. MySQL Enterprise Agent Installer Options
| Format | Option File | Description | Introduction | Deprecated | Removed |
|---|---|---|---|---|---|
| --agentpassword | Password of the agent user for connecting to the monitored MySQL server | ||||
| --agentuser | Username of the agent for connecting to the monitored MySQL server | ||||
| --aggregatorport | TCP/IP port for the Aggregator component | ||||
| --aggregatorsslcafile | CA certificate file for SSL support in the Aggregator component | ||||
| --aggregatorsslcertfile | PEM certificate file for SSL support in the Aggregator component | ||||
| --aggregatorsslport | SSL port for the Aggregator component | ||||
| --checkmysqlhost | Validate the supplied MySQL hostname | ||||
| --createaccount | Create an account on the monitored MySQL server to be used by the agent | ||||
| --debuglevel | Set the debug information level | ||||
| --debugtrace | File for a debug trace of the installation | ||||
| --enableagent | Enable the agent to monitor a MySQL server | ||||
| --enableaggregator | Enable the Aggregator to aggregate Query Analyzer data from an external source | ||||
| --enableproxy | Enable query analyzer data to be captured using the proxy service | ||||
| --installdir | Installation directory | ||||
| --installer-language | Language selection | ||||
| --managerhost | Hostname of IP address of the MySQL Enterprise Monitor server | ||||
| --managerport | TCP/IP port of the MySQL Enterprise Monitor server | ||||
| --managersslport | TCP/IP port of the MySQL Enterprise Monitor server for SSL communication | ||||
| --mode | Installation mode | ||||
| --mysqlconnmethod | Connection method to the monitored MySQL server | ||||
| --mysqlhost | MySQL hostname/IP address | ||||
| --mysqlpassword | MySQL password for the monitored MySQL server | ||||
| --mysqlport | TCP/IP port for the monitored MySQL server | ||||
| --mysqlsocket | Unix socket/Named pipe for the monitored MySQL server | ||||
| --mysqluser | MySQL username for the monitored MySQL server | ||||
| --optionfile | Installation option file | ||||
| --proxyport | TCP/IP port for the Proxy module | ||||
| --proxyuser | User account for the proxy service | ||||
| --rootpassword | Password for root user | ||||
| --rootuser | User with root privileges on the monitored MySQL server | ||||
| --servicename | Service name | ||||
| --unattendedmodeui | Unattended mode user interface | ||||
| --usessl | Enable use of SSL communication with MySQL Enterprise Monitor server | ||||
| --version | Display the product information |
Command-Line Format --agentpasswordPermitted Values Type stringSpecify the agent password to use to communicate with the MySQL Enterprise Service Manager.
Command-Line Format --agentuserPermitted Values Type stringDefault agentSpecify the agent username to use to communicate with the MySQL Enterprise Service Manager.
Command-Line Format --aggregatorportPermitted Values Type numericDefault 14000Specify the TCP/IP port to use to communicate with the MySQL Enterprise Service Manager. Enter the same TCP/IP port number as in the MySQL Enterprise Service Manager installation.
Command-Line Format --aggregatorsslcafilePermitted Values Type stringSpecify the path to the CA certificate file for SSL support in the Aggregator component. Only needed when using SSL.
Command-Line Format --aggregatorsslcertfilePermitted Values Type stringSpecify the path to the PEM certificate file for SSL support in the Aggregator component. Only needed when using SSL.
Command-Line Format --aggregatorsslportPermitted Values Type numericDefault 14443Specify the SSL port for the Aggregator component to use to communicate with the MySQL Enterprise Service Manager. Enter the same SSL port number as in the MySQL Enterprise Service Manager installation.
Command-Line Format --checkmysqlhostPermitted Values Type stringDefault yesValid Values yesCheck host noDo not check host Validate the MySQL hostname or IP address
Command-Line Format --createaccountPermitted Values Type booleanDefault 1Create the user account specified by the
agentuserandagentpasswordoptions to use when the agent connects to the monitored MySQL server. To use this option, you must also specify a suitablerootaccount with privileges to create the new user using therootuserandrootpasswordoptions.The user create will have the correct privileges for the agent to collect all the necessary information. For more information, see Section 15.6.3.1, “Creating a MySQL User Account for the Monitor Agent”.
Command-Line Format --debuglevelPermitted Values Type numericDefault 2Range 0-4Set the debug information level for log data written to the file specified by
debugtrace.Command-Line Format --debugtracePermitted Values Type stringSet the filename to use when recording debug information during the installation.
Command-Line Format --enableagentPermitted Values Type booleanDefault 1Enable the agent to monitor a MySQL server. If this option is set to false, the agent is installed without enabling the monitoring of MySQL server. You can use this to configure a proxy service using an agent for collecting Query Analyzer information.
Command-Line Format --enableaggregatorPermitted Values Type booleanDefault 0Enable the optional Aggregator component that collects data from certain data sources, such as user-written scripts or instrumented application servers.
Command-Line Format --enableproxyPermitted Values Type booleanDefault 1Enable the Proxy service. The proxy service can be used to collect query data to use through the Query Analyzer. For more information, see Using the Agent Proxy.
Command-Line Format --installdirPermitted Values Type (windows) stringDefault C:\Program Files\MySQL\Enterprise\AgentPermitted Values Type (macosx) stringDefault /Applications/mysql/enterprise/agent/Permitted Values Type (unix) stringDefault /opt/mysql/enterprise/agent/Specify the directory where the software will be installed.
Command-Line Format --installer-languagePermitted Values Type stringDefault enValid Values enEnglish jaJapanese Set the language to use for the installation process.
Command-Line Format --managerhostPermitted Values Type stringThe hostname or IP address of the MySQL Enterprise Service Manager.
Command-Line Format --managerportPermitted Values Type numericDefault 18080The port number of the MySQL Enterprise Service Manager.
The port number of the MySQL Enterprise Service Manager to use for SSL-based communication
Command-Line Format --modePermitted Values Type (macosx) stringDefault osxValid Values osxMac OS X (native) textText (command-line) unattendedUnattended (no dialogs/prompts) Permitted Values Type (linux) stringDefault gtkValid Values gtkGTK (X Windows) xwindowX Windows (native) textText (command-line) unattendedUnattended (no dialogs/prompts) Permitted Values Type (unix) stringDefault xwindowValid Values xwindowX Windows (native) textText (command-line) unattendedUnattended (no dialogs/prompts) Permitted Values Type (windows) stringDefault win32Valid Values win32Windows (native) unattendedUnattended (no dialogs/prompts) Specify the installation mode to use for this installation.
Command-Line Format --mysqlconnmethodPermitted Values Type stringDefault tcpipValid Values tcpipUse TCP/IP socketUse Unix Socket/Named Pipe Specify the connection method to use to connect to MySQL. If you specify
tcpip, the value of themysqlportoption will be used. If you specifysocket, the value of themysqlsocketoption will be used to connect to the MySQL server to be monitored.Command-Line Format --mysqlhostPermitted Values Type Default 127.0.0.1Hostname or IP address of the MySQL server to be monitored.
Command-Line Format --mysqlpasswordPermitted Values Type stringSpecify the password to use when connecting to the monitored MySQL instance.
Command-Line Format --mysqlportPermitted Values Type numericDefault 3306The TCP/IP port to use when connecting to the monitored MySQL server.
Command-Line Format --mysqlsocketPermitted Values Type stringSpecify the filename of the MySQL socket to use when communicating with the monitored MySQL instance.
Command-Line Format --mysqluserPermitted Values Type stringSpecify the username to use when connecting to the monitored MySQL instance.
Command-Line Format --optionfileSpecify the location of an option file containing the configuration options for this installation.
Command-Line Format --proxyportPermitted Values Type numericDefault 6446Specify the TCP/IP port to use for the MySQL Enterprise Agent Proxy Service, if you also specified the
--enableproxyoption.Command-Line Format --proxyuserPermitted Values Type stringDefault rootThe OS user that the MySQL Enterprise Agent Proxy Service runs as. For example, you can specify a special account such as
daemon. Applies to Unix, Linux, and Mac OS X, but not to Windows where the proxy runs as a service. For this option to work, run the installer as root and also specify the--enableproxyoption.Command-Line Format --unattendedmodeuiPermitted Values Type stringDefault noneValid Values noneNo dialogs minimalCritical dialogs minimalWithDialogsMinimal UI with dialogs The UI elements to use when performing an unattended installation. The options are
none, show no UI elements during the installation;minimal, show minimal elements during installation;minimalWithDialogs, show minimal UI elements, but include the filled-dialog boxes.Command-Line Format --usesslPermitted Values Type booleanDefault 0Specifies whether SSL should be used to communicate with the MySQL Enterprise Service Manager.
Command-Line Format --versionDisplay product information, including the version number of the installer.
Command-Line Format --rootpasswordPermitted Values Type stringThe password of a root account for the installer to use to create the agent user.
Command-Line Format --rootuserPermitted Values Type stringDefault rootThe root account for the installer to use to create the agent user.
Command-Line Format --servicenamePermitted Values Type stringDefault mysql.monitor.agentWhen the MySQL Enterprise Agent is installed, a new service is created (Windows), or on Unix a new startup script is created within the corresponding startup directory (for example
/etc/init.d). If you want to install multiple agents on the same host you can use this option to create each agent installation with a unique identifier. During an upgrade installation, you then use this identifier to specify which installation of the agent should be updated.Command-Line Format --helpDisplay the list of valid options to the installer.