最新版の storcli をインストールするメモ

毎回忘れるのでメモ

[root@fedora ~]# uname -a
Linux fedora 5.15.16-200.fc35.x86_64 #1 SMP Thu Jan 20 15:38:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@fedora ~]# cat /etc/redhat-release 
Fedora release 35 (Thirty Five)

broadcom のページから最新バージョンを探す
今回は2022/01/26にリリースされてた007.2002.0000.0000 を入れる

STORCLI_SAS3.5_P22 をクリック
Click here to Download を右クリックしzip のURLを取得する。
今回は https://docs.broadcom.com/docs/STORCLI_SAS3.5_P22.zip となる
取得したurlをcurlしてunzipしてrpmでインストールするだけ

[root@fedora ~]# curl -OL https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_nvme_12g_p21/STORCLI_SAS3.5_P21.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32.5M  100 32.5M    0     0  10.3M      0  0:00:03  0:00:03 --:--:-- 10.3M
[root@fedora ~]# unzip STORCLI_SAS3.5_P21.zip 
Archive:  STORCLI_SAS3.5_P21.zip
  inflating: STORCLI_SAS3.5_P21/MR_SAS_Unified_StorCLI--007.2002.0000.0000.pdf  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/EFI/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/EFI/Debug/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/EFI/Debug/storcli.efi  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/EFI/storcli.efi  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Linux/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Linux/storcli-007.2002.0000.0000-1.aarch64.rpm  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Linux/storcli64.zip  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Linux/storcli64_007.2002.0000.0000_arm64.deb  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Windows/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ARM/Windows/StorCLI64.exe  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/EFI/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/EFI/Debug/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/EFI/Debug/storcli.efi  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/EFI/storcli.efi  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/FreeBSD/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/FreeBSD/storcli64.tar  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/JSON-Schema/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/JSON-Schema/JSON_SCHEMA_FILES.zip  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux/pubKey.asc  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux/splitpackage.sh  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux/storcli-007.2002.0000.0000-1.noarch.rpm  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/BigEndian/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/BigEndian/storcli64.zip  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/LittleEndian/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/LittleEndian/storcli64.zip  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux-PPC/LittleEndian/storcli64_007.2002.0000.0000_ppc64el.deb  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/readme.txt  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/storcliconf.ini  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/ThirdPartyLicenseNotice.pdf  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Ubuntu/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Ubuntu/storcli_007.2002.0000.0000_all.deb  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/VMwareOP/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/VMwareOP/bulletin.xml  
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/VMwareOP/vmware-storcli.vib  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/VMwareOP64/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/VMware/VMwareOP64/VMWare-ESXi7.0-StorCLI.zip  
   creating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Windows/
  inflating: STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Windows/storcli64.exe  
[root@fedora ~]# cd STORCLI_SAS3.5_P21/univ_viva_cli_rel/Unified_storcli_all_os/Linux/
[root@fedora Linux]# ll
total 2108
-rw-r--r--. 1 root root    1727 Sep 13 17:38 pubKey.asc
-rw-r--r--. 1 root root    4043 Jun 15  2018 splitpackage.sh
-rw-r--r--. 1 root root 2149664 Oct 11 13:25 storcli-007.2002.0000.0000-1.noarch.rpm
[root@fedora Linux]# rpm -ivh storcli-007.2002.0000.0000-1.noarch.rpm 
warning: storcli-007.2002.0000.0000-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID cb529165: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:storcli-007.2002.0000.0000-1     ################################# [100%]
[root@fedora ~]# /opt/MegaRAID/storcli/storcli64 -v

      StorCli SAS Customization Utility Ver 007.2002.0000.0000 Oct 11, 2021

    (c)Copyright 2021, Broadcom Inc. All Rights Reserved.



[root@fedora ~]#