Long-Term Supported Versions

    Host Management

    1. Adding Host Groups

    When adding a host group, you need to enter the host group name and description.

    • Web interface example:

      Adding host groups

    • Command example:

      aops group --action add --host_group_name group1 --description "it's group1" --access_token token

    2. Viewing Host Groups

    After adding a host group, the host group information displays. You can view the number and information of the hosts in each host group.

    • Web interface example:

    1631073636579

    Host in the group

    • Command example:

      aops group --action query --access_token token

    3. Adding Hosts

    To minimize permissions, perform the operations as a non-root user. If the host has only the root user, run the following commands to add a user:

    useradd -m aops
    passwd aops
    usermod -G wheel aops
    

    The following parameters are required for adding a host:

    • Host name. If the host name conflicts with an existing host name, the add operation will fail.
    • Host group name. Select a host group from the drop-down list.
    • Host IP address. It must be an accessible public IP address. Currently, only IPv4 addresses are supported.
    • SSH login port number.
    • management: Indicates whether the host is a management node.
    • Username: The user name for logging in to the host.
    • Password: The password for logging in to the host.
    • Administrator Password: The password of the root user on the host.
    • key: Indicates the key used to encrypt the host information, such as the host password. This key is required for subsequent operations. Due to function restrictions, the keys of all hosts must be the same currently.

    After the host is added successfully, it is displayed in the list.

    • Web interface example:

      Hosts

    • Command example:

      aops host --action add --host_name host1 --host_group_name group1 --public_ip 192.168.0.0 --ssh_port 22 --management False --username test --password 123 --sudo_password aaa123 --key mi --access_token token

    4. Viewing Hosts

    You can filter the hosts to be viewed based on the host group and whether the host is a management node.

    • Web interface example:

      1631073840656

    • Command example:

      aops host --action query --host_group_name group1 --access_token token

    5. Host Authentication

    Operations like host deployment and configuration collection use the host password and other necessary information to log in to the host. The key that is set when adding the host is required for decrypting those information. The key needs to be authenticated only once.

    • Web interface example:

      Decryption

    • Command example:

      aops certificate --key mi --access_token token

    6. Deleting Hosts

    Select one or more hosts and click Delete.

    • Web interface example:

      Deleting hosts

    • Command example:

      aops host --action delete --host_list 111 --access_token token

    7. Deleting Host Groups

    Select one or more host groups to be deleted. Host groups that contain any hosts cannot be deleted.

    • Web interface example:

      Deleting host groups

    • Command example:

      aops group --action delete --host_group_list group1 --access_token token

    Bug Catching

    Buggy Content

    Bug Description

    Submit As Issue

    It's a little complicated....

    I'd like to ask someone.

    PR

    Just a small problem.

    I can fix it online!

    Bug Type
    Specifications and Common Mistakes

    ● Misspellings or punctuation mistakes;

    ● Incorrect links, empty cells, or wrong formats;

    ● Chinese characters in English context;

    ● Minor inconsistencies between the UI and descriptions;

    ● Low writing fluency that does not affect understanding;

    ● Incorrect version numbers, including software package names and version numbers on the UI.

    Usability

    ● Incorrect or missing key steps;

    ● Missing prerequisites or precautions;

    ● Ambiguous figures, tables, or texts;

    ● Unclear logic, such as missing classifications, items, and steps.

    Correctness

    ● Technical principles, function descriptions, or specifications inconsistent with those of the software;

    ● Incorrect schematic or architecture diagrams;

    ● Incorrect commands or command parameters;

    ● Incorrect code;

    ● Commands inconsistent with the functions;

    ● Wrong screenshots.

    Risk Warnings

    ● Lack of risk warnings for operations that may damage the system or important data.

    Content Compliance

    ● Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions;

    ● Copyright infringement.

    How satisfied are you with this document

    Not satisfied at all
    Very satisfied
    Submit
    Click to create an issue. An issue template will be automatically generated based on your feedback.
    Bug Catching
    编组 3备份