Task Center

更新时间:
复制 MD 格式

The Task Center in the ApsaraDB for MongoDB console displays the progress and details of instance operations, including creation, configuration changes, restarts, and upgrades.

Procedure

  1. Go to the Task Center page and select a region at the top.

  2. View task information.

    On the Task list page in Task Center, filter tasks by start time (last hour, 1 day, 7 days, 30 days, or a custom range) and by keywords such as a task ID. The top of the page summarizes tasks by status: Succeeded, Failed, Pending Intervention, Pending, Running, Terminating, Terminated, and Pending Schedule. The table lists each task's Task ID, Task type, Resource type, Resource ID, Task status, Task progress, Task time, and Actions. In the Actions column, you can click Details, Modify switchover time, or Retry.

Supported task types

The Task Center supports the following task types.

Cloud disk

Parameter

Task type (API)

Architecture

Description

Create instance

CreateIns

replica set

sharded cluster

Creates an instance.

Restart instance

RestartIns

replica set

sharded cluster

Restarts an instance.

Primary/secondary failover

HaSwitch

replica set

sharded cluster

Performs a primary/secondary failover or a role switch for an instance.

Kernel version upgrade

KernelVersionUpgrade

replica set

sharded cluster

Upgrades the instance to a major or minor kernel version.

Specification change or migration

ModifyInsSpec

replica set

sharded cluster

Changes the storage type, modifies the specification, or scales out the instance.

Network change

ModifyNetwork

replica set

sharded cluster

Changes the VPC and the vSwitch.

Add node

AddInsNode

replica set

Adds a node to a replica set instance.

sharded cluster

Adds a read-only node to a shard.

Delete node

DeleteInsNode

replica set

Deletes a node from a replica set instance.

sharded cluster

Deletes a read-only node from a shard.

Data flashback

FlashBackIns

replica set

sharded cluster

Performs a data flashback by key.

Data restoration

RestoreIns

replica set

sharded cluster

Restores data by key.

Add shard

AddInsShards

sharded cluster

Adds a shard to a sharded cluster instance.

Delete shard

DeleteInsShards

sharded cluster

Deletes a shard from a sharded cluster instance.

Clone instance

CloneIns

replica set

sharded cluster

Restores an instance from a backup set, performs a point-in-time recovery (PITR), or recreates an instance from the recycle bin.

Delete instance

DeleteIns

replica set

sharded cluster

Deletes an instance.

Parameter adjustment

ChangeVariable

replica set

sharded cluster

Modifies kernel parameters.

Restart node

RestartInsNode

replica set

sharded cluster

Restarts a node.

Search service change

ModifySearch

replica set

Enables or disables the Search service, or modifies the specification of a Search instance.

Restart Search instance

RestartSearch

replica set

Restarts a Search instance.

Local disk

Parameter

Task type (API)

Architecture

Description

Create instance

CreateIns

replica set

sharded cluster

Creates an instance.

Delete instance

DeleteIns

replica set

sharded cluster

Deletes an instance.

Parameter adjustment

ChangeVariable

replica set

sharded cluster

Modifies kernel parameters, modifies SSL settings, enables TDE, or refreshes the audit log configuration for a replica set.

Configuration change

ModifyInsConfig

replica set

Changes the instance configuration.

Restart instance

RestartIns

replica set

sharded cluster

Restarts an instance. For a sharded cluster, this restarts a mongos, shard, or Configserver node.

Primary/secondary failover

HaSwitch

replica set

sharded cluster

Performs a primary/secondary failover for a replica set. For a sharded cluster, this performs a primary/secondary failover for shard or Configserver nodes.

Kernel version upgrade

KernelVersionUpgrade

replica set

sharded cluster

Upgrades the instance to a major or minor kernel version.

Account change

ModifyAccount

replica set

sharded cluster

Resets a password.

Specification change or migration

ModifyInsSpec

replica set

Scales out the local disk or modifies the specification.

sharded cluster

Modifies the specification of a mongos, Configserver, or shard node; changes the node's instance type; migrates the node to another availability zone; or deletes a read-only node from a shard.

Network change

ModifyNetwork

replica set

Updates the network configuration, which can include routing information or the virtual IP address (VIP).

sharded cluster

Modifies network settings, such as those for VPC, public network, or classic network.

Lock instance

LockIns

replica set

sharded cluster

Locks an instance.

Unlock instance

UnlockIns

replica set

sharded cluster

Unlocks an instance.

Add node

AddInsNode

replica set

Adds a node to a replica set instance.

sharded cluster

Adds a read-only node to a shard of a sharded cluster instance.

Delete node

DeleteInsNode

replica set

Deletes a node from a replica set instance.

Add shard

AddInsShards

sharded cluster

Adds one or more shards to a sharded cluster instance.

Delete shard

DeleteInsShards

sharded cluster

Deletes a shard from a sharded cluster instance.

Clone instance

CloneIns

replica set

sharded cluster

Restores an instance from a backup set, performs a point-in-time recovery (PITR), or recreates an instance from the recycle bin.

Switchover time

For maintenance tasks that involve a switchover—such as upgrades, specification changes, or restarts—you can choose when to perform the switchover:

  • Execute Now: The switchover runs as soon as preparations are complete.

  • Execute Within Maintenance Window (Recommended): The system performs the preparations first, and the switchover occurs during your configured maintenance window.

    If you need to perform the switchover at a specific time outside the maintenance window, wait until the task status changes to Pending Schedule. Then, at your desired switchover time, click Change Switchover Time in the Actions column of the task list and change the option to Switch Immediately.

FAQ

Why is the "Modify switchover time" option unavailable?

  • The task does not affect the instance, so modifying the switchover time is not necessary.

  • The system is still preparing for the switchover, such as creating a new instance or migrating data. This process can take from several minutes to a few hours, depending on the data volume. After the preparations are complete, the task status changes to Pending Schedule, and the option becomes available.

Why is the task still in progress when my service and monitoring appear normal?

After the switchover, your instance is accessible. However, the system continues to perform background cleanup, such as removing the old instance. The task is marked "Succeeded" only after these operations are complete.

Related APIs

API

Description

DescribeHistoryTasks

Queries tasks in the Task Center.