원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++




어플리케이션 설치 확인

# esxcli software vib list | grep Hewlett-Packard

hpssacli                       1.60.17.0-5.5.0.1198610                Hewlett-Packard  PartnerSupported  2014-07-10



HP SSACLI 설치

  - HP site 에서 HP Proliant Smart Array Controller Driver for VMware ESXi  를 다운로드 받아 아래의 커맨드로 설치한다.

 # esxicli software vib install -v /tmp/다운받은파일명.vib



커맨드 예제


* 어플리케이션 위치 /opt/hp/hpssacli/bin


Show configuration
# hpssacli ctrl all show config


Controller status
# hpssacli ctrl all show status


Show detailed controller information for all controllers
# hpssacli ctrl all show detail


Show detailed controller information for controller in slot 0
# hpssacli ctrl slot=0 show detail


Rescan for New Devices
# hpssacli rescan


Physical disk status
# hpssacli ctrl slot=0 pd all show status


Show detailed physical disk information
# hpssacli ctrl slot=0 pd all show detail


Logical disk status
# hpssacli ctrl slot=0 ld all show status


View Detailed Logical Drive Status
# hpssacli ctrl slot=0 ld 2 show


Create New RAID 0 Logical Drive
# hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0


Create New RAID 1 Logical Drive
# hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1


Create New RAID 5 Logical Drive
# hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5


Delete Logical Drive
# hpssacli ctrl slot=0 ld 2 delete


Add New Physical Drive to Logical Volume
# hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7


Add Spare Disks
# hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7


Enable Drive Write Cache
# hpssacli ctrl slot=0 modify dwc=enable


Disable Drive Write Cache
# hpssacli ctrl slot=0 modify dwc=disable


Erase Physical Drive
# hpssacli ctrl slot=0 pd 2I:1:6 modify erase


Turn on Blink Physical Disk LED
# hpssacli ctrl slot=0 ld 2 modify led=on


Turn off Blink Physical Disk LED
# hpssacli ctrl slot=0 ld 2 modify led=off


Modify smart array cache read and write ratio (cacheratio=readratio/writeratio)
# hpssacli ctrl slot=0 modify cacheratio=100/0


Enable smart array write cache when no battery is present (No-Battery Write Cache option)
# hpssacli ctrl slot=0 modify nbwc=enable


Disable smart array cache for certain Logical Volume
# hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable


Enable smart array cache for certain Logical Volume
# hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable


Enable SSD Smart Path
# hpssacli ctrl slot=0 array a modify ssdsmartpath=enable


Disable SSD Smart Path
# hpssacli ctrl slot=0 array a modify ssdsmartpath=disable






번호 제목 글쓴이 날짜 조회 수
50 HP rx2660서버에서 H/W RAID 구성하기 ischo 2019.10.04 2301
49 특정계정만 ssh 접속 불가 sftp 만 접속 가능한 환경 만들기 ischo 2019.05.09 2241
48 HP-UX 환경에서 접근제어 사용하기 조인상 2016.06.02 14634
47 HP rp시리즈에서 mirror(lv-copy) 된 디스크 교체 : replace disk in mirror vg [1] 조인상 2016.05.18 21952
46 bdf의 결과를 GB단위로 보여주는 스크립트 [1] 조인상 2015.10.27 9994
» Vmware ESXI 환경에서 HP Smart Array CLI 사용하기 - command 예제 조인상 2015.07.29 9158
44 VG00 의 mirror 상태 점검 스크립트 조인상 2015.06.12 5771
43 HP-UX에 JDK 1.5 설치 file 조인상 2013.10.15 20027
42 HP-UX Web Server Suite Installation guide file 조인상 2013.09.11 12541
41 Event Monitoring Service - Event Log path 조인상 2013.07.03 12130
40 HP-UX에 gcc 설치 조인상 2013.04.11 19380
39 장비 H/W미러링 장치 확인 및 미러상태 점검 [1] 조인상 2013.02.25 26455
38 해당 포트를 열고 있는 프로세스 확인방법. netstat, lsof 조인상 2012.09.20 33435
37 시리얼 케이블 제작방법 조인상 2012.06.27 12865
36 HP Integrated Lights-Out User Guide [1] file 조인상 2012.03.14 13355
35 HP iLO 설정 및 라이센스 발급 방법 조인상 2012.03.14 16179
34 <queue max run limit reached / 대기행렬의 최대 실행 한계에 도달했습니다> 에러 발생시. 조인상 2012.02.29 16512
33 HP DAT Drive Manual file 조인상 2012.01.03 14186
32 DAT tape drive 인식 작업 조인상 2011.12.28 24503
31 HP0-P20 CSA-HPUX 11i v3 : HP-UX System Administrator’s Guide: Configuration Management file 조인상 2011.11.25 20717
서버에 요청 중입니다. 잠시만 기다려 주십시오...