Amazon RDS events for database cluster groups for Aurora
Subscribe to and read the Amazon RDS events of a database cluster group for Aurora, its member clusters, and its data movement jobs. Each member cluster and its DB instances emit Amazon RDS events as for any Aurora DB cluster, such as creation, restarts, failovers, and parameter group updates. During a group upgrade, each member cluster emits events when its upgrade starts and when it completes. The Amazon RDS API has the source types db-cluster-group for groups and db-cluster-group-snapshot for group snapshots. Include each member cluster and its DB instances in your event subscriptions. For how to subscribe, see Subscribing to Amazon RDS event notification. For Amazon RDS events in general, see Working with Amazon RDS event notification.
Under the db-cluster-group source type, the group publishes events for data movement jobs and for group upgrades. Data movement events use the notification and failure categories. Upgrade events use the maintenance and failure categories. Creating, modifying, or deleting a group, and adding or removing a member cluster, don't publish group events. Group snapshots publish events under the db-cluster-group-snapshot source type.
Group events
The following table lists the events that the group emits under the db-cluster-group source type.
| Category | Message | Meaning |
|---|---|---|
Maintenance |
Amazon RDS started OS upgrade for DB cluster group |
An OS upgrade of the group started. |
Maintenance |
Amazon RDS started OS upgrade for wave |
A wave of the OS upgrade started. |
Maintenance |
Amazon RDS completed OS upgrade for wave |
A wave finished. |
Maintenance |
Amazon RDS successfully completed OS upgrade for DB cluster group |
The OS upgrade finished. |
Failure |
OS upgrade for DB cluster group |
The OS upgrade failed. |
Maintenance |
Amazon RDS started an engine |
An engine upgrade started. |
Maintenance |
DB cluster group |
Prechecks run. |
Maintenance |
Amazon RDS started the engine |
A wave started. |
Maintenance |
Amazon RDS finished the engine |
A wave finished. |
Maintenance |
Amazon RDS finished the engine |
The engine upgrade finished. |
Failure |
DB cluster group |
The upgrade stopped. |
A group upgrade emits an event when it starts, one for each wave, and one when it finishes, with the number of member clusters upgraded. Creating or deleting a group, adding a member cluster, and changing routing emit no event. Read their state with describe-db-cluster-groups.
Member cluster events in a group
A member cluster emits the standard Aurora DB cluster and DB instance events. The following table lists the events that a member cluster emits because it belongs to a group.
| Category | Message | Meaning |
|---|---|---|
Notification |
DB cluster ( |
Amazon RDS removed the member cluster from its global database, because a member cluster can't belong to a global database. |
Data movement events
The group emits events for data movement jobs under the db-cluster-group source type. For how these events fit with the job's row in move_info, see Amazon RDS events for a move. The following table lists the data movement events.
| Category | Message | Meaning |
|---|---|---|
Notification |
Initializing data movement job ( |
The job started. |
Failure |
Data movement job ( |
The job didn't start, because a validation check failed. For example, a member cluster isn't available. Read the |
Notification |
Running pre-checks for data movement job ( |
The job entered the Precheck phase. |
Notification |
Pre-checks passed for data movement job ( |
All prechecks passed. The job will start seeding. |
Failure |
Pre-checks failed for data movement job ( |
At least one precheck failed. Read the |
Notification |
Data seeding in progress for data movement job ( |
The job has started the Seeding phase and is copying rows to the destination member cluster. |
Notification |
Data seeding completed for data movement job ( |
Seeding is complete. The job will start CDC replication. |
Failure |
Data seeding failed for data movement job ( |
Seeding failed. Read the |
Notification |
CDC replication in progress for data movement job ( |
The job has started the CDC Replication phase and is replicating changes. |
Failure |
CDC replication failed for data movement job ( |
CDC replication failed. Read the |
Notification |
Data movement job ( |
Replication lag is at or below 5 seconds, so you can run |
Notification |
Cutover initiated for data movement job ( |
The job has started the cutover. Reads and writes to the moving objects fail until it ends. |
Notification |
Cutover completed for data movement job ( |
The cutover finished. The destination member cluster now holds the moved objects. |
Failure |
Cutover failed for data movement job ( |
The cutover didn't complete. The job has gone back to the CDC Replication phase. |
Failure |
Cutover request for data movement job ( |
The job didn't accept your |
Notification |
Data movement job ( |
The job finished successfully, and the |
Failure |
Data movement job ( |
The job failed, and the |
Notification |
Data movement job ( |
You canceled the job, and the |
Failure |
Data movement job ( |
The cancel didn't complete. Read |
Failure |
Cancel request for data movement job ( |
The job has reached the cutover or has ended, so you can't cancel it. |
Amazon RDS publishes data movement events on a best-effort basis. Use move_info as the record of a job's state.
Reading the group's events
Use the AWS CLI to read the events that the group emitted in a recent period.
To read the group's events
-
With the AWS CLI, call
DescribeEvents(aws rds describe-events) with the source typedb-cluster-group. Each line shows the event time and message.aws rds describe-events --regionREGION--source-type db-cluster-group --source-identifierGROUP_IDENTIFIER\ --durationMINUTES--query 'Events[].[Date,Message]' --output text