For unattended installation on Unix, create an option file named
options.server.txt
. The following is an
example of what the contents of an option file might be for
installation on Unix.
debugtrace=/opt/mysql/enterprise/install.debugtrace.monitor.log mode=unattended installdir=/opt/mysql/enterprise/monitor tomcatport=8080 tomcatshutdownport=8005 tomcatsslport=8443 adminpassword=myadminpassword dbport=3300
This file identifies a directory and file name for a log file,
sets the mode
to unattended
,
and uses the installdir
option to specify an
installation directory. The meaning of the other options is fairly
self-evident.
Set the installdir
and
debugtrace
options to values appropriate to
your locale and operating system.
The only options that must be specified in an option file when
installing the MySQL Enterprise Service Manager are mode
(if
not specified at the command line),
installdir
, and
adminpassword
.
Check the options in your option file closely before installation; no warnings will be issued if there are errors.
Ensure that the monitor installer file and the options file are in
the same directory and, if you saved the options file as
options.server.txt
, you can invoke an
unattended installation from the command line by typing:
shell> mysqlmonitor-version
-installer.bin --optionfile options.server.txt
You can install the MySQL Enterprise Monitor Agent in exactly the same fashion.
Create an agent option file and call the agent installer using the
optionfile
option.
As a minimum for the agent installation, you must specify the
mode
(if not specified at the command line),
mysqluser
, installdir
,
mysqlpassword
, and
agentpassword
options. Create a file containing
these values and use it with the optionfile
option for unattended agent installation.
If you wish, you can create one script that calls both the Service
Manager and the Monitor Agent programs passing appropriate
optionfile
options.
The Service Manager does not automatically start up on rebooting. For more information, see Bug#31676.
The procedure for unattended agent installation under Mac OS X is identical to the procedure under Unix.
User Comments
Add your own comment.