Rate This Document
Findability
Accuracy
Completeness
Readability

Upgrading the Software

To upgrade OmniShuffle, you need to obtain the software package, verify the package integrity, and then perform the upgrade procedure.

Obtaining the Software Package

Download the OmniShuffle software package from the Huawei support website.

Verifying the Software Package Integrity

After downloading a software package from the Kunpeng community, verify the software package to ensure that it is consistent with the original one on the website.

Verify the software packages as follows:

  1. Obtain the digital certificate and software.
  2. Obtain the verification tool and method from the following link:
  3. Verify the package integrity by following the procedure described in the OpenPGP Signature Verification Guide obtained from the URL.

Upgrade Procedure

  1. Store the software package in the upper-level directory of $OCK_HOME.
  2. Go to a directory on which the user has the write permission, for example, $OCK_HOME/logs.
    cd $OCK_HOME/logs
  3. View the upgrade help information.
    $OCK_HOME/ucache/24.0.0/linux-aarch64/bin/upgrade -h
    usage: upgrade [arguments] upgrade package.
    Example:
            ./upgrade -o [PACKAGE_NANE]
    Arguments:
            -o                  Followed by the name of the downloaded package to upgrade.
            -h or --help        Give this help list.
            -v or --version     Print version info.
  4. Start the upgrade.
    $OCK_HOME/ucache/24.0.0/linux-aarch64/bin/upgrade -o BoostKit-omnishuffle_1.4.0.tar.gz
  5. When the upgrade binary file is invoked, the verification binary file is invoked to verify the signature of the software package. You can also invoke the verification binary file separately as required.
    1. Decompress the software package.
      tar -zxvf /home/BoostKit-omnishuffle_1.4.0.tar.gztar -zxvf BoostKit-omnishuffle_1.4.0.tar.gz
      BoostKit-omnishuffle_1.4.0/
      BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz
      BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz.cms
      BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz.txt
      BoostKit-omnishuffle_1.4.0/omnishufflePlugins_openeuler-aarch64.tar.gz
      BoostKit-omnishuffle_1.4.0/omnishufflePlugins_openeuler-aarch64.tar.gz.cms
      BoostKit-omnishuffle_1.4.0/omnishufflePlugins_openeuler-aarch64.tar.gz.txt
      BoostKit-omnishuffle_1.4.0/omnishuffleUtils_euleros-aarch64.tar.gz
      BoostKit-omnishuffle_1.4.0/omnishuffleUtils_euleros-aarch64.tar.gz.cms
      BoostKit-omnishuffle_1.4.0/omnishuffleUtils_euleros-aarch64.tar.gz.txt
    2. In the directory where the user has the write permission, invoke the binary file to verify the signature.
      ${OCK_HOME}/ucache/24.0.0/linux-aarch64/bin/verification BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz.cms BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz.txt
      ULOG_Init ret 0
      Starting to verify BoostKit-omnishuffle_1.4.0/omnishuffleCache_openeuler-aarch64.tar.gz...
      Verify the source file passed.
      Verify the sha file passed.
  6. Query the version.
    • Run the following command to check the upgrade version:
      $OCK_HOME/ucache/24.0.0/linux-aarch64/bin/upgrade [--version/-v]
    • Run the following command to check the verification version:
      $OCK_HOME/ucache/24.0.0/linux-aarch64/bin/verification --version