본문 바로가기
IT/Server

hpacucli for Linux

by @__hansoo_ 2021. 1. 27.
728x90

hpacucli for Linux

 

fdisk -l 

# 드라이브 확인

 

mkdir /mnt/usb

# 마운트 포인트 생성

 

mount /dev/sda1 /mnt/usb

# USB 드라이브 마운트

 

rpm -Uvh

# hpacucli rpm 설치

 

umount /mnt/usb

# USB 드라이브 마운트 해제

 

find / -name hpacucli -print

# hpacucli 위치 확인

 

cat /proc/driver/cciss/cciss#

# HP RAID 확인

 

hpacucli

 

ctrl all show

# RAID 컨트롤 정보 확인

 

ctrl slot=0 ld all show

# 논리 드라이브 정보 확인

 

ctrl slot=0 ld all show status

# 논리 드라이브 상태 확인

 

ctrl slot=0 pd all show

# 물리 드라이브 정보 확인

 

ctrl slot=0 pd all show status

# 물리 드라이브 상태 확인

 

ctrl slot=0 show config

# 전체 요약 정보 확인

 

ctrl slot=0 show config detail

# 자세한 정보 확인

 

rescan

# 장치 탐지

 

rl slot=0 create type=ld drives=1:12 raid=0

# 1개의 드라이브를 RAID 0로 논리 드라이브 생성

 

ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1

# 2개의 드라이브를 RAID 1로 논리 드라이브 생성

 

ctrl slot=0 create type=ld drives=1:13,1:14,1:15 raid=5

# 3개의 드라이브를 RIAD 5로 논리 드라이브 생성

 

ctrl slot=0 ld 4 delete

# 4번째 논리 드라이브 삭제

 

ctrl slot=0 ld 4 add drives=2:3 # 드라이브 추가하여 논리 드라이브 확장

 

ctrl slot=0 ld 4 modify size=500 forced # 논리 드라이브 확장

 

ctrl slot=0 array all add spares=1:5,1:7 # 2개 예비용 드라이브 추가

 

ctrl slot=0 ld 4 modify reenable forced # 장애 드라이브 활성화

 

—————————————————————

 

hp-health 설치 ( hpasmcli)

#rpm -ivh hp-health-9.50-1628.32.rhel6.x86_64 

또는 

#yum install hp-health*  (hp-yum 설정시)

 

2.  실행

[root@localhost bin]# hpasmcli

HP management CLI for Linux (v2.0)

Copyright 2008 Hewlett-Packard Development Group, L.P.

 

--------------------------------------------------------------------------

NOTE: Some hpasmcli commands may not be supported on all Proliant servers.

      Type 'help' to get a list of all top level commands.

--------------------------------------------------------------------------

 

Failed to read embedded NIC status.

This system may not have any embedded NICs installed.

 

hpasmcli> 

 

hpasmcli> help

CLEAR  DISABLE  ENABLE  EXIT  HELP  NOTE  QUIT  REPAIR  SET  SHOW 

hpasmcli> show 

Invalid Arguments

SHOW ASR

SHOW BOOT

SHOW DIMM [ SPD ]

SHOW F1

SHOW FANS

SHOW HT

SHOW IML

SHOW IPL

SHOW NAME

SHOW PORTMAP

SHOW POWERMETER

SHOW POWERSUPPLY

SHOW PXE

SHOW SERIAL [ BIOS | EMBEDDED | VIRTUAL ]

SHOW SERVER

SHOW TEMP

SHOW TPM

SHOW UID

SHOW WOL

 

 

 

728x90

'IT > Server' 카테고리의 다른 글

시놀로지 나스(DS916+) 외부접속 구성하기  (0) 2021.04.06
Linux용 hpacucli 유틸리티 명령어  (0) 2021.01.27
Linux Lan port 확인  (0) 2021.01.27
linux 압축풀기  (0) 2017.01.10
Dell™ OpenManage™ Server Administrator  (0) 2017.01.05

댓글