A scheduled maintenance window lets you configure specific time periods for system maintenance on your ENS instances. We recommend that you schedule these windows during off-peak hours. Performing maintenance actions, such as an instance restart or instance redeployment, within these windows minimizes the impact on your business and improves system stability.
Notes
The start and end times for a scheduled maintenance window are in UTC+8. Convert your local off-peak hours to this time zone.
The total duration of a scheduled maintenance window must be at least 4 hours.
How maintenance windows work
Execution order: For events with a user-scheduled execution time, the system performs the maintenance action at that time. For other events, the system performs the action at the earlier of the scheduled maintenance window or the system's default execution time.
Rate limiting: For each user, the system performs only one maintenance action every 30 minutes.
Maintenance actions
Scheduled maintenance windows support two maintenance actions: instance restart and instance redeployment. Instance redeployment has a higher priority than instance restart. This means that a SystemMaintenance.Redeploy (instance redeployment for system maintenance) event overrides a SystemMaintenance.Reboot (instance restart for system maintenance) event scheduled for the same period.
Maintenance action
Action | Instance type | Affected system events | Maintenance method |
instance restart | cloud disk-based instance |
| Instance restart |
instance redeployment | local disk-based instance |
| Instance redeployment |
| Redeploying the instance erases all data on the local disk. |
Create a scheduled maintenance window
Log on to the ENS console.
In the left-side navigation pane, choose .
On the System Events page, click the Scheduled O&M Window tab, and then click Create Scheduled O&M Window.
In the Create Scheduled O&M Window dialog box, configure the following parameters:
Parameter | Description | Example |
O&M Window Name | The name of the window. The name must be 2 to 200 characters in length and can contain letters (including English and Chinese), digits, colons (
| Redis_Service_Maintenance_Window |
Resource Scope | Specify the target ENS instances by selecting All Instances or Instances with Specific Tags. You can associate only one target type with each scheduled maintenance window.
| All resources |
Repeat Period | Specifies how often the window recurs. It can be set to daily or weekly.
| Weekly |
Time Window | The time range when maintenance can be performed. You can define multiple time ranges within a single scheduled maintenance window. Note You can set multiple time windows. Each must be at least 4 hours long. |
|
Supported O&M Actions | The maintenance actions allowed within this window.
| Instance restart |
Status | Enables or disables the scheduled maintenance window.
| enabled |
The new window appears in the list of scheduled maintenance windows.
Manage scheduled maintenance windows
View a scheduled maintenance window: View existing windows on the Scheduled O&M Window tab. To see the details of a specific window, click Details in the Actions column.
Modify a scheduled maintenance window: To modify a window's configuration for reasons like resolving a peak-hour conflict or extending the window, click Edit in the Actions column.
Delete a scheduled maintenance window: To simplify management, delete redundant windows, such as those for retired projects or that overlap with others. To delete a window, click Delete in the Actions column.
NoteNote: After you delete a scheduled maintenance window, any maintenance events scheduled for it revert to the system's default execution time.