| 184 | |
| 185 | === 3.3.3. Periodic checks === |
| 186 | |
| 187 | You can write your own script around megacli to check your adapter status health periodically. |
| 188 | However, I already did this for you. See megaclisas-status below. |
| 189 | |
| 190 | == 3.4. megaclisas-status == |
| 191 | |
| 192 | === 3.4.1. About megaraid-status === |
| 193 | |
| 194 | '''megaclisas-status''' is a wrapper script around '''megacli''' that report summarized RAID status with periodic checks feature. |
| 195 | [[BR]]It is available in the packages repository too. |
| 196 | |
| 197 | The packages comes with a python wrapper around megacli and an initscript that '''periodic''' run this wrapper to '''check status'''. |
| 198 | [[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''. |
| 199 | [[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''. |
| 200 | [[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours. |
| 201 | |
| 202 | === 3.4.2. Wrapper output example === |
| 203 | |
| 204 | {{{ |
| 205 | server:~# megaclisas-status |
| 206 | -- Controller informations -- |
| 207 | -- ID | Model |
| 208 | c0 | PERC 5/i Integrated |
| 209 | |
| 210 | -- Arrays informations -- |
| 211 | -- ID | Type | Size | Status | InProgress |
| 212 | c0u0 | RAID1 | 238G | Optimal | None |
| 213 | |
| 214 | -- Disks informations |
| 215 | -- ID | Model | Status |
| 216 | c0u0p0 | ATA ST3250620NS 3BKH 5QE4PW70 | Online |
| 217 | c0u0p1 | ATA WDC WD2500YS-18S6C07 WD-WCANY3450500 | Online |
| 218 | }}} |
| 219 | |
| 220 | = 3.5. About /dev/megaraid_sas_ioctl_node == |
| 221 | |
| 222 | All theses tools requires this device node to be created. |
| 223 | [[BR]]It has to be done by hand. |
| 224 | |
| 225 | Proprietary tools creates the device node at startup. |
| 226 | [[BR]]I made some wrappers around binaries from megactl package to create the node if it doesn't exist yet. |
| 227 | |
| 228 | [[BR]] |
| 229 | = 4. BIOS upgrade from a Linux system = |
| 230 | |
| 231 | Dell cards can be flashed using firmware-tools. |
| 232 | [[BR]]See http://linux.dell.com/wiki/index.php/Repository/firmware for more informations. |
| 233 | [[BR]]However this will only work on !RedHat, CentOS, SuSE and Fedora. Even Ubuntu is listed in the wikipage, LSI card upgrade is not supported. |
| 234 | [[BR]]We use a Fedora 8 nfsroot booted by PXE to update our Dell's firmware running Debian. |
| 235 | |
| 236 | We don't have any informations yet about upgrading non-Dell cards. |
| 237 | |
| 238 | [[BR]][[BR]] |