User Tools

Site Tools


computers:megaraid_megacli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:megaraid_megacli [2010/07/05 13:02] chkuocomputers:megaraid_megacli [2011/01/07 00:38] (current) – [MegaRAID MegaCli] chkuo
Line 1: Line 1:
 ====== MegaRAID MegaCli ====== ====== MegaRAID MegaCli ======
-MegaCli is a command line tool provided by MegaRAID to configure/monitor their hardware RAID controllers. Currently all hard drives on [[computers:oak|Oak]] are controlled by a MegaRAID SAS 8708EM2 w/ 256Mb RAM.+MegaCli is a command line tool provided by MegaRAID to configure/monitor their hardware RAID controllers. Currently all hard drives on [[user:oak|Oak]] are controlled by a MegaRAID SAS 8708EM2 w/ 256Mb RAM.
  
 ===== Installation ===== ===== Installation =====
-MegaCli is available as a RPM for RedHat Linux. For installation on Ubuntu+MegaCli is available as a RPM for RedHat Linux from [[http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/value_line/megaraid_sas_8708em2/index.html|LSI MegaRAID 8708EM2]]. The file name is: **4.00.11_Linux_MegaCLI.zip**
  
-**masker is working on this part**+For installation on Ubuntu, first we need to install ''alien'' for package format conversion: 
 +<code bash> 
 +$ sudo apt-get install alien 
 +</code> 
 + 
 +There are two possible ways to perform the actual installation: 
 + 
 +==== 1. masker ==== 
 +<code bash> 
 +$ unzip 4.00.11_Linux_MegaCLI.zip 
 +Archive:  4.00.11_Linux_MegaCLI.zip 
 + extracting: MegaCliLin.zip           
 +  inflating: 4.00.11_Linux_MegaCLI.txt  
 +$ unzip MegaCliLin.zip 
 +Archive:  MegaCliLin.zip 
 +  inflating: MegaCli-4.00.11-1.i386.rpm   
 +$ alien -g MegaCli-4.00.11-1.i386.rpm 
 +.... 
 +Directories MegaCli-4.00.11 and MegaCli-4.00.11.orig prepared. 
 +$ mv MegaCli-4.00.11/debian MegaCli-4.00.11/DEBIAN 
 +$ vi MegaCli-4.00.11/DEBIAN control 
 +</code> 
 + 
 +Change ** Orignal "control" ** 
 +<file> 
 +Source: megacli 
 +Section: alien 
 +Priority: extra 
 +Maintainer: MyName 
 + 
 +Package: megacli 
 +Architecture: i386 
 +Depends: ${shlibs:Depends} 
 +Description: MegaCli SAS RAID Management Utility. 
 + MegaCli is used to manage SAS RAID controllers. 
 + . 
 + (Converted from a rpm package by alien version 8.79.) 
 +</file> 
 + 
 +to ** Modified "control" ** 
 +<file> 
 +Source: megacli 
 +Section: alien 
 +Priority: extra 
 +Maintainer: MyName 
 +Package: megacli 
 +Architecture: amd64 
 +Depends:  
 +Description: MegaCli SAS RAID Management Utility. MegaCli is used to manage SAS RAID controllers. 
 +Version: 4.00.11 
 +</code> 
 +(including blank line) 
 +<code> 
 +$ dpkg -b MegaCli-4.00.11 
 +$ sudo dpkg -i MegaCli-4.00.11.deb 
 +</file> 
 + 
 +==== 2. chkuo ==== 
 +<code bash> 
 +$ sudo alien --to-tgz MegaCli-4.00.11-1.i386.rpm  
 +$ tar -xvfz MegaCli-4.00.11.tgz  
 +</code>
  
 ===== Usage ===== ===== Usage =====
Line 41: Line 102:
  
 ==== To Replace a Hard Drive ==== ==== To Replace a Hard Drive ====
 +**WARNING: The following procedure has not been verified yet!!**
 +
 The example here assumes that the one of the physical hard drive (Enclosure 252, Slot 6, Adapter 0; marked as Physical Disk 2 in Span Reference 0x00) has failed and needs to be replaced. The example here assumes that the one of the physical hard drive (Enclosure 252, Slot 6, Adapter 0; marked as Physical Disk 2 in Span Reference 0x00) has failed and needs to be replaced.
  
computers/megaraid_megacli.1278306158.txt.gz · Last modified: 2010/07/05 13:02 by chkuo