'hpacucli'에 해당되는 글 1건

  1. 2014/04/23 또비 hpacucli 활용

hpacucli 활용

Linux/Etc RSS Icon ATOM Icon 2014/04/23 23:39 또비

hpacucli : HP array 관리툴

hpacucli 패키지 설치.


사용법
#hpacucli
>ctrl all show config -> 많이 활용

>ctrl all show status -> 컨트롤러 보기

>ctrl slot=0 show config -> slot 0 컨트롤러의 디스크상태확인

>ctrl slot=0 create type=ld drives=1:2 raid=0 -> 0슬롯의 1:2디스크를 레이드0으로 잡기

>ctrl slot=0 ld 2 delete -> 0슬롯의 logicaldrive 2번을 삭제.
혹은
>ctrl slot=0 logicaldrive 2 delete

>ctrl slot=0 physicaldrive 4C:1:2 modify led=on  -> 디스크 LED 켜서 확인하는 방법


*predictive failure 상태의 디스크를 logical volume에서 빼고 안전하게 교체하기
#hpacucli ctrl slot=1 array A remove drives=1:8
#hpacucli ctrl slot=1 pd 1:8 modify led=on
디스크를 교체한 후
#hpacucli ctrl slot=1 array A add drives=1:8
이후 자동으로 리빌딩이 진행되는지 확인.


*Logical Drive 가 failed 났을때 복구방법
#hpacucli
>ctrl slot=0 ld 2 modify reenable forced  // 0번 컨트롤러의 2번 ld 를 복구.
>exit
#partprobe // 파티션 변경을 inform 함.


쉘에서 사용
#hpacucli ctrl all show config   //  구성확인

#hpacucli ctrl all show status   // 간단하게 캐시등 확인

#hpacucli ctrl all show detail   // 컨트롤러,캐시,배터리등의 상세정보.

#hpacucli ctrl slot=0 show config detail  // 캐시메모리 용량등 상세확인




2014/04/23 23:39 2014/04/23 23:39
트랙백 53, 댓글이 없습니다.

댓글+트랙백 RSS :: http://simfarm.kr/bohem/rss/response/13

댓글+트랙백 ATOM :: http://simfarm.kr/bohem/atom/response/13