Unable to use plugins to establish logical replication on source PostgreSQL

0

Full Load, ongoing replication data migration from postgres to postgres RDS using Data Migration Service.

Migration task is failing and throwing the below error:

Last Error: Unable to use plugins to establish logical replication on source PostgreSQL instance. Follow all prerequisites for 'PostgreSQL as a source in DMS' from https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html Task error notification received from subtask 0, thread 0 [reptask/replicationtask.c:XXXX] Remaining 1 error messages are truncated. Check the task log to find details Stop Reason FATAL_ERROR Error Level FATAL

Any suggestion or ideas are welcome. Thanks in advance!

SNDeepa
已提问 3 年前4528 查看次数
4 回答
0

Have you found out the problem?

bkstorm
已回答 3 年前
0

I'm actually seeing the same issue. The only resource I could come up with is this: https://stackoverflow.com/questions/44018819/aws-dms-streaming-replication-logical-decoding-output-pluginstest-decoding-n

已回答 3 年前
0

Reading the docs:
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.RDSPostgreSQL

It says:

This static parameter requires a reboot of the DB instance to take effect.

So reboot your RDS instance after making the paramater group change and you should be all set.

Edited by: rseedfi on Jun 30, 2021 8:30 PM

rseedfi
已回答 3 年前
0

Here are steps required for AWS managed PostgreSQL database:

  • The admin user account has the required roles that allow it to set up CDC. If you use an account other than the admin user account, the account must have the rds_superuser role and the rds_replication role. The rds_replication role grants permissions to manage logical slots and to stream data using logical slots.
  • rds.logical_replication parameter in your DB CLUSTER parameter group to 1
  • wal_sender_timeout DMS requires a minimum of 10000 milliseconds (10 seconds), and fails if the value is between 0 and 10000.
  • shared_preload_libraries should include pglogical
AWS
Drew
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则