The following options let you customize the installation process for MySQL Enterprise Service Manager. MySQL Enterprise Service Manager supports using a bundled MySQL server, or a separate MySQL server provided by the user. To use your own MySQL server, the server must be installed and running before installation. For more information, see Section 4.2.4, “MySQL Enterprise Monitor Repository”.
Table 9.1 MySQL Enterprise Service Manager Installer Options
| Option Name | Description |
|---|---|
| --adminpassword | Password for the database repository |
| --adminuser | Username for the database repository |
| --backupdir | Backup directory path. |
| --createDataBackup | Backup stored data. Upgrade process only. |
| --dbhost | Hostname or IP address of the MySQL server |
| --dbname | Name of the repository database. |
| --dbport | TCP/IP port for the MySQL server |
| --debuglevel | Set the debug information level |
| --debugtrace | File for a debug trace of the installation |
| --forceRestart | Upgrade only. Restarts the services after the upgrade process completes. |
| --help | Display the list of valid options |
| --installdir | Installation directory |
| --installer-language | Language selection |
| --mode | Installation mode |
| --mysql_installation_type | MySQL server to be used by the MySQL Enterprise Monitor |
| --optionfile | Installation option file |
| --system_size | Defines Tomcat and MySQL repository configuration based on installation size. |
| --tomcatport | Server port for the Tomcat component |
| --tomcatsslport | SSL TCP/IP port for the Tomcat component |
| --unattendedmodeui | Unattended mode user interface |
| --version | Display the product information |
-
Command-Line Format --helpDisplay the list of valid installer options.
-
Command-Line Format --versionDisplay product and version information.
-
Command-Line Format --backupdirType String Upgrade only. The backup directory.
-
Command-Line Format --createDataBackupType Boolean Default Value 1Valid Values 0(Do not create data backup)1(Create data backup)Upgrade only. Specifies whether the upgrade process should create a backup of the existing data. If
--backupdiris not defined, a Backup directory is created in the root of the installation directory. -
Command-Line Format --optionfileThe path to the option file containing the information for the installation.
-
Command-Line Format --modeType String Default Value (Linux) gtkDefault Value (OS X) osxDefault Value (Unix) xwindowDefault Value (Windows) win32Valid Values (Linux) gtk(GTK (X Windows))xwindow(X Windows (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (OS X) osx(Mac OS X (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (Unix) xwindow(X Windows (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (Windows) win32(Windows (native))unattended(Unattended (no dialogs/prompts))The installation mode to use for this installation.
-
Command-Line Format --debugtraceType String The filename to use for a debug trace of the installation.
-
Command-Line Format --debuglevelType Numeric Default Value 2Minimum Value 0Maximum Value 4Set the debug information level for log data written to the file specified by
debugtrace. -
Command-Line Format --installer-languageType String Default Value enValid Values en(English)ja(Japanese)The installer language.
-
Command-Line Format --installdirType String Default Value (OS X) /Applications/mysql/enterprise/monitor/Default Value (Unix) /opt/mysql/enterprise/monitor/Default Value (Windows) C:\Program Files\MySQL\Enterprise\MonitorThe installation directory for MySQL Enterprise Service Manager, or the previous installation directory when performing an update. Installation only. It is not possible to change the installation directory in an upgrade.
-
Command-Line Format --system_sizeType String Default Value mediumValid Values small(5 to 10 MySQL Servers monitored from a laptop or low-end server with no more than 4GB of RAM.)medium(Up to 100 MySQL Servers monitored from a medium-sized, but shared, server with 4 to 8GB of RAM.)large(More than 100 MySQL Servers monitored from a high-end, dedicated server, with more than 8GB RAM.)Defines the installation type. This choice sets parameters which suit your installation type. Installation only. It is not possible to change the system size in an upgrade.
-
Command-Line Format --tomcatportType Numeric Default Value 18080The TCP/IP port for MySQL Enterprise Service Manager. This port is used by MySQL Enterprise Monitor Agent and as the port for the interface to the MySQL Enterprise Monitor User Interface. Installation only. It is not possible to change the Tomcat port in an upgrade.
-
Command-Line Format --tomcatsslportType Numeric Default Value 18443The TCP/IP port to use for SSL communication to the MySQL Enterprise Service Manager. Installation only. It is not possible to change the Tomcat SSL port in an upgrade.
-
Command-Line Format --mysql-identity-sourceType String Default Value defaultValid Values default(Default)host_plus_datadir(host_plus_datadir)The mechanism used to generate a unique identity for the MySQL instance if one does not already exist. Passing in
defaultuses either theserver_uuidvariable if present, or generates a random new one. Passing inhost_plus_datadiruses a hash of the host identity and the path to the MySQL instance's data directory, to create a unique identity.NoteThis option is only available in unattended installation mode.
Notehost_plus_datadiris not allowed when the Agent is remote monitoring a MySQL instance, as MySQL Enterprise Monitor is unable to definitively compute a known-unique host identity in this case. -
Command-Line Format --adminuserType String Default Value service_managerThe user name to use for connecting to the database repository used by MySQL Enterprise Service Manager. If you install the bundled MySQL server, this user is configured in the new database. If you use an existing MySQL server, specify an existing user with rights to access the database.
NoteThe repository user name and encrypted password are stored in the
config.propertiesconfiguration file. -
Command-Line Format --unattendedmodeuiType String Default Value noneValid Values none(No dialogs)minimal(Critical dialogs)minimalWithDialogs(Minimal 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 --adminpasswordType String MySQL Enterprise Service Manager password for connecting to the MySQL database repository.
-
Command-Line Format --mysql_installation_typeType String Default Value bundledValid Values bundled(Use the bundled MySQL server)existing(Use an existing (user supplied) MySQL server)Specifies whether the installer should configure MySQL Enterprise Service Manager to install the bundled MySQL server, or use a MySQL server that you have already installed to store the repository data.
-
Command-Line Format --dbportType Numeric Default Value 13306The TCP/IP port for the MySQL database used to store MySQL Enterprise Service Manager repository data. If you install the bundled MySQL server, this is the port where the new database listens for connections. If you use an existing MySQL server, specify the port used for connections by that MySQL server.
-
Command-Line Format --dbhostType String Default Value 127.0.0.1The hostname for the MySQL database. When installing MySQL Enterprise Service Manager to use an existing MySQL server, this should be the hostname of the server that stores the database repository.
-
Command-Line Format --dbnameType String Default Value memThe name of MySQL Enterprise Service Manager repository.
-
Command-Line Format --forceRestartType Boolean Default Value 0Valid Values 0(Do not restart services)1(Restart services)Force a restart of MySQL Enterprise Service Manager services.