Template:Running the Rapid Installer

Version as of 03:20, 19 Apr 2024

to this version.

Return to Version archive.

View current version

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.

  • The following packages are installed:
    • ZRM for MySQL 2.1 server
    • ZRM for MySQL client
    • the Zmanda Management Console: MySQL, PHP, Apache, PHPmyadmin, Perl and various perl modules and their dependencies. These are installed in the /opt/zmanda/zrm directory.
      • Version 2.1 also includes ZMC my.cnf file for MySQL database. The procedure to change the default values in the my.cnf file is given later.

6. After the Amanda and ZMC binaries have been extracted and installed, the ZMC is launched and the readme file is displayed. The readme file includes the default ZMC user and password. You can now login to the ZMC using any supported browser and begin managing backup sets.

Additional Command line parameters

  • Invoke the installer with the --help command line option to see Additional Command line parameters.

ZRM for MySQL 2.1 Usage:

--help  Display the list of valid options

--version Display product information

--optionfile <optionfile> Installation option file
  Default:

--mode <mode> Installation mode
 Default:
 Allowed: gtk xwindow text unattended

--debugtrace <debugtrace>      Debug filename
  Default:

--apache_port <apache_port>    ZMC Web Server port
  Default: 80

--mysql_port <mysql_port>      ZMC MySQL Server port
  Default: 3306

--mysql_password <mysql_password> ZMC MySQL Server root password
  Default:

--phpmyadminpasswd <phpmyadminpasswd> Password
  Default:

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.