5.5.2. Installing MySQL to Amazon RDS Replication

The configuration of your Amazon RDS replication is in two parts, the master (which may be an existing master host) and the slave that writes the data into the Amazon RDS instance.

shell> ./tools/tpm install alpha \
    --master=host1 \
    --install-directory=/opt/continuent \
    --replication-user=tungsten \
    --replication-password=password \
    --start

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.

The slave applier will read information from the master and write database changes into the Amazon RDS instance. Because the Amazon RDS instance does not provide SUPER privileges, the instance must be created using a access mode that does not require privileged updates to the system. Aside from this setting, no other special configuration requirements are needed.

To configure the slave replicator:

shell> ./tools/tpm install alpha  \
  --members=host2 \
  --master-host=host1 \
  --datasource-host=rdshostname \
  --datasource-user=tungsten  \
  --datasource-password=password  \
  --privileged-slave=false \
  --install-directory=/opt/continuent \
  --skip-validation-check=InstallerMasterSlaveCheck \
  --skip-validation-check=MySQLPermissionsCheck \
  --skip-validation-check=MySQLBinaryLogsEnabledCheck \
  --start-and-report

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.