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
gefragt vor 3 Jahren4528 Aufrufe
4 Antworten
0

Have you found out the problem?

bkstorm
beantwortet vor 3 Jahren
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

beantwortet vor 3 Jahren
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
beantwortet vor 3 Jahren
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen