For unattended installation on Windows, create an option file
named options.server.txt
. The following is an
example of what the contents of an option file might be.
debugtrace=C:\Program Files\MySQL\Enterprise\install.debugtrace.log mode=unattended installdir=C:\Program Files\MySQL\Enterprise 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:
C:\ mysqlmonitor-version
-windows-installer.exe --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
, installdir
,
managerhost
, 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.
User Comments
Add your own comment.