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
Log on to the Bastionhost console and select the region where your bastion host is deployed in the top navigation bar.
In the bastion host list, find the target instance and click Manage.
In the left-side navigation pane, choose Assets > O&M Task Management.
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.
Log on to the Bastionhost console and select the region where your bastion host is deployed in the top navigation bar.
In the bastion host list, find the target instance and click Manage.
In the left-side navigation pane, choose Assets > O&M Task Management.
Click the Public Script Management tab, then click Create O&M Script.
In the Create O&M Script panel, fill in the script details according to the following constraints, then click Create O&M Script.
Field Constraint Script Name 1–128 characters; letters, periods ( .), underscores (_), hyphens (-), and spaces are allowed; cannot start with a special characterScript Content Maximum 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.