Help Center/ SAP Cloud/ Data Provider for SAP User Guide/ Installation/ Installing Data Provider on a Linux Cloud Server
Updated on 2022-12-08 GMT+08:00

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

  1. Log in to the cloud server as user root using a key or password.
  2. 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

  3. Run the following commands to install the software package:

    cd /opt/huawei

    rpm -ivh huawei_dataprovider_linux_x86_64.rpm

  4. 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.