From 5e9896523d6a4568c8a31c93d893773c81b47989 Mon Sep 17 00:00:00 2001 From: vlaborie Date: Thu, 9 Mar 2017 15:16:40 +0100 Subject: [PATCH] Mise a jour en Debian Jessie --- ServeurHP/RAID.md | 114 ++++++++++++++++++++++------------------------ 1 file changed, 54 insertions(+), 60 deletions(-) diff --git a/ServeurHP/RAID.md b/ServeurHP/RAID.md index c0a99980..1fd55ddc 100644 --- a/ServeurHP/RAID.md +++ b/ServeurHP/RAID.md @@ -1,92 +1,86 @@ -**Cette page a été importée automatiquement de notre ancien wiki mais n'a pas encore été révisée.** +--- +categories: bios raid +title: Serveur HP / RAID +... ## Accéder au BIOS -Appuyer sur F8 au bon moment : +Appuyer sur F9 au bon moment -# Installer l'utilitaire - -Tout d'abord, en 64bits, installer les librairies de compatibilité 32bits : +## Installer l'utilitaire ~~~ -root@~> aptitude install ia32-libs +# echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ jessie/current non-free" > /etc/apt/sources.list.d/hp.list +# curl https://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add - +# curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add - +# curl https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add - +# apt update +# apt install hp-health hpssacli ~~~ -Une fois fait, on va télécharger leur utilitaire. Dans le code source de [page](http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=1121486&swItem=MTX-799829d8271f455d9367978b5a&prodNameId=3288144&swEnvOID=4033&swLang=8&taskId=135&mode=4&idx=1|cette) trouvez le chemin exact pour le récupérer avec _wget_ (au moment où je rédige ces lignes, le chemin est ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1976866454/v55141/HP_ProLiant_Value_Add_Software-8.25-19-12.iso). +## Récupérer les informations des disques -Téléchargez l'ISO sur le serveur : +Récapitulatif des disques virtuel et physiques : ~~~ -root@~> wget ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p1976866454/v55141/HP_ProLiant_Value_Add_Software-8.25-19-12.iso +# hpssacli ctrl all show config [detail] + +Smart Array P440ar in Slot 0 (Embedded) (sn: PDNLH0BRH8B0XM) + + Port Name: 1I + + Port Name: 2I + + Internal Drive Cage at Port 1I, Box 1, OK + + Internal Drive Cage at Port 2I, Box 0, OK + array A (SAS, Unused Space: 0 MB) + + logicaldrive 1 (558.7 GB, RAID 1+0, OK) + + physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK) + physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK) + physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 300 GB, OK) + physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 300 GB, OK) ~~~ -Ensuite, monter l'ISO pour récupérer le paquet et l'installer (adapter à la version et l'architecture) : - -~~~ -root@~> mkdir hp_cd -root@~> mount -o loop HP_ProLiant_Value_Add_Software-8.25-19-12.iso hp_cd -root@~> cp hp_cd/pool/non-free/hpacucli_8.28-13.0.10-9_amd64.deb /tmp -root@~> cd /tmp -root@/tmp/> dpkg -i hpacucli_8.28-13.0.10-9_amd64.deb -~~~ - -Voilà, l'utilitaire est installé ! - - -# Récupérer les informations des disques - Pour récupérer les informations sur le tableau RAID, on commence d'abord par connaître le n° de tableau dans lequel se trouve notre disque -~~~ -root@~> hpacucli -=> ctrl all show config -Smart Array P400i in Slot 0 (Embedded) (sn: PH78MV8884 ) - - array A (SAS, Unused Space: 0 MB) - - logicaldrive 1 (136.7 GB, RAID 1, Interim Recovery Mode) - - physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK) - physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, Failed) -~~~ On voit bien le tabeau RAID avec l'ID 0, et deux disques physiques qui composent notre disque logique, dont l'un des deux est noté *Failed* Ensuite, pour trouver le n° de série du disque, on prend sont ID de disque physique (1I:1:2) et on demande ses informations dans le tabeau RAID 0 + ~~~ -=> controller slot=0 physicaldrive 1I:1:2 show +# hpssacli controller slot=0 physicaldrive 1I:1:2 show -Smart Array P400i in Slot 0 (Embedded) +Smart Array P440ar in Slot 0 (Embedded) - array A (Failed) + array A physicaldrive 1I:1:2 Port: 1I Box: 1 Bay: 2 - Status: Failed + Status: OK Drive Type: Data Drive Interface Type: SAS - Size: 146 GB - Rotational Speed: 10000 - Firmware Revision: HPD5 - Serial Number: 3NM27MPQ00009750M7C4 - Model: HP DG146ABAB4 - PHY Count: 1 - PHY Transfer Rate: 3.0GBPS + Size: 300 GB + Drive exposed to OS: False + Native Block Size: 512 + Rotational Speed: 15000 + Firmware Revision: HPD2 + Serial Number: 0TG8T4GP + Model: HP EH0300JDYTH + Current Temperature (C): 41 + Maximum Temperature (C): 52 + PHY Count: 2 + PHY Transfer Rate: 12.0Gbps, Unknown + Drive Authentication Status: OK + Carrier Application Version: 11 + Carrier Bootloader Version: 6 + Sanitize Erase Supported: False ~~~ -Pour avoir plus de détails : - -~~~ -=> ctrl all show config detail - -Smart Array P410i in Slot 0 (Embedded) - Bus Interface: PCI - Slot: 0 -[...] -~~~ - - -# Mettre à jour le firmware +## Mettre à jour le firmware Récupérer le firmware sur le support HP, il s'agit d'un script BASH auto-extractible. Executez-le et suivez les instructions. \ No newline at end of file