Updated on 2023-10-17 GMT+08:00

Downloading Software

This section describes how to download and decompress the obsutil_adapter.zip software package.

Procedure

  1. Log in to a server as user root using a key or password.
  2. On the CLI, download the obsutil_adapter.zip package and decompress it to the /opt/huawei directory. The download address of software packages varies by region. For details, see Table 1. The CN-Hong Kong is used as an example here.

    wget https://obs-sap-ap-southeast-1.obs.https://obs-sap.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei

    Table 1 Required software package

    Name

    Description

    How to Obtain

    obsutil_adapter.zip

    Software package

    CN-Hong Kong: wget https://obs-sap-ap-southeast-1.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei

    AP-Bangkok: wget https://obs-sap-ap-southeast-2.obs.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei

    SA-Johannesburg: wget https://obs-sap-af-south-1.obs.af-south-1.myhuaweicloud.com/obsutil_adapter/obsutil_adapter.zip -P /opt/huawei

    cd /opt/huawei

    unzip obsutil_adapter.zip -d obsutil_adapter/

    • obsutil_adapter.py: Script to be uploaded and executed. This script calls obsutil.
    • obsutil_adapter.cfg: Configuration file of this script
    • obsutil: the obsutil client
    • The log directory is /var/log/huawei/obsutil_adapter.