Updated on 2024-10-08 GMT+08:00

Setting a Maintenance Window

The default maintenance window is 10:00–14:00 (GMT+08:00) but you can change it if needed. To prevent service interruption, set the maintenance window to off-peak hours. Before calling this API:

Precautions

  • This function for setting an maintenance window is still in the open beta test (OBT) phase. To use it, contact customer service.
  • You can configure a maintenance window only for restarting a DB instance, changing an instance class, or upgrading the minor version of a DB instance.
  • The specification change and patch upgrade that have been performed during the maintenance period cannot be performed immediately. The instance can be restarted immediately.
  • You can cancel a task to be executed.
  • Changing the maintenance window will not affect the timing that has already been scheduled.
  • The maintenance window cannot overlap the time window configured for backups. Otherwise, scheduled tasks may fail.
  • During the maintenance window, the scheduled task is scanned and executed every 10 minutes. If the task is delivered near the end of the maintenance period, the task may fail to be scanned and the execution is canceled.

Setting a Maintenance Window

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Instances page, click the instance whose specifications you want to change. The Basic Information page is displayed.
  4. In the DB Information area, locate Maintenance Window and click Change.

    Figure 1 The change button

  5. On the Change Maintainable Window page, select the maintenance time period as needed, and then click OK.

    Supported time periods: 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, and 22:00-02:00

    Figure 2 Changing a maintenance window

  6. Check the result.

    On the Basic Information page, you can view the changed maintenance window.

Canceling a Scheduled Task

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Task Center page, locate a scheduled task, and click Cancel in the Operation column.

    Figure 3 Canceling a task

  4. Check the result.

    On the Task Center page, you can view the result. After the task is cancelled, its status changes to Cancelled.

    Figure 4 Checking cancelled tasks