All Products
Search
Document Center

Bastionhost:Manage O&M tasks

Last Updated:Nov 04, 2024

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.

Manage O&M tasks

  1. Log on to the Bastionhost console. In the top navigation bar, select the region in which your bastion host resides.

  2. In the bastion host list, find the bastion host that you want to manage and click Manage.

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

  4. On the O&M Tasks tab, manage the O&M tasks.

    1. View the details of O&M tasks: In the O&M task list, you can 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, you can view the O&M script content and the associated host account.

    2. 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.

    3. 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.

      Note

      After 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.

  1. Log on to the Bastionhost console. In the top navigation bar, select the region in which your bastion host resides.

  2. In the bastion host list, find the bastion host that you want to manage and click Manage.

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

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

  5. In the Create O&M Script panel, specify Script Name and Script Content, and then click Create O&M Script.

    Note
    • The 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.

References

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.