How Do I Use Images to Install Agents in Batches?
You can use an existing private image to install and deploy an agent on a new server.
![](https://support.huaweicloud.com/eu/hss2.0_faq/public_sys-resources/note_3.0-en-us.png)
Do not use existing private images across regions. Otherwise, the agent status will be Uninstalled.
For example, if you create a private image in region A and deploy it in region B, after the deployment is complete, the agent status in region B is Uninstalled. If you deploy the image in region A, the agent status is Installed.
If you need to use an image across regions, install the image, uninstall the agent in the original region and clear its information, obtain the agent installation command in the target region, and then run commands to install the agent in the target region.
Windows
Perform the following steps to install Windows agents in batches by using images:
- Purchase a Huawei Cloud ECS. Select the target Windows image. For details, see Purchasing an ECS.
- Install an agent on the ECS. For details, see Installing an Agent on a Windows Server.
Do not enable services or modify configurations other than those required for installing HSS agents.
- Stop the HostGuard process in the Windows Task Manager.
- Stop the ECS and use it to create an image. For details, see Creating an Image
After stopping the ECS, do not restart it before creating an image. Otherwise, you need to repeat Step 3.
- Use the created image to install agents on Windows ECSs in batches.
The agent status will be automatically refreshed 5 to 10 minutes after the installation succeeded.
Linux
Perform the following steps to install agents on Linux server in batches by using images:
- Purchase a Huawei Cloud ECS and select the required Linux image. For details, see Purchasing an ECS.
- Install the agent on the purchased ECS. For details, see Installing an Agent on the Linux OS.
Do not enable services or modify configurations other than those required for installing HSS agents.
- Stop the HSS process on the ECS.
Run the ps -ef command to check the PID of the HSS, and then run the kill -pid command to stop the hostguard process in the Linux OS.
- Stop the ECS and use it to create an image. For details, see Creating an Image.
After the ECS is stopped, do not restart it before creating an image. Otherwise, you need to perform steps 3 and 4 again.
- Use the created image to install agents on Windows ECSs in batches.
The agent status will be automatically refreshed 5 to 10 minutes after the installation succeeded.
Agent FAQs FAQs
- Is the Agent in Conflict with Any Other Security Software?
- How Do I Install the Agent?
- How Do I Uninstall the Agent?
- What Should I Do If Agent Installation Failed?
- How Do I Fix an Abnormal Agent?
- What Is the Default Agent Installation Path?
- How Many CPU and Memory Resources Are Occupied by the Agent When It Performs Scans?
- Do WTP and HSS Use the Same Agent?
- How Do I View Servers Where No Agents Have Been Installed?
- What Addresses Do ECSs Access After the Agent Is Installed?
- How Do I Use Images to Install Agents in Batches?
- What Do I Do If I Cannot Access the Download Link of the Windows Agent?
- What Do I Do If Agent Upgrade Fails and the Message "File replacement failed" Is Displayed?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more