Tungsten Replicator not working for redshift -
i trying install tungsten replicator on single host.my source data source mysql , destination redshift. following http://docs.continuent.com/tungsten-replicator-4.0/deployment-redshift-installation.html setup replicators. steps
1) default configuration.
./tools/tpm configure defaults --reset ./tools/tpm configure alpha \ --install-directory=/opt/continuent \ --enable-heterogenous-service=true \ --members=localhost,localhost \ --master=localhost \ --java-user-timezone=gmt \ --java-file-encoding=utf8 2) master configuration (mysql)
./tools/tpm configure alpha --hosts=localhost \ --replication-user=<> \ --replication-password=<> \ --property=replicator.filter.pkey.addcolumnstodeletes=true \ --property=replicator.filter.pkey.addpkeytoinserts=true 3) slave configuration (redshift)
./tools/tpm configure alpha --hosts=localhost \ --replication-host=redshift.us-east-1.redshift.amazonaws.com \ --replication-user=awsredshiftuser \ --replication-password=awsredshiftpass \ --datasource-type=redshift \ --batch-enabled=true \ --batch-load-template=redshift \ --redshift-dbname=dev \ --svc-applier-filters=dropstatementdata \ --svc-applier-block-commit-interval=10m \ --svc-applier-block-commit-size=5 then when running tpm install alpha gives me error.
error >> replication service localhost - alpha: replication service allowed pipelines error >> > message: unable extract redshift@redshift.us-east-1.redshift.amazonaws.com:5439 (with password) error >> > prompt class: replicationservicepipelines debug >> call configuredeploymenthandler:cleanup config 0 on localhost debug >> [inside thread] call configuredeploymenthandler:cleanup config 0 on localhost
f try install both replicators on same host have specify correct thl ports , role of replicator. see docu
try adding applier:
--master-thl-host=localhost --master-thl-port=2112 --master=localhost --members=localhost --rmi-port=10002 --role=slave --thl-port=2113 --skip-validation-check=hostsfilecheck
Comments
Post a Comment