6.6.2. Installing Amazon RDS to MySQL Replication

The configuration of Tungsten Replication for RDS involves installing a single replicator on the destination server, whether in Amazon EC2 or your own server installation. The replicator reads the binary log data from the remote RDS instance:

  1. Download the latest version of Tungsten Replication.

  2. Expand the release:

    shell> tar zxf tungsten-replicator-6.0.4-27
  3. Change to the staging directory:

    shell> cd tungsten-replicator-6.0.4-27
  4. Run tpm to install the replicator:

    shell> ./tools/tpm install alpha \
    --install-directory=/opt/continuent \
    --replication-user=tungsten \
    --replication-password=secret \
    --replication-port=3306 \
    --direct-replication-port=3306 \
    --privileged-master=false \
    --skip-validation-check=MySQLDumpCheck \
    --topology=direct \
    --master=db1 \
    --direct-datasource-host=tester.cnlhon44f2wq.eu-west-1.rds.amazonaws.com \
    --direct-datasource-user=rds_user \
    --direct-datasource-password=rds_password \

    The description of each of the options is shown below; click the icon to hide this detail:

    Click the icon to show a detailed description of each argument.

If the installation process fails, check the output of the /tmp/tungsten-configure.log file for more information about the root cause.

Once the replicator has been installed, the replicator can be monitored using the trepctl tool. For specific guidance on managing and monitoring the deploymnet, see Section 6.6.3, “Management and Monitoring Deployment from Amazon RDS”.