AWS Security ChangesHomeSearch

AWS AmazonRDS documentation change

Service: AmazonRDS · 2025-08-25 · Documentation low

File: AmazonRDS/latest/UserGuide/db2-troubleshooting-replicas.md

Summary

Expanded troubleshooting guide with new sections on replica creation failures, connection issues, performance issues, and detailed solutions including backup requirements, parameter group configurations, security group checks, and network ACL guidance

Security assessment

The changes add documentation about security-related configurations (security groups, network ACLs) and backup requirements, but there is no evidence of addressing a specific vulnerability. The security group/ACL guidance reinforces existing security best practices rather than patching a flaw.

Diff

diff --git a/AmazonRDS/latest/UserGuide/db2-troubleshooting-replicas.md b/AmazonRDS/latest/UserGuide/db2-troubleshooting-replicas.md
index 2e3a9fbce..ad3b338b8 100644
--- a//AmazonRDS/latest/UserGuide/db2-troubleshooting-replicas.md
+++ b//AmazonRDS/latest/UserGuide/db2-troubleshooting-replicas.md
@@ -5 +5 @@
-Monitoring Db2 replication lagDb2 replication errors
+Replica creation failuresMonitoring Db2 replication lagDb2 replication errorsConnection issuesPerformance issues
@@ -9 +9 @@ Monitoring Db2 replication lagDb2 replication errors
-This content describes possible RDS for Db2 replication issues and solutions.
+This topic describes common RDS for Db2 replication issues and provides troubleshooting guidance for both read-only and standby replicas. In addition to reviewing the following troubleshooting information, make sure that you followed the [requirements and considerations](./db2-read-replicas.limitations.html), and completed the [preparation steps](./db2-read-replicas.Configuration.html) before creating Db2 replicas.
@@ -11 +11 @@ This content describes possible RDS for Db2 replication issues and solutions.
-###### Topics
+## Replica creation failures
@@ -13 +13 @@ This content describes possible RDS for Db2 replication issues and solutions.
-  * Monitoring Db2 replication lag
+Replica creation can fail for several reasons:
@@ -15 +15,11 @@ This content describes possible RDS for Db2 replication issues and solutions.
-  * Db2 replication errors
+  * **Inactive databases** – All databases on the source DB instance must be active before creating replicas. 
+
+For information about activating databases, see [Stored procedures for databases for RDS for Db2](./db2-sp-managing-databases.html).
+
+  * **Missing automatic backups** – The source DB instance must have automatic backups enabled. 
+
+For information about enabling backups, see [Enabling automatic backups for RDS for Db2 replicas](./db2-read-replicas.backups.html#db2-read-replicas.backups.turning-on).
+
+  * **Parameter group issues** – Custom parameter groups are required for replicas. For BYOL licensing, the parameter group must include the IBM Site ID and IBM Customer ID. 
+
+For more information, see [IBM IDs for bring your own license (BYOL) for Db2](./db2-licensing.html#db2-prereqs-ibm-info).
@@ -22 +32,3 @@ This content describes possible RDS for Db2 replication issues and solutions.
-To monitor replication lag in Amazon CloudWatch, view the Amazon RDS `ReplicaLag` metric. For more information about replication lag time, see [Monitoring read replication](./USER_ReadRepl.Monitoring.html) and [Amazon CloudWatch metrics for Amazon RDS](./rds-metrics.html).
+To monitor replication lag in Amazon CloudWatch, view the Amazon RDS `ReplicaLag` metric. For more information about replication lag time, see [Monitoring read replication](./USER_ReadRepl.Monitoring.html) and [Amazon CloudWatch metrics for Amazon RDS](./rds-metrics.html). For information about setting up CloudWatch alarms for replica lag, see [Monitoring Amazon RDS metrics with Amazon CloudWatch](./monitoring-cloudwatch.html). 
+
+For a read-only replica, if the lag time is too long, query the `MON_GET_HADR` table for the status of the replica DB instance. 
@@ -25,0 +38,15 @@ For a standby replica, if the lag time is too long, query the `MON_GET_HADR` tab
+Common causes of high replication lag include the following reasons:
+
+  * Insufficient compute resources on the replica
+
+  * Network connectivity issues between the source and the replica
+
+  * High write activity on the source database
+
+  * Storage performance limitations on the replica
+
+
+
+
+If high replication lag persists, consider scaling your replica resources. For more information, see [Modifying an Amazon RDS DB instance](./Overview.DBInstance.Modifying.html).
+
@@ -28 +55,44 @@ For a standby replica, if the lag time is too long, query the `MON_GET_HADR` tab
-Db2 replication can be in an error state for a number of reasons. Monitor events and the DB instance state to make sure that the DB instance is replicating. To confirm that the DB instance is replicating, check the diagnostic logs for the replica in the Amazon RDS console. In the logs, look for errors in HADR messages. Compare the log sequence number to the primary sequence number. For more information, see [Amazon RDS for Db2 database log files](./USER_LogAccess.Concepts.Db2.html).
+Db2 replication can be in an error state for a number of reasons. Perform the following actions:
+
+  * Monitor events and the DB instance state to make sure that the DB instance is replicating. 
+
+For more information, see [Working with Amazon RDS event notification](./USER_Events.html).
+
+  * Check the diagnostic logs for the Db2 replica in the Amazon RDS console. In the logs, look for errors in HADR messages. Compare the log sequence number to the primary sequence number. 
+
+For information about accessing and interpreting Db2 diagnostic logs, see [Amazon RDS for Db2 database log files](./USER_LogAccess.Concepts.Db2.html). For information about Db2 HADR configuration and troubleshooting, see [Working with replicas for Amazon RDS for Db2](./db2-replication.html). 
+
+
+
+
+If replication errors persist, you might need to recreate the replica. 
+
+## Connection issues
+
+If you can't connect to your replica, review the following information about the replica modes:
+
+  * **Standby replicas** – They don't accept user connections by design. Use read-only replicas for read workloads.
+
+  * **Read-only replicas** – Check your security group settings, network ACLs, and parameter group configurations. 
+
+For more information, see [Control traffic to your AWS resources using security groups](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html) in the _Amazon VPC User Guide_ , [Control subnet traffic with network access control lists](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html) in the _Amazon VPC User Guide_ , and [Parameter groups for Amazon RDS](./USER_WorkingWithParamGroups.html).
+
+
+
+
+## Performance issues
+
+If replica performance is poor, review the following suggestions:
+
+  * Ensure the replica has adequate compute and storage resources. 
+
+  * Monitor the `ReplicaLag` metric in Amazon CloudWatch. 
+
+  * Consider scaling up the replica DB instance class. 
+
+
+
+
+For information about modifying resources or instance classes, see [Modifying an Amazon RDS DB instance](./Overview.DBInstance.Modifying.html).
+
+For information monitoring replication lag, see [Monitoring replication lag](./USER_ReadRepl.Monitoring.html#USER_ReadRepl.Monitoring.Lag) and [Amazon CloudWatch metrics for Amazon RDS](./rds-metrics.html). For information about setting up CloudWatch alarms for replica lag, see [Monitoring Amazon RDS metrics with Amazon CloudWatch](./monitoring-cloudwatch.html).