O&M engineers can create automatic O&M tasks to enable automatic O&M operations on multiple hosts at a time. This improves O&M efficiency. To improve O&M security, the administrator can manage the O&M tasks created by O&M engineers. For example, the administrator can view the details of O&M tasks, and stop or delete O&M tasks. The administrator can also create public O&M scripts for O&M engineers to use. This topic describes how to manage O&M tasks and create public O&M scripts as an administrator.
Supported versions
Enterprise Edition and SM Edition.
If your Bastionhost instance is Basic Edition, you need to upgrade to the corresponding version. 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
On the O&M Tasks tab, manage the O&M tasks.
View the details of O&M tasks: In the O&M task list, view the information about tasks, such as the execution method, execution time, and creator. You can also click the name of a task or click View in the Actions column of a task. In the panel that appears, view the O&M script content and the associated host account.
Stop O&M tasks: To stop a single task, click Stop in the Actions column of the task. To stop multiple tasks at a time, select the tasks and click Stop below the list.
Delete O&M tasks: To delete a single task, click Delete in the Actions column of the task. To delete multiple tasks at a time, select the tasks and click Delete below the list.
NoteAfter the administrator deletes an O&M task, the O&M engineer who created the task can no longer see the task.
Create a public O&M script
After the administrator creates a public O&M script, O&M engineers can select the script when they create O&M tasks. For more information, 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
On the Public Script Management tab, click Create O&M Script.
In the Create O&M Script panel, specify Script Name and Script Content, then click Create O&M Script.
NoteThe script name must be 1 to 128 characters in length and can contain letters, periods (.), underscores (_), hyphens (-), and spaces. It cannot start with a special character.
The script size can be up to 64 KB. Only Shell commands are supported.
Reference
Bastionhost allows you to create automatic O&M tasks to enable automatic O&M operations on multiple hosts at a time. This improves O&M efficiency. For more information, see Automatic O&M.