All Products
Search
Document Center

Bastionhost:Manage O&M tasks

Last Updated:Mar 31, 2026

As an administrator, you can oversee all O&M tasks that engineers create — view their details, stop running tasks, and delete them. You can also create public O&M scripts that engineers can select when setting up new tasks.

Supported versions

Enterprise Edition and SM Edition.

Basic Edition does not support this feature. To use it, upgrade your instance. For more information, see Upgrade instance type.

Manage O&M tasks

  1. Log on to the Bastionhost console and select the region where your bastion host is deployed in the top navigation bar.

  2. In the bastion host list, find the target instance and click Manage.

  3. In the left-side navigation pane, choose Assets > O&M Task Management.

  4. On the O&M Tasks tab, perform the following operations as needed.

    • View task details: In the task list, review the execution method, execution time, and creator for each task. To see the O&M script content and associated host account, click the task name or click View in the Actions column.

    • Stop tasks: To stop a single task, click Stop in the Actions column. To stop multiple tasks at once, select them and click Stop below the list.

    • Delete tasks: To delete a single task, click Delete in the Actions column. To delete multiple tasks at once, select them and click Delete below the list.

Once an administrator deletes a task, the O&M engineer who created it can no longer see it.

Create a public O&M script

Public O&M scripts are reusable Shell scripts that you create once and make available to all O&M engineers. When engineers create O&M tasks, they can select any public script from the list. For more information about creating tasks, see Automatic O&M.

  1. Log on to the Bastionhost console and select the region where your bastion host is deployed in the top navigation bar.

  2. In the bastion host list, find the target instance and click Manage.

  3. In the left-side navigation pane, choose Assets > O&M Task Management.

  4. Click the Public Script Management tab, then click Create O&M Script.

  5. In the Create O&M Script panel, fill in the script details according to the following constraints, then click Create O&M Script.

    FieldConstraint
    Script Name1–128 characters; letters, periods (.), underscores (_), hyphens (-), and spaces are allowed; cannot start with a special character
    Script ContentMaximum 64 KB; Shell commands only

What's next

After creating public scripts, O&M engineers can select them when creating automatic O&M tasks. For more information, see Automatic O&M.