Help Center/ Elastic Cloud Server/ User Guide/ Events/ Handling an Event/ Handling a System Maintenance Event
Updated on 2024-10-18 GMT+08:00

Handling a System Maintenance Event

Scenarios

When the system reports a system maintenance event, you need to authorize maintenance for ECSs (including bare metal ECSs).

This section describes how to handle a system maintenance event in Pending authorization status and guides you through the authorization required for the system maintenance.

You can authorize maintenance now or later.
  • Now: The system maintenance will be completed within five working days generally after the system receives the request.
  • Later: The system maintenance will be completed within five working days after the scheduled maintenance time.

    You can change the reservation time as needed. For details, see Changing the Reservation Time.

System maintenance requires the host to be powered off. The instance will be unavailable during this period. Make sure that services have been stopped or they will not be affected by the shutdown of the instance.

If services on the instance cannot be stopped, contact technical support.

Prerequisites

If you need to perform operations as an IAM user, ensure that the IAM user has been granted the required permissions.

Event query and handling require the permissions defined in the following policies:

  • Query events: ecs:instanceScheduledEvents:list
  • Accept and authorize events: ecs:instanceScheduledEvents:accept
  • Change the reservation time: ecs:instanceScheduledEvents:update

For details about how to grant permissions to IAM users, see ECS Custom Policies.

Authorizing Maintenance

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. Choose Events from the left navigation pane.
    Figure 1 Events
  1. On the Events page, in the event list, click in table headers and set the following criteria to filter the system maintenance events in Pending authorization status.
    1. In the Event Type column, select System maintenance.
    2. In the Event Status column, select Pending authorization.
  2. Click Authorize Maintenance in the Operation column.
    Figure 2 Authorizing maintenance
  3. Learn about the notice and click Next.
  4. Specify Maintenance.
    • Select Now.

      The system maintenance will be completed within five working days generally after the system receives the request.

      Figure 3 Selecting Now
    • Select Later and specify Scheduled At.

      The system maintenance will be completed within five working days after the scheduled maintenance time.

      Figure 4 Selecting Later

      You can change the reservation time as needed. For details, see Changing the Reservation Time.

  5. Enter AGREE in the text box below to confirm the maintenance authorization.
  6. Click OK.

    After you submit the authorization request, the event status becomes To be executed. After the system receives the request, it decides when to change the event status to Executing based on the maintenance time you specify.

    When the status of the system maintenance event becomes Execution succeeded, the system maintenance is complete. Check the status of services running on the instance.

Changing the Reservation Time

After you submit a scheduled authorization request, the event status changes to To be executed. You can change the reservation time as needed.

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. Choose Events from the left navigation pane.
  1. On the Events page, in the event list, click in table headers and set the following criteria to filter the system maintenance events in To be executed state.
    1. In the Event Type column, select System maintenance.
    2. In the Event Status column, select To be executed.
  1. In the Operation column of the event to be executed, click Change Reservation Time.
    Figure 5 Changing the reservation time
  2. Specify New Reservation Time and click OK.

    The reservation time can be changed at least 30 minutes before the reservation deadline.