Changes between Version 11 and Version 12 of LSIMegaRAID


Ignore:
Timestamp:
09/01/08 11:30:45 (16 years ago)
Author:
Adam Cécile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSIMegaRAID

    v11 v12  
    3636For the '''management''' side,  you can you '''megamgr''', which is a '''proprietary''' utility from LSI.
    3737
    38 == 3.1 megactl ==
     38== 3.1. megactl ==
    3939
    4040=== 3.1.1. Quickstart and output example ===
     
    5454  * '''-B''': Ignore batttery problems when running -H.[[BR]]In fact megactl can define if your controller has a battery or not.[[BR]]If you don't have one, use this parameter.
    5555
    56 === 3.1.2 SAS support and periodic checks ===
     56=== 3.1.2. SAS support and periodic checks ===
    5757
    5858SAS support:
     
    6767[[BR]]However, I already did this for you. See '''megaraid-status''' below.
    6868
     69== 3.2. megaraid-status ==
     70
     71=== 3.2.1. About ===
     72
     73'''megaraid-status' is a wrapper script around megactl with periodics checks.
     74[[BR]]It is available in the packages repository too.
     75
     76[[BR]]The packages comes with a python wrapper around megactl and an initscript that '''periodic''' run this wrapper to '''check status'''.
     77[[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''.
     78[[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''.
     79[[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours.
    6980
    7081[[BR]]It '''emulates the controller BIOS''' from Linux, which is really nice. However, it cannot be used to script some actions.
    7182[[BR]]That's why you need megactl for periodic health checks.
    7283
     84=== 3.2.2. output example ===
     85
     86{{{
     87server:~# megaraid-status
     88-- Arrays informations --
     89-- ID   Type    Size    Status
     90a0d0    RAID 5  273GiB  optimal
     91
     92-- Disks informations
     93-- ID   Model                   Status
     94a0c0t0  SEAGATE ST3146807LC     online
     95a0c0t1  SEAGATE ST3146807LC     online
     96a0c0t2  SEAGATE ST3146807LC     online
     97}}}
     98
    7399A '''Dell specific''' megamgr is also available. It's called '''dellmgr'''.
    74100[[BR]]Despites both megamgr and dellmgr seems to work on Dell megaraid-based RAID cards, I would advice you to '''use dellmgr on Dell hardware'''.
    75101
    76 A wrapper script with periodics checks is available in the packages repository too. Its name is '''megaraid-status'''.
    77 [[BR]]The packages comes with a python wrapper around megactl and an initscript that '''periodic''' run this wrapper to '''check status'''.
    78 [[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''.
    79 [[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''.
    80 [[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours.