5.2.2 Installing the Service Manager on Unix and Linux

To install the Service Manager find the file named mysqlmonitor-version-installer.bin (where version indicates the version number, the OS, and the architecture). Ensure that this file is executable by typing:

shell> chmod +x mysqlmonitor-version-installer.bin

To install to the default directory (/opt/mysql/enterprise/monitor), login as root. An unprivileged user installs to the /home/user_name/mysql/enterprise/monitor/ directory.

What follows describes installation from the command line. You can install the Service Manager graphically by running the installer from within a windows manager. In both cases, the steps are identical. You can also install the Service Manager in unattended mode. This is especially useful if you are doing multiple installations. For more information on this topic, see Section 5.4, “Unattended Installation”.

  1. Begin installation by typing:

      shell> ./mysqlmonitor-version-installer.bin
    
  2. First choose the language for the installation:

    Language Selection
    
    Please select the installation language
    [1] English
    [2] Japanese
    Please choose an option [1] :
    
  3. Throughout the installation process, you are asked the configuration questions for different options. Default values are shown between square brackets; to use the default press Enter. Otherwise, enter the new value and press Enter:

    First, select the directory to install MySQL Enterprise Service Manager. The default is /opt/mysql/enterprise/monitor/. Make sure that the location you choose has enough space to hold the installation files and the database information that is created when MySQL Enterprise Service Manager is running.

    
    Please specify the directory where the MySQL Enterprise Service Manager
     will be installed.
    
    Installation directory [/opt/mysql/enterprise/monitor/]:
     
    
  4. Now set the Tomcat Server options. For more details on these parameters, see Section 5.2.1, “Service Manager Installation Common Parameters”.

    ----------------------------------------------------------------------------
    Tomcat Server Options
    
    Please specify the following parameters for the bundled Tomcat Server
    
    Tomcat Server Port [18080]:
    
    Tomcat Shutdown Port [18005]:
    
    Tomcat SSL Port [18443]:
    

    You will also be asked if SSL support is required. SSL support lets your agents and the monitor communicate with each other using SSL. Using SSL means that the data exchanged by the agent and MySQL Enterprise Service Manager are secure and can be used to monitor servers securely, or to monitor agents over a public connection.

    You enable SSL by pressing Y when prompted during installation:

    Is SSL support required?           [y/N]: 
    
  5. Set the repository (embedded MySQL server) configuration options. For more details on these parameters, see Section 5.2.1, “Service Manager Installation Common Parameters”.

    ----------------------------------------------------------------------------
    
    Repository Configuration
    
    Please specify the following parameters for the bundled MySQL server
    
    
    Repository Username  [service_manager]:
    
    Password :
    
    Re-enter :
    
    Bundled MySQL Database Port [13306]:
    
    
  6. Before the final installation process, you receive the location of the file that contains a copy of all of the settings. Follow the instructions and store this report in a secure location. There is no password recovery feature.

    ----------------------------------------------------------------------------
    
    Configuration Report
    
    Note:
    
    The settings you specified will be saved here:
    
    /opt/mysql/enterprise/monitor/configuration_report.txt
    
    Press [Enter] to continue :
    
    
  7. Confirm the installation process.

    Setup is now ready to begin installing MySQL Enterprise Monitor
     on your computer.
    
    Do you want to continue? [Y/n]: Y
    
    Please wait while Setup installs MySQL Enterprise Monitor
     on your computer.
    

    The installation process could take a few minutes to complete. Upon completion, you see:

    Completed installing files
    
    Setup has completed installing MySQL Enterprise files on your computer
    
    Uninstalling the MySQL Enterprise files can be done by invoking:
    
    /opt/mysql/enterprise/monitor/uninstall
    
    To complete the installation, launch the MySQL Enterprise Dashboard and complete
    the initial setup and product activation information. Refer to the readme file
    for additional information and a list of known issues.
    
    
    Press [Enter] to continue :
    
  8. Finally, you can read the Readme file that contains important information about how to use and start your MySQL Enterprise Service Manager.

    ----------------------------------------------------------------------------
    
    Setup has finished installing MySQL Enterprise Monitor on your computer.
    
    View Readme File [Y/n]: n
    

    Once the Readme file has been displayed, or if you did not elect to read the file, the installation provides information about how to continue with your installation.

    Info: To access the MySQL Enterprise Monitor please visit the
    following page: http://localhost:18080/Auth.action
    
    Press [Enter] to continue :
    

The Enterprise Dashboard does not start up automatically if you perform a text mode installation. For more information on starting and stopping MySQL Enterprise Service Manager, see Section 5.2.5, “Starting/Stopping the MySQL Enterprise Monitor Service on Unix and Mac OS X”.