应用身份管理服务 ONEACCESS-云桥配置:校验云桥Agent软件包完整性

时间:2024-05-08 15:58:27

校验云桥Agent软件包完整性

文中软件包版本号为示例,请以实际为准。

  1. 使用PuTTY/FTP等工具连接待部署服务器,以root用户登录待部署服务器,使用SFTP工具将云桥Agent软件包和对应的SHA256文件上传到待部署服务器,执行ll查看已上传的软件包和校验文件。

    [root@cluster-test-eq9ku xxx]# ll
    total 75724
    -rw-r--r-- 1 root root 32696037 Dec  1 16:12 cloudAgent-authSource-23.12.1.1.zip
    -rw-r--r-- 1 root root      101 Dec  1 16:11 cloudAgent-authSource-23.12.1.1.zip.sha256
    -rw-r--r-- 1 root root 44832098 Dec  1 16:12 cloudAgent-identitySource-23.12.1.1.zip
    -rw-r--r-- 1 root root      105 Dec  1 16:11 cloudAgent-identitySource-23.12.1.1.zip.sha256

  2. 执行以下命令校验网关软件包完整性,当回显信息显示OK,表明完整性校验成功。

    sha256sum -c cloudAgent-identitySource-23.12.1.1.zip.sha256

    [root@cluster-test-eq9ku xxx]#  sha256sum -c cloudAgent-identitySource-23.12.1.1.zip.sha256
    cloudAgent-identitySource-23.12.1.1.zip: OK

    sha256sum -c cloudAgent-authSource-23.12.1.1.zip.sha256

    [root@cluster-test-eq9ku xxx]# sha256sum -c cloudAgent-authSource-23.12.1.1.zip.sha256
    cloudAgent-authSource-23.12.1.1.zip: OK

    如果完整性校验不通过,则软件包可能在下载过程中损坏,请重新下载或联系华为工程师解决。

support.huaweicloud.com/usermanual-oneaccess/oneaccess_03_0067.html