Storcli: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Created page with "'''StorCLI''' is a command line tool for the administration of '''MegaRAID Controllers''' and the '''successor of MegaCLI.''' More background and overall introduction is available [https://docs.broadcom.com/doc/12352476 this old document] == Install storcli under Ubuntu == Download the latest version of storecli from [https://www.broadcom.com/site-search?q=megacli Broadcom URL] then unzip the zip file. Unzip will create folder name Unified_storcli_all_os to support v...")
 
Line 4: Line 4:


== Install storcli under Ubuntu ==
== Install storcli under Ubuntu ==
Download the latest version of storecli from [https://www.broadcom.com/site-search?q=megacli Broadcom URL] then unzip the zip file.


Unzip will create folder name Unified_storcli_all_os to [[support]] various version of operating system.
# Download the latest version of storecli from [https://www.broadcom.com/site-search?page=1&per_page=100&q=storcli&sort_direction[pages]=desc&sort_field[pages]=updated_at Broadcom URL] then unzip the zip file.
 
# Unzip will create folder name storcli_rel and this folder containes Unified_storcli_all_os.zip
For Ubuntu, move to Unbuntu folder under the unzipped folder name Unified_storcli_all_os, e.g, Unified_storcli_all_os/Ubuntu
# Again, unzip Unified_storcli_all_os.zip under the storcli_rel folder then it creates Unified_storcli_all_os folder which contains installable package to [[support]] various version of operating system.
 
# For Ubuntu, move to Unbuntu folder under the unzipped folder name Unified_storcli_all_os, e.g, Unified_storcli_all_os/Ubuntu
Install Debian packages. By default, storcli64 executable file will be installed at  /opt/MegaRAID/storcli/storcli64<syntaxhighlight lang="bash">
# Install Debian packages. By default, storcli64 executable file will be installed at  /opt/MegaRAID/storcli/storcli64
$ sudo dpkg -i storcli_007.2007.0000.0000_all.deb  #example to install deb package
<syntaxhighlight lang="bash">
$ sudo dpkg -i storcli_rel/Unified_storcli_all_os/Ubuntu/*.deb  #example to install deb package


# To verify storcli installation
# To verify storcli installation
Line 18: Line 18:
# Default storcli command will be installed at By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64
# Default storcli command will be installed at By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64


</syntaxhighlight>Administrator can add /opt/MegaRAID/storcli/storcli64 to $PATH or create symbolic link to exist $PATH such as /usr/local/bin
</syntaxhighlight>


* Administrator can add /opt/MegaRAID/storcli/storcli64 to $PATH or create symbolic link to exist $PATH such as /usr/local/bin


HPCMATE storage system has symbolic link at /usr/loca/bin/storcli -> /opt/MegaRAID/storcli/storcli64  
* HPCMATE storage system has symbolic link at /usr/loca/bin/storcli -> /opt/MegaRAID/storcli/storcli64
== Create RAID volume using storcli ==


== References ==
== References ==
<references />
<references />

Revision as of 12:52, 20 July 2023

StorCLI is a command line tool for the administration of MegaRAID Controllers and the successor of MegaCLI.

More background and overall introduction is available this old document

Install storcli under Ubuntu

  1. Download the latest version of storecli from Broadcom URL then unzip the zip file.
  2. Unzip will create folder name storcli_rel and this folder containes Unified_storcli_all_os.zip
  3. Again, unzip Unified_storcli_all_os.zip under the storcli_rel folder then it creates Unified_storcli_all_os folder which contains installable package to support various version of operating system.
  4. For Ubuntu, move to Unbuntu folder under the unzipped folder name Unified_storcli_all_os, e.g, Unified_storcli_all_os/Ubuntu
  5. Install Debian packages. By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64
$ sudo dpkg -i storcli_rel/Unified_storcli_all_os/Ubuntu/*.deb   #example to install deb package

# To verify storcli installation
$dpkg -l | grep -i storecli 

# Default storcli command will be installed at By default, storcli64 executable file will be installed at /opt/MegaRAID/storcli/storcli64
  • Administrator can add /opt/MegaRAID/storcli/storcli64 to $PATH or create symbolic link to exist $PATH such as /usr/local/bin
  • HPCMATE storage system has symbolic link at /usr/loca/bin/storcli -> /opt/MegaRAID/storcli/storcli64

Create RAID volume using storcli

References