ApsaraDB RDS notifies you of upcoming O&M operations—such as instance migrations, minor version upgrades, and SSL certificate updates—by phone, email, or internal message. From the Event Center, you can view event details, assess the impact on your instance, and reschedule switchovers to align with your off-peak hours.
Prerequisites
Before you begin, ensure that you have:
At least one pending O&M event. To check, move the pointer over the
icon in the upper-right corner of the ApsaraDB RDS console.
Usage notes
Event levels
O&M events are classified into two levels based on urgency:
| Level | Description | Lead time | Can be canceled? |
|---|---|---|---|
| [S0: Urgent] Risk fixing | Unexpected events that must be resolved immediately to prevent faults—for example, urgent replacements, faulty version upgrades, host exception fixes, or SSL certificate updates before expiration. | 3 or more days | No |
| [S1: Scheduled] System maintenance | Low-risk issues or scheduled hardware and software upgrades. | More than 3 days | Yes |
Notification setup
To receive O&M event notifications, configure your contacts in the Message Center console under ApsaraDB Fault or Maintenance Notifications. Specify database O&M personnel as contacts and select Email as the notification method to maximize delivery reliability.

Figure 1 Entry for Message Settings in the Message Center console

Figure 2 Notification settings for ApsaraDB Fault or Maintenance NotificationsMessage CenterThe notification methods include Email and Internal Messages. We recommend that you select Email to improve the success rate of notifications.
CloudMonitor event subscriptions
For earlier notification or event-driven O&M automation, configure system event subscriptions in CloudMonitor. RDS pushes CloudMonitor system events for each stage of an O&M event lifecycle: subscription, start, end, and cancellation.
For setup instructions, see Manage event subscription policies (recommended).
Sample CloudMonitor event:
{
"eventId": "c864b30b-7f69-5f04-b0e7-8dfb0eabcfd9", // Event ID. The same event always has the same ID.
"product": "RDS", // Service code.
"reason": "Host software/hardware upgrade", // Cause of the event.
"extra": {
"impactEn": "Transient instance disconnection", // Impact of the event.
"eventCode": "rds_apsaradb_transfer", // O&M event type code.
"eventNameEn": "Instance migration", // O&M event name.
"switchTime": "2024-09-15T01:30:00+08:00", // Scheduled switchover time.
"startTime": "2024-09-14T21:30:00+08:00", // Scheduled start time (when the event enters the scheduling queue).
"cancelCode": "OutOfGoodPerfBySoftHardwareUpgrade", // Cancellation risk code.
"detailCode": "HostSoftHardwareUpgrade", // Detailed cause code.
"instanceInfo": ""
},
"instanceId": "rm-2ze9d66o65q1g02g6", // Instance ID.
"eventType": "Maintenance",
"instanceComment": "rm-2ze9d66o65q1g02g6", // Instance alias.
"instanceType": "Instance",
"publishTime": "2024-09-10T16:01:47+08:00"
}For information about all subscribable CloudMonitor system events, see the "Appendix 1 CloudMonitor-related system events" section of View and manage pending events.
Reschedule an O&M event
Log on to the ApsaraDB RDS console.
In the left-side navigation pane, click Event Center. In the top navigation bar, select the region where your RDS instance resides.
If a pending O&M event requires you to schedule a switchover time, a prompt appears at the top of the page.
(Optional) On the Scheduled Events tab, configure the recurring time window. The recurring time window applies globally to all proactive O&M events. After you configure it, switchover times for newly generated proactive O&M events are automatically set within the configured window. If no recurring time window is configured, switchover times default to the maintenance window of each RDS instance. To configure the recurring time window: For information about maintenance windows, see Configure a maintenance window.
Click Recurring Time Window Settings.
In the panel that appears, configure the parameters and click Save.
ImportantEvents that fix high-risk vulnerabilities are excluded from the recurring time window and may be scheduled outside the configured window.
On the Scheduled Events tab, view the event details. To reschedule a switchover for an event in the Planned state, select the target RDS instance and click Schedule Event.
The information displayed varies by event type.
In the Schedule Event dialog box, set the switchover time and click OK. Schedule switchovers during off-peak hours and make sure your application is configured to reconnect automatically after the switchover.
Earliest Execution Time: The system selects the earliest available switchover date and time. After you save, the instance moves to the Pending state.
Custom time: Specify the date and time manually. The scheduled switching time, cannot be later than the Deadline.
Event types and impacts
The following table summarizes each event type, its trigger, and its impact on your instance.
Backup mode change| Cause | Impact | Details |
|---|---|---|
| Instance migration — triggered by host vulnerabilities, hardware warranty expirations, or operating system upgrades. Applies to all instance types, including non-high-availability instances and read-only instances. | Instance switchover | The instance stays in read-only state for up to 30 seconds while data synchronizes. Data Management (DMS) and Data Transmission Service (DTS) access is temporarily unavailable. See Impacts of an instance switchover. |
| Primary/secondary switchover — same trigger as instance migration. | Instance switchover | Same as above. |
| SSL certificate update — triggered when an SSL certificate is about to expire, to maintain security and stability. | Instance switchover | Same as above. |
| Instance switchover | Same as above. | |
| Minor engine version update — triggered to deliver new features, bug fixes, and performance improvements. | Instance switchover | Same as above. For differences between versions, see the relevant release notes. Release notes are available only for specific services. |
| Database proxy version upgrade — triggered to deliver new features, bug fixes, and performance improvements for the proxy. | Instance switchover | Same as above. For differences between proxy versions, review the relevant upgrade notes. |
| Network upgrade — triggered to improve network performance and stability. | Instance switchover | Same as above. Some network upgrades involve cross-zone migrations that change the virtual IP address (VIP) of the instance. If your application connects using a VIP directly, the connection is interrupted. Use the domain name endpoint provided by your RDS instance and disable the Domain Name System (DNS) cache on your application and server to avoid business interruptions. |
| Hardware or software upgrade of the host — triggered by host vulnerabilities or host-level hardware and software upgrades. | Instance restart | The instance is unavailable for about 60 seconds while database processes restart. DMS and DTS access is temporarily unavailable. Perform this operation during off-peak hours and make sure your application reconnects automatically. |
FAQ
Are O&M events executed automatically? Can I cancel them?
Scheduled events run automatically and cannot be canceled—this ensures the normal operation of your instance. You can only change the scheduled switchover time. Set it to a low-traffic period and make sure your application reconnects automatically after the event completes.