Changes between Version 11 and Version 12 of LSIMegaRAID
- Timestamp:
- 09/01/08 11:30:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LSIMegaRAID
v11 v12 36 36 For the '''management''' side, you can you '''megamgr''', which is a '''proprietary''' utility from LSI. 37 37 38 == 3.1 megactl ==38 == 3.1. megactl == 39 39 40 40 === 3.1.1. Quickstart and output example === … … 54 54 * '''-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. 55 55 56 === 3.1.2 SAS support and periodic checks ===56 === 3.1.2. SAS support and periodic checks === 57 57 58 58 SAS support: … … 67 67 [[BR]]However, I already did this for you. See '''megaraid-status''' below. 68 68 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. 69 80 70 81 [[BR]]It '''emulates the controller BIOS''' from Linux, which is really nice. However, it cannot be used to script some actions. 71 82 [[BR]]That's why you need megactl for periodic health checks. 72 83 84 === 3.2.2. output example === 85 86 {{{ 87 server:~# megaraid-status 88 -- Arrays informations -- 89 -- ID Type Size Status 90 a0d0 RAID 5 273GiB optimal 91 92 -- Disks informations 93 -- ID Model Status 94 a0c0t0 SEAGATE ST3146807LC online 95 a0c0t1 SEAGATE ST3146807LC online 96 a0c0t2 SEAGATE ST3146807LC online 97 }}} 98 73 99 A '''Dell specific''' megamgr is also available. It's called '''dellmgr'''. 74 100 [[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'''. 75 101 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.