forked from docs/doc-exports
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
6.3 KiB
6.3 KiB
Installing the Agents in Batches on Linux ECSs
Scenarios
This topic describes how to batch install the Agents on Linux ECSs.
Operation
After binding an elastic IP address to an ECS, install and configure the Agent by following instructions in Installing and Configuring the Agent on a Linux ECS or BMS to ensure that data collection is normal. Use the ECS as a jump server and run scripts in batches to copy, decompress, and install the Agent package and configuration file to other ECSs.
Constraints
Some OSs are not supported. For details about which Linux OSs are supported, see What OSs Does the Agent Support?
Prerequisites
- You have configured an agency by referring to Configuring an Agency by One Click.
- The IP addresses and password of user root of all ECSs for which the Agent is to be installed have been collected, sorted in the iplist.txt format, and uploaded to the /usr/local directory on the first ECS.
Procedure
- Log in to the ECS on which the Agent has been installed as user root.
- Run the following command to download and run the batch installation script:EU DE:
cd /usr/local && curl -k -O https://uniagent-eu-de.obs.eu-de.otc.t-systems.com/package/batch_agent_install.sh && bash batch_agent_install.sh -r eu-de -u 0.1.9 -t 2.7.2 -d agent.ces.otc.t-systems.com -o otc.t-systems.com
EU NL:cd /usr/local && curl -k -O https://uniagent-eu-nl.obs.eu-nl.otc.t-systems.com/package/batch_agent_install.sh && bash batch_agent_install.sh -r eu-nl -u 0.1.9 -t 2.7.2 -d agent.ces.otc.t-systems.com -o otc.t-systems.com
- Check whether Telescope process starts successfully. is displayed. If so, the installation is successful. Wait for 3 to 5 minutes until the Agent starts collecting monitoring data.
- After you configure the Agent, its status is still displayed as Not installed on the Server Monitoring page because no monitoring data is reported yet. Wait 3 to 5 minutes and refresh the page.
- If the Agent status is Running and monitoring is enabled, the Agent has been recognized by Cloud Eye and has started to report fine-grained metric data.
Helpful Links
If the error message "SSH dial error" is displayed during batch installation, rectify the fault by referring to How Can I Fix the "SSH dial error" During Batch Agent Installation?.
Parent topic: Agent Installation and Configuration

