How do you install MySQL ZRM?: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=== Before installation: Do's/Don'ts ===
=== Before installation: Do's/Don'ts ===


* Check the version of your MySQL server. Verify that this is a version supported by Zmanda Recovery Manager for MySQL.
* Check the version of your MySQL server. Verify that this is a [[What_does_MySQL_ZRM_run_on?|version supported]] by Zmanda Recovery Manager for MySQL.


* MySQL ZRM requires MySQL client commands to be installed on the machine where MySQL ZRM is running. This is required even if MySQL ZRM is backing up remote MySQL servers. MySQL ZRM depends on the following commands:
* MySQL ZRM requires MySQL client commands to be installed on the machine where MySQL ZRM is running. These commands are required even if MySQL ZRM is backing up remote MySQL servers. MySQL ZRM depends on the following MySQL commands:
** mysqladmin
** mysqladmin
** mysqlshow
** mysqlhotcopy
** mysqlhotcopy
** mysqldump
** mysqldump
Line 11: Line 10:
** mysql
** mysql


* The MySQL client commands installed on MySQL ZRM machine should be compatible with the MySQL server. It is preferable to use the same version of MySQL on MySQL servers and on the MySQL ZRM machine (if they are running on different machines.
* The MySQL client commands installed on MySQL ZRM machine should be compatible with the MySQL server. It is preferable to use the same version of MySQL on MySQL servers and on the MySQL ZRM machine if they are running on different machines.


* Zmanda Recovery Manager for MySQL installation and configuration requires Unix superuser access. All MySQL ZRM commands are run as the superuser.
* Zmanda Recovery Manager for MySQL installation and configuration requires Unix superuser access. All MySQL ZRM commands are run as the superuser.
Line 23: Line 22:
* RPM installation must be done as superuser.
* RPM installation must be done as superuser.
* RPMs are available from [http://www.zmanda.com/downloads.html Zmanda downloads] page.
* RPMs are available from [http://www.zmanda.com/downloads.html Zmanda downloads] page.
  # rpm -ivh MySQL-zrm-1.0.2-1.noarch.rpm
  # rpm -ivh MySQL-zrm-1.0.3-1.noarch.rpm
  Preparing...                ########################################### [100%]
  Preparing...                ########################################### [100%]
   1:MySQL-zrm              ########################################### [100%]
   1:MySQL-zrm              ########################################### [100%]
Line 41: Line 40:
|Log files||/var/log/mysql-zrm
|Log files||/var/log/mysql-zrm
|-
|-
|Documentation||/usr/share/doc/MySQL-zrm-1.0
|Documentation||/usr/share/doc/MySQL-zrm-*
|}
|}


Line 50: Line 49:
* Use rpm(8) command  
* Use rpm(8) command  
  # rpm -qa | grep MySQL-zrm
  # rpm -qa | grep MySQL-zrm
  MySQL-zrm-1.0.2-1
  MySQL-zrm-1.0.3-1
   
   
* Check mysql-zrm man page
* Check mysql-zrm man page
  # man mysql-zrm
  # man mysql-zrm

Revision as of 18:14, 22 September 2006

Before installation: Do's/Don'ts

  • Check the version of your MySQL server. Verify that this is a version supported by Zmanda Recovery Manager for MySQL.
  • MySQL ZRM requires MySQL client commands to be installed on the machine where MySQL ZRM is running. These commands are required even if MySQL ZRM is backing up remote MySQL servers. MySQL ZRM depends on the following MySQL commands:
    • mysqladmin
    • mysqlhotcopy
    • mysqldump
    • mysqlbinlog
    • mysql
  • The MySQL client commands installed on MySQL ZRM machine should be compatible with the MySQL server. It is preferable to use the same version of MySQL on MySQL servers and on the MySQL ZRM machine if they are running on different machines.
  • Zmanda Recovery Manager for MySQL installation and configuration requires Unix superuser access. All MySQL ZRM commands are run as the superuser.
  • Check the version of Perl and compatibility with MySQL database. MySQL Perl interfaces (DBD, DBI packages) are required for some backup methods.
    • DBD::mysql package must be installed on your system. Following command can install DBD::mysql package:
# perl -MCPAN -e 'install DBD::mysql'

RPM installation

  • RPM installation must be done as superuser.
  • RPMs are available from Zmanda downloads page.
# rpm -ivh MySQL-zrm-1.0.3-1.noarch.rpm
Preparing...                ########################################### [100%]
  1:MySQL-zrm               ########################################### [100%]
  • Files are installed in following directories:
Directory location
Executables /usr/bin
Man pages /usr/share/man/man1
Configuration files /etc/mysql-zrm
Libraries /usr/lib/mysql-zrm
Log files /var/log/mysql-zrm
Documentation /usr/share/doc/MySQL-zrm-*

Is MySQL ZRM really installed?

You can do one of the following to verify installation:

  • Use rpm(8) command
# rpm -qa | grep MySQL-zrm
MySQL-zrm-1.0.3-1

  • Check mysql-zrm man page
# man mysql-zrm