View a markdown version of this page

Amazon RDS events for database cluster groups for Aurora - Amazon Aurora

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 group.

An OS upgrade of the group started.

Maintenance

Amazon RDS started OS upgrade for wave number for DB cluster group group.

A wave of the OS upgrade started.

Maintenance

Amazon RDS completed OS upgrade for wave number for DB cluster group group. count cluster(s) in the wave upgraded.

A wave finished.

Maintenance

Amazon RDS successfully completed OS upgrade for DB cluster group group.

The OS upgrade finished.

Failure

OS upgrade for DB cluster group group failed. count of total cluster(s) upgraded.

The OS upgrade failed.

Maintenance

Amazon RDS started an engine minor or major version upgrade for DB cluster group group.

An engine upgrade started.

Maintenance

DB cluster group group upgrade preparation in progress: stage upgrade prechecks.

Prechecks run.

Maintenance

Amazon RDS started the engine type version upgrade for wave number in DB cluster group group.

A wave started.

Maintenance

Amazon RDS finished the engine type version upgrade for wave number in DB cluster group group. count cluster(s) in the wave upgraded.

A wave finished.

Maintenance

Amazon RDS finished the engine type version upgrade for DB cluster group group. count cluster(s) upgraded.

The engine upgrade finished.

Failure

DB cluster group group is in a state that cannot be upgraded. count of total cluster(s) upgraded.

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 (cluster) has been removed from its global cluster because the cluster is a member of a DB cluster group. Remove the cluster from the DB cluster group before adding it to a global 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 (job-id).

The job started.

Failure

Data movement job (job-id) failed validation.

The job didn't start, because a validation check failed. For example, a member cluster isn't available. Read the errors column of move_info.

Notification

Running pre-checks for data movement job (job-id).

The job entered the Precheck phase.

Notification

Pre-checks passed for data movement job (job-id).

All prechecks passed. The job will start seeding.

Failure

Pre-checks failed for data movement job (job-id).

At least one precheck failed. Read the errors column of move_info.

Notification

Data seeding in progress for data movement job (job-id).

The job has started the Seeding phase and is copying rows to the destination member cluster.

Notification

Data seeding completed for data movement job (job-id).

Seeding is complete. The job will start CDC replication.

Failure

Data seeding failed for data movement job (job-id).

Seeding failed. Read the errors column of move_info.

Notification

CDC replication in progress for data movement job (job-id).

The job has started the CDC Replication phase and is replicating changes.

Failure

CDC replication failed for data movement job (job-id).

CDC replication failed. Read the errors column of move_info.

Notification

Data movement job (job-id) is ready for cutover.

Replication lag is at or below 5 seconds, so you can run CUTOVER JOB for this job. The lag can rise again after this event, so check it in move_info first. Amazon RDS emits this event only for jobs that you start with MANUAL_CUTOVER = 1.

Notification

Cutover initiated for data movement job (job-id).

The job has started the cutover. Reads and writes to the moving objects fail until it ends.

Notification

Cutover completed for data movement job (job-id).

The cutover finished. The destination member cluster now holds the moved objects.

Failure

Cutover failed for data movement job (job-id). Resuming CDC replication.

The cutover didn't complete. The job has gone back to the CDC Replication phase.

Failure

Cutover request for data movement job (job-id) was rejected.

The job didn't accept your CUTOVER JOB request. This usually happens when the replication lag is at or above the limit that you set with MAX_REPLICATION_LAG_SECONDS.

Notification

Data movement job (job-id) completed successfully.

The job finished successfully, and the status column of move_info reads Completed.

Failure

Data movement job (job-id) failed.

The job failed, and the status column of move_info reads Error. Read the errors column.

Notification

Data movement job (job-id) canceled.

You canceled the job, and the status column of move_info reads Cancelled.

Failure

Data movement job (job-id) failed to cancel.

The cancel didn't complete. Read move_info, and run CANCEL JOB again if the job is still running.

Failure

Cancel request for data movement job (job-id) was rejected because the job is no longer in a cancellable state.

The job has reached the cutover or has ended, so you can't cancel it.

Note

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 type db-cluster-group. Each line shows the event time and message.

    aws rds describe-events --region REGION --source-type db-cluster-group --source-identifier GROUP_IDENTIFIER \ --duration MINUTES --query 'Events[].[Date,Message]' --output text