Performing Operations on a UniAgent
You can install, upgrade, and uninstall a UniAgent on corresponding nodes.
Scenarios
Install, upgrade, and uninstall a UniAgent on corresponding nodes on COC.
Precautions
Such operations cannot be performed on nodes where UniAgents are abnormal.
Procedure
- Log in to COC.
- In the navigation pane on the left, choose Resources > Application and Resource Management. On the Resources tab page, select ECSs for which you want to install a UniAgent and click UniAgent and choose 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. On the Resources tab page, select ECSs for which you have installed a UniAgent and click UniAgent and choose Upgrade.
Figure 3 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 process. Wait until the operation is complete.
Figure 4 Parameters for upgrading a UniAgent
- In the navigation pane on the left, choose Resources > Application and Resource Management. On the Resources tab page, select ECSs for which you have installed a UniAgent and click UniAgent and choose Uninstall.
Figure 5 Uninstalling a UniAgent
- In the drawer that is displayed, click OK to trigger the automatic 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 a 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 UniAgent
(Mandatory) Detailed information about the host where the UniAgent is to be installed.
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