OOS automation

更新时间:
复制 MD 格式

The OOS automation page in the Alibaba Cloud ApsaraDB console displays information about automated database O&M tasks, such as task templates and executions, for the RDS, PolarDB, MongoDB, Tair (including Redis), and AnalyticDB instances in your Alibaba Cloud account. On this page, you can view common task templates and use them to create and manage automated tasks to improve the efficiency of database O&M.

Common task templates

View template information

  1. Go to the Common Task Templates page.

    1. Log on to the Alibaba Cloud ApsaraDB console.

    2. In the top navigation bar, click Stability O&M.

    3. In the upper-right corner of the page, click OOS Automation.

    4. In the navigation pane on the left, click Common Task Templates.

  2. Find the template that you want to view.

    Note
    • You can use the Template Categorization filter and the search box to quickly find the desired template.

    • For more information about template categorization, see Supported common task templates.

  3. Click the card of the template.

  4. View the information about the template.

Create a task

  1. Go to the Common Task Templates page.

    1. Log on to the Alibaba Cloud ApsaraDB console.

    2. In the top navigation bar, click Stability O&M.

    3. In the upper-right corner of the page, click OOS Automation.

    4. In the navigation pane on the left, click Common Task Templates.

  2. Find the template that you want to view.

    Note
    • You can use the Template Categorization filter and the search box to quickly find the desired template.

    • For more information about template categorization, see Supported common task templates.

  3. On the card of the template, click Create Execution.

  4. Configure basic information.

    1. Set Execution Mode as needed.

      • Automatic Execution: The task is automatically executed after you confirm its creation.

      • Pause on Failure: If a child execution of a loop task fails, the parent execution is paused. You can then make adjustments and decide whether to continue.

    2. Optional: Configure Resource Group for Execution, Tags for Execution, and Execution Description.

  5. Click Next: Set Parameters.

    Configure the parameters that are required by the template. For more information about the parameters, see Supported common task templates.

  6. Click Next: Confirm.

    Note

    You can click Generate OpenAPI Request Example in the upper-right corner to view the parameter information that is required to create a task by calling an OpenAPI operation.

  7. Click Create.

Task execution management

View task (execution) information

  1. Go to the Task Execution Management page.

    1. Log on to the Alibaba Cloud ApsaraDB console.

    2. In the top navigation bar, click Stability O&M.

    3. In the upper-right corner of the page, click OOS Automation.

    4. In the navigation pane on the left, click Task Execution Management.

  2. Locate the target task.

    Note

    You can use filters such as Execution ID, Template Name, Parent Execution ID, Resource ID, Execution Status, and Execution Type to quickly find the task.

  3. View the information about the task.

Manage a task (execution)

  1. Go to the Task Execution Management page.

    1. Log on to the Alibaba Cloud ApsaraDB console.

    2. In the top navigation bar, click Stability O&M.

    3. In the upper-right corner of the page, click OOS Automation.

    4. In the navigation pane on the left, click Task Execution Management.

  2. Locate the target task.

    Note

    You can use filters such as Execution ID, Template Name, Parent Execution ID, Resource ID, Execution Status, and Execution Type to quickly find the task.

  3. Manage the task.

    • Manage tags

      In the Tag column of the task, hover over the image icon and click the Edit button that appears to add or remove tags.

    • View details

      In the Actions column of the task, click Details. For more information about other operations, see View execution details.

    • Clone a task

      In the Actions column of the task, click Clone, and then complete the subsequent configurations.

      Note

      Alternatively, in the Actions column of the task, click Details. Then, in the upper-right corner, click Clone Execution and complete the subsequent configurations.

    • View child executions

      In the Actions column of the task, click Child Executions.

    • Delete a task

      Click image > Delete. In the dialog box that appears, click OK.

      Note

      Alternatively, in the Actions column of the task, click Details. Then, in the upper-right corner, click Delete Execution. In the dialog box that appears, click OK.

Appendix: Supported common task templates

RDS

