Help Center/ Host Security Service/ User Guide (Paris)/ Asset Management/ Server Management/ Installing Agents in Batches (with the Same Server Account and Password)
Updated on 2024-08-14 GMT+08:00

Installing Agents in Batches (with the Same Server Account and Password)

After creating a batch agent installation task, the system will install the agents automatically. You can enable protection for the target servers after the agents are installed successfully.

Prerequisites

  • There is a server with an online agent in the VPC of the servers where the agent is to be installed.
  • All target servers must support SSH login.
  • You have obtained the account, port number, and password for logging in to the server where the agent is to be installed.
  • The status of the server where the agent is to be installed is Running.

Constraints

  • Currently, only Linux servers can install agents in batches.
  • You can install the agent on a maximum of 50 servers at a time.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page, select a region, and choose Security > Host Security Service.
  1. In the navigation pane, choose Asset Management > Servers & Quota. Click the Servers tab.
  2. Click Install Agent in the upper part of the page, and select target servers in the displayed dialog page.

    • All target servers must be in the Running state.
    • In the VPC where the target servers locate, at least one server has installed the agent. Otherwise, the batch installation will fail.
    • The selected servers must use the same root password and port number. Otherwise, the batch installation will fail.
    • Agents can be installed on up to 50 servers at a time.

  3. Click Next. Enter the server root password and server login port.

    The default system port is 22. To query the Linux SSH port, remotely log in to the target server and run the following command on the Linux server:

    cat /etc/ssh/sshd_config | grep Port

  4. Click OK. Agents will be automatically installed on the servers you selected.

    Agents will be automatically installed on the servers you selected in sequence. You can choose Asset Management > Servers & Quota and click the Servers tab to view agent status. If the Agent Status of a target server changes to Online, you can enable protection for the server.