Installing Data Provider on a Linux Cloud Server
Each time the cloud server starts, Data Provider automatically starts. You can start, stop, or restart Data Provider by following instructions provided in FAQs.
Prerequisites
Before installing Data Provider, you have configured time synchronization on the cloud servers to ensure that the system time on the servers is correct.
Procedure
- Log in to the cloud server as user root using a key or password.
- On the CLI, run the following command to download and decompress huawei_dataprovider_linux_x86_64.rpm:
Access the URL for your region. The following command uses the URL for CN-Hong Kong as an example:
wget https://obs-sap-ap-southeast-1.obs.ap-southeast-1.myhuaweicloud.com/dataprovider/huawei_dataprovider_linux_x86_64.rpm -P /opt/huawei
Table 1 Obtaining the required software package Name
Description
How to Obtain
huawei_dataprovider_linux_x86_64.rpm
Software installation package
CN-Hong-Kong: wget https://obs-sap-ap-southeast-1.obs.ap-southeast-1.myhuaweicloud.com/dataprovider/huawei_dataprovider_linux_x86_64.rpm -P /opt/huawei
AP-Bangkok: wget https://obs-sap-ap-southeast-2.obs.ap-southeast-2.myhuaweicloud.com/dataprovider/huawei_dataprovider_linux_x86_64.rpm -P /opt/huawei
AP-Singapore: wget https://obs-sap-ap-southeast-3.obs.ap-southeast-3.myhuaweicloud.com/dataprovider/huawei_dataprovider_linux_x86_64.rpm -P /opt/huawei
AF-Johannesburg: wget https://obs-sap-af-south-1.obs.af-south-1.myhuaweicloud.com/dataprovider/huawei_dataprovider_linux_x86_64.rpm -P /opt/huawei
- Run the following commands to install the software package:
cd /opt/huawei
rpm -ivh huawei_dataprovider_linux_x86_64.rpm
- Run the following command to check whether Data Provider is normal:
systemctl status hwdataproviderp3
If the command output is similar to the following figure where the value of Active is active (Running) Data Provider is normal.
- Run the wget http://localhost:8888/test command to view the monitoring data generated in the test file. The monitoring is functional if the values are not empty or not all values are 0.
- You can also run the following commands to view the log file:
cd /var/log/huawei/dataprovider/
ll
If the monitor.log and update.log log files are generated, Data Provider is normal.
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