Name

Description

ACS-RDS-BulkyMigrateSecurityIPMode

Switch the RDS whitelist to safe mode.

ACS-RDS-BulkyModifyActionEventPolicy

Enable the historical events feature for RDS.

ACS-RDS-BulkyModifySQLCollectorPolicy

Enable the SQL Explorer (SQL Audit) feature for RDS instances.

ACS-RDS-BulkyModifySQLCollectorRetention

Set the log retention period for SQL Explorer on RDS instances to 180 days.

ACS-RDS-BulkyModifySecurityIpsByInstanceIPArray

Delete 0.0.0.0/0 from an IP address whitelist group of an RDS instance.

ACS-RDS-ReleaseInstancePublicConnection

Release the public endpoint of an RDS instance.

ACS-RDS-BulkyModifyDBInstanceMaintainTime

Modify the maintenance window.

ACS-RDS-BulkyModifyDBInstanceMaintainTime

Modify the maintenance window of an instance.

ACS-RDS-BulkyModifyDBInstanceDeletionProtection

Enable instance protection for multiple RDS instances in a batch.

ACS-RDS-ScheduleToStartAndStopOrStopAndStartInstances

Schedule the startup and shutdown, or shutdown and startup, of RDS instances.

ACS-RDS-BulkyEnableBackupLogPolicy

Enable log backup in the backup policy of an RDS instance.

ACS-RDS-BulkyModifyDBInstanceSpec

Modify the configuration of an RDS instance.

ACS-RDS-BulkyRestartInstances

Restart multiple RDS instances in a batch.

ACS-RDS-BulkyStartInstances

Start multiple RDS instances in a batch.

ACS-RDS-BulkyStopInstances

Stop multiple RDS instances in a batch.

Tair (including Redis)

Name

Description

ACS-Redis-BulkyDeleteInstances

Delete multiple pay-as-you-go Redis instances in a batch.

ACS-REDIS-BulkyModifyAuditLogConfig

Enable audit logs for Redis and set the retention period to 180 days.

ACS-Redis-BulkyModifyInstanceConfig

Change the parameter settings of a Redis instance.

ACS-Redis-ReleaseInstancePublicConnection

Release the public endpoint of a Redis instance.

ACS-Redis-BulkyDeleteSecurityIpByInstanceIPArray

Delete specified IP addresses from an IP address whitelist group of multiple Redis instances in a batch.

ACS-Redis-BulkyModifyInstanceMaintainTime

Modify the maintenance window.

ACS-Redis-BulkyModifyInstanceBackupTime

Enable incremental backup for a Redis instance.

ACS-Redis-BulkyModifyBackupPolicy

Modify the automatic backup policy of a Redis instance.

ACS-Redis-BulkyEnableReleaseProtection

Enable release protection for a Redis instance.

ACS-Redis-FlushExpireKeys

Clear expired keys in Redis.

ACS-Redis-BulkyCreateBackupAndUploadToOSS

Create backups for multiple Redis instances and upload the backups to OSS in a batch.

ACS-Redis-ScheduleToUpgradeInstanceBandwidth

Schedule a temporary bandwidth upgrade for a Redis instance.

MongoDB

Name

Description

ACS-Mongodb-BulkyModifyBackupPolicy

Modify the backup policy of a MongoDB instance.

PolarDB

Name

Description

ACS-PolarDB-BulkyModifyDBClusterMaintainTime

Modify the maintenance window.

ACS-PolarDB-BulkyModifyBackupPolicyForLevel2Backup

Modify the level-2 backup retention period in the automatic backup policy of a PolarDB cluster.

ACS-PolarDB-BulkyModifyDBClusterDeletion

Enable or disable the cluster lock.

AnalyticDB

Name

Description

ACS-ADB-EnableBackupPolicy

Enable the automatic backup policy for an AnalyticDB for MySQL instance.

ACS-ADB-BulkyModifyDBClusterMaintainTime

Modify the maintenance window of an instance.