반응형
HP 서버 스토리지 정보 확인(raid)
- Smart Storage Administrator (ssacli)
- 패키지명 : ssacli-4.21-7.0.x86_64.rpm
- Array Configuration Utility(acucli)
- 패키지명 : hpssacli-2.40-13.0.x86_64.rpm
패키지 설치
yum install -y ssacli-4.21-7.0.x86_64.rpm
컨트롤러 명령어
컨트롤러 정보 확인 명령어
- 컨트롤러의 정보 표시
hpssacli ctrl all show config
$ hpssacli ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: 5001412324380123E5)
Port Name: 1I
Port Name: 2I
Internal Drive Cage at Port 1I, Box 1, OK
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (136.7 GB, RAID 1, OK)
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, OK)
- 컨트롤러의 세부 정보 표시
hpssacli ctrl all show config detail
- 컨트롤러의 상태 표시
hpssacli ctrl all show status
$ hpssacli ctrl all show status
Smart Array P410i in Slot 0 (Embedded)
Controller Status: OK
물리적 드라이브 명령어
- 디스크 정보 확인
hpssacli ctrl slot=0 pd all show
$ hpssacli ctrl slot=0 pd all show
Smart Array P410i in Slot 0 (Embedded)
array A
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, OK)
- 디스크(1I:1:1) 상세 정보 확인
hpssacli ctrl slot=0 pd 1I:1:1 show detail
$ hpssacli ctrl slot=0 pd 1I:1:1 show detail
Smart Array P410i in Slot 0 (Embedded)
array A
physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Drive exposed to OS: False
Native Block Size: 512
Rotational Speed: 15000
Firmware Revision: HPD3
Serial Number: 6XM2GHQV0000B3409CS4
Model: HP EH0146FBQDC
Current Temperature (C): 40
Maximum Temperature (C): 45
PHY Count: 2
PHY Transfer Rate: 6.0Gbps, Unknown
Sanitize Erase Supported: False
- 디스크 상태 확인
hpssacli ctrl slot=0 pd all show status
$ hpssacli ctrl slot=0 pd all show status
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 146 GB): OK
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 146 GB): OK
728x90
논리적 드라이브 명령어
- 레이드 정보 확인
hpssacli ctrl slot=0 ld all show
hpssacli ctrl slot=0 ld 1 show
$ hpssacli ctrl slot=0 ld 1 show
Smart Array P410i in Slot 0 (Embedded)
array A
logicaldrive 1 (136.7 GB, RAID 1, OK)
- 레이드 상태 확인
hpssacli ctrl slot=0 ld all show status
hpssacli ctrl slot=0 ld 1 show status
$ hpssacli ctrl slot=0 ld 1 show status
logicaldrive 1 (136.7 GB, 1): OK
ssacli 사용법
$ ssacli help
CLI Syntax
A typical SSACLI command line consists of three parts: a target device,
a command, and a parameter with values if necessary. Using angle brackets to
denote a required variable and plain brackets to denote an optional
variable, the structure of a typical SSACLI command line is as follows:
<target> <command> [parameter=value]
<target> is of format:
[controller all|slot=#|serialnumber=#]
[array all|<id>]
[physicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]
[ssdphysicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]
[logicaldrive all|#]
[enclosure all|#:#|serialnumber=#]
[licensekey all|<key>]
[ssdinfo]
[tapedrive all]
Note 1: The #:#:# syntax is only needed for systems that
specify port:box:bay. Other physical drive targeting
schemes are box:bay and port:id.
Example targets:
("CN0" is a sample port name that may be different depending on the
controller)
controller slot=5
controller serialnumber=P21DA2322S
controller slot=7 array A
controller slot=5 logicaldrive 5
controller slot=5 physicaldrive 1:5
controller slot=5 physicaldrive CN0:2:3
controller slot=5 ssdphysicaldrive all
controller slot=5 tapedrive all
controller slot=5 enclosure CN0:1 show
controller slot=5 licensekey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
For detailed command information type any of the following:
help add
help create
help delete
help diag
help flash
help heal
help modify
help remove
help shorthand
help show
help target
help rescan
help version
Encryption related commands:
help ctrlpasswdstate
help clearencryptionconfig
help encode
help encrypt
help enableencryption
help encryption
help eula
help fwlock
help import
help instantsecureerase
help localkeymanagermode
help login
help logout
help recoverpassword
help rekey
help remotekey
help removectrlpasswd
help rescankeys
help setmasterkeycache
help setctrlpasswd
help setpasswd
help setrecoveryparams
help unlockvolumes
Help also accepts commonly used CLI parameters and SSA keywords. Adding
additional keywords will further filter the help output. Examples:
help migrate
help expand
help extend
help <keyword> <keyword> ... <keyword>
support.hpe.com > 드라이버 및 소프트웨어 > Linux 64비트용 HPE 스마트 스토리지 관리자(HPE SSA) CLI
참고URL
- HP Smart Array CLI commands : https://scbyun.com/565
728x90
반응형
'리눅스' 카테고리의 다른 글
[Apache] 웹서버에서 http를 https(SSL)로 리다이렉트하는 방법 (0) | 2020.12.18 |
---|---|
CentOS End of Lifetime (EOL) Dates (0) | 2020.12.16 |
[Apache] 아파치 액세스 로그 설정 (0) | 2020.12.15 |
[Apache] apache 다운로드 대역폭 속도 제한 (1) | 2020.12.15 |
rsync를 사용하여 SSH를 통해 파일을 복사하는 방법 (1) | 2020.12.14 |