Running the Rapid Installer
For installation using a method other than the Rapid Installer, please see the sections that follow.
1. Copy the Rapid Installer binary file to the host where the given component will be installed.
2. Log in to the host as the superuser.
3. Make sure that the Rapid Installer binary file is executable. For example:
# chmod +x ZRM-enterprise-2.1-installer.bin
4. Run the installer by double-clicking on it, or enter the following command line:
# ./ZRM-enterprise-2.1-installer.bin
5. The Rapid Installer then starts. Follow the on-screen instructions.
Note: The installer performs several tasks after creating and populating the Zmanda directories. These are completed after the progress bar (which only tracks the archive extraction) shows 100% completion. These tasks take time. Please wait till they complete.
6. After the ZRM for MySQL binaries have been extracted and installed, the Zmanda Management Console is launched and the readme file is displayed. The readme file includes the default ZRM for MySQL username and password. You can now login to the console using any supported browser and begin backing up MySQL databases.
Rapid Installer Command Line Options
Run the installer with the --help option to see what command line parameters are available.
- --help
- Display the list of valid options.
- --version
- Display product version information.
- --optionfile optionfile
- Use command line parameters specified in optionfile.
- --mode mode
- Choose the installation mode, where mode is gtk (the default), xwindow, text, or unattended.
- --apache_server_port apache_server_port
- The ZMC Web Server port (default is 80).
- --apache_server_sslport apache_server_sslport
- ZMC Web Server SSL port (default is 443).
- --mysql_port mysql_port
- Specify the ZMC MySQL Server port (default is 3036).
Examples of Changes in Defaults
Apache and MySQL ports
- To change the default Apache and MySQL ports during installation, an user can use:
#./ZRM-enterprise-2.1-installer.bin --mysql_port 3333 --apache_port 8888
Note: Make sure those ports are not used by other services. The MySQL port cannot be a reserved port (port number less than 1024).
- To change the defaults after the installation (For example, if a user wants to change ports: Apache port to 8888, MySQL port to 2222)
- To change Apache port :
- Modify /opt/zmanda/zrm/apache2/conf/httpd.conf, Look for "Listen" keyword
Listen 8888
- NOTE: Users also need to update "mysql.default_port" in php.ini (/opt/zmanda/zrm/php/etc/php.ini) file also, if there is any change in the mysql port after installation.
- To change MySQL port :
- Modify /opt/zmanda/zrm/mysql/my.cnf,
- If default value of port as 3306 had been accepted during installation, the file will look as under and will be installed in /opt/zmanda/zrm/mysql/my.cnf . The value of port will be that set during the installation.
Contents:
[client]
port = 3306
socket = /opt/zmanda/zrm/mysql/tmp/mysql.sock
[mysql]
port = 3306
[mysqld]
port = 3306
basedir = /opt/zmanda/zrm/mysql/
datadir = /opt/zmanda/zrm/mysql/data/
socket = /opt/zmanda/zrm/mysql/tmp/mysql.sock
pid-file = /opt/zmanda/zrm/mysql/data/mysqld.pid
- Change "port" parameter in {{mediawiki.external('client')}}, {{mediawiki.external('mysql')}} and {{mediawiki.external('mysqld')}} sections.
port = 2222
Uninstall
- ZMC can be unistalled by clicking the uninstall script /opt/zmanda/zrm/uninstall
- Please follow the instructions on the screen after the script has started.
- At the penultimate stage Users are asked to provide feedback to Zmanda.
- On clicking 'Yes' Users will find a feedback page opened in their browser window, while on the Desktop a message will be displayed that Uninstall is complete.