"Fossies" - the Fresh Open Source Software Archive

Member "usr/share/doc/MySQL-zrm-3.0/README-plugin-socket-copy" (26 Aug 2013, 1744 Bytes) of package /linux/privat/MySQL-zrm-3.0-release.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 README for plugin: socket-copy
    2 ------------------------------
    3 
    4 This plugin uses sockets to transfer files between MySQL server and machine 
    5 running ZRM for MySQL. 
    6 
    7 HOWTO:
    8 
    9 On the MySQL server machine do the following:
   10 
   11 a) for xinetd(8):
   12    
   13    Copy /usr/share/mysql-zrm/plugins/socket/mysql-zrm-socket-client to 
   14    /etc/xinetd.d directory on the MySQL server. You can add more options 
   15    to this if you need to make it more secure. Please see the xinetd.conf(5) 
   16    man page for more details.
   17 
   18    for inetd(8):
   19 
   20    1. Add the following line to /etc/inetd.conf:
   21 
   22      mysql-zrm-socket stream tcp nowait root /usr/sbin/tcpd /usr/share/mysql-zrm/socket-client.pl
   23 
   24    2. Modify the tcpd files to your needs! Please see the tcpd(8) man pages 
   25       for more details.
   26 
   27    3. Add the following` line to /etc/services:
   28 
   29        mysql-zrm-socket  25300/tcp     # mysql-zrm-socket
   30 
   31 b) Reload inetd or xinetd to re-read the configuration files:
   32      xinetd: # /etc/init.d/xinetd reload
   33      inetd: # /etc/init.d/inetd reload
   34 
   35 On the machine running ZRM for MySQL do the following:
   36 
   37 a) Modify the mysql-zrm.conf file in the relevant backup-set directory 
   38    (/etc/mysql-zrm/<backup set name>/mysql-zrm.conf) and add the 
   39    following line to the configuration file.
   40 
   41    copy-plugin=/usr/share/mysql-zrm/plugins/socket-copy.pl
   42 
   43 b) Set the socket-remote-port in the above mentioned mysql-zrm.conf file 
   44    if a port other than 25300 has been specified in the xinetd (or inetd) 
   45    configuration.
   46 
   47    For e.g.
   48    socket-remote-port=35000
   49 
   50 c) Set the remote-mysql-binpath in the above mentioned mysql-zrm.conf file 
   51    if mysql client binarys are installed on a different location in the 
   52    remote machine.
   53 
   54    For e.g. 
   55    remote-mysql-binpath=/opt/lampp
   56