CentOS: управление аппаратным RAID контроллером HP - Справочник Манимейкера или Народные ссылки



CentOS: управление аппаратным RAID контроллером HP

Для управления аппаратным raid-контроллером HP P410 и не только этим контроллером из консоли CentOS, существует утилита hpacucli.

RPM можно скачать с оф.сайта HP или для CentOS 6 воспользоваться следующей инструкцией:

# wget h t t p://mirror.datapipe.net/pub/hptools/rhel/6/hpacucli-8.60-8.0.noarch.rpm

# yum install glibc.i686 libgcc.i686 libstdc++.i686

# rpm -ihv hpacucli-8.60-8.0.noarch.rpm

Linux - hpacucli

 

Utility Keyword abbreviations
Abbreviations chassisname = ch
controller = ctrl
logicaldrive = ld
physicaldrive = pd
drivewritecache = dwc
hpacucli utility
hpacucli # hpacucli

# hpacucli help

Note: you can use the hpacucli command in a script
Controller Commands
Display (detailed) hpacucli> ctrl all show config
hpacucli> ctrl all show config detail
Status hpacucli> ctrl all show status
Cache hpacucli> ctrl slot=0 modify dwc=disable
hpacucli> ctrl slot=0 modify dwc=enable
Rescan hpacucli> rescan

Note: detects newly added devices since the last rescan
Physical Drive Commands
Display (detailed) hpacucli> ctrl slot=0 pd all show
hpacucli> ctrl slot=0 pd 2:3 show detail

Note: you can obtain the slot number by displaying the controller configuration (see above)
Status

hpacucli> ctrl slot=0 pd all show status
hpacucli> ctrl slot=0 pd 2:3 show status

Erase hpacucli> ctrl slot=0 pd 2:3 modify erase
Blink disk LED hpacucli> ctrl slot=0 pd 2:3 modify led=on
hpacucli> ctrl slot=0 pd 2:3 modify led=off
Logical Drive Commands
Display (detailed) hpacucli> ctrl slot=0 ld all show [detail]
hpacucli> ctrl slot=0 ld 4 show [detail]
Status hpacucli> ctrl slot=0 ld all show status
hpacucli> ctrl slot=0 ld 4 show status
Blink disk LED hpacucli> ctrl slot=0 ld 4 modify led=on
hpacucli> ctrl slot=0 ld 4 modify led=off
re-enabling failed drive hpacucli> ctrl slot=0 ld 4 modify reenable forced
Create # logical drive - one disk
hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0

# logical drive - mirrored
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1

# logical drive - raid 5
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5

Note:
drives - specific drives, all drives or unassigned drives
size - size of the logical drive in MB
raid - type of raid 0, 1 , 1+0 and 5
Remove hpacucli> ctrl slot=0 ld 4 delete
Expanding hpacucli> ctrl slot=0 ld 4 add drives=2:3
Extending hpacucli> ctrl slot=0 ld 4 modify size=500 forced
Spare hpacucli> ctrl slot=0 array all add spares=1:5,1:7

Народная ссылка для регистрации:

CentOS: управление аппаратным RAID контроллером HP

Категории:

Поделитесь этой записью или добавьте в закладки

   






Комментировать





Другие материалы и статьи
» Рекламный брокер "Globo Clicks": Подключившись к партнерской программе вы получите возможность заработать, рекламируя десятки крупн...
» Сервис web-рекламы "Pr rE": Хочу представить сеть веб-рекламы с оплатой за результат и за показы.Сервис осуществялет покупку и прод...
» CentOS: mod_perl, directadmin: Mod_perl -- это С модуль Apache, реализующий Perl интерпретатор + набор Perl модулей, предост...
» Биржа покупки и продажи ссылок "Fat Link": Один из старейших проектов, на котором осуществляется покупка и продажа прямых ссылок. Система нач...
» Партнерская программа интернет-магазина Клуб Красоты: Данная партнерская программа идеально подойдет для сайтов и порталов с женской, мужской, спортивной тем...

Категории