Performing Operations on a UniAgent
You can install, reinstall, and upgrade a UniAgent on and uninstall a UniAgent from corresponding nodes.
Scenarios
Install, reinstall, and upgrade a UniAgent on and uninstall a UniAgent from corresponding nodes on COC.
Precautions
Currently, you can only perform operations on UniAgent for ECSs.
Procedure
- Log in to COC.
- In the navigation pane on the left, choose Resources > Application and Resource Management. On the displayed Resources tab page, above the resource list, select the desired instances and choose UniAgent > Install.
Figure 1 Installing a UniAgent
- On the displayed Install UniAgent page, specify required information by referring to Table 1 and click Submit to trigger the automated installation process. Wait until the installation is complete.
Figure 2 Setting parameters
- In the navigation pane on the left, choose Resources > Application and Resource Management. Click the Resources tab, select the instances whose UniAgent status is Abnormal, Not installed, or Installation failed, and choose UniAgent > Reinstall.
Figure 3 Reinstalling a UniAgent
- In the navigation pane on the left, choose Resources > Application and Resource Management. On the displayed Resources tab page, above the resource list, select the instances with UniAgents installed and choose UniAgent > Upgrade.
Figure 4 Upgrading a UniAgent
- In the drawer that is displayed on the right, select the UniAgent to be upgraded and click OK to trigger the automatic upgrade process. Wait until the operation is complete.
Figure 5 Parameters for upgrading a UniAgent
- In the navigation pane on the left, choose Resources > Application and Resource Management. On the displayed Resources tab page, above the resource list, select the instances with UniAgents installed and choose UniAgent > Uninstall.
Figure 6 Uninstalling a UniAgent
- In the drawer that is displayed, click OK to trigger the automatic uninstallation process. Wait until the operation is complete.
Table 1 Parameters for installing a UniAgent Parameter
Description
Example Value
UniAgent Version
(Mandatory) Version of a UniAgent. Currently, version 1.0.9 is supported.
1.0.9
Host Access Mode
There are three access modes: Direct access (private network), Direct access (public network), and Proxy access.
- Direct access (intranet): intended for Huawei cloud hosts.
- Direct access (public network): intended for non-Huawei Cloud hosts.
- Proxy access: Select a proxy area where a proxy has been configured and remotely install the UniAgent on a host through the proxy.
Direct access (intranet)
Proxy Area
When Proxy access is selected, you need to select a proxy area.
An agent area is used to manage agents by category. A proxy is a Huawei Cloud ECS purchased and configured on Huawei Cloud to implement network communication between multiple clouds.
-
Installation Host
An installation host is used to execute commands for remote installation. This parameter is mandatory.
If no installation host has been configured, perform the following steps:
- Select Configure Installation Host from the drop-down list.
- Access the AOM service to configure the installation host.
-
Hosts About to Accommodate UniAgents
Detailed information about the host where the UniAgent is to be installed. This parameter is mandatory.
Specify the following information:
- Host IP Address: IP address of a host.
- OS: operating system of the host, which can be Linux or Windows
- Login Account: account for logging in to the host. For the Linux OS, using the root account is recommended so that you have sufficient read and write permissions.
- Login Port: port for accessing the host.
- Authentication Mode: Currently, only password-based authentication is supported.
- Password: password for logging in to the host.
- Connection Test Result: shows whether the network between the installation host and the host where the UniAgent is to be installed is normal.
- Operation: Test Connection
NOTE:The hosts that run Windows do not support connectivity tests.
-
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot