본문 바로가기

리눅스

HP ssacli를 다운로드하고 설치하는 방법(raid)

728x90

HP ssacli를 다운로드하고 설치하는 방법

HP Smart Storage Administrator (ssacli)는 HPE (Hewlett Packard Enterprise) 서버 및 스토리지 시스템을 관리하기 위한 명령 줄 도구입니다. 이 도구는 RAID 컨트롤러 및 스토리지 어레이를 설정하고 모니터링하는 데 사용됩니다.

 

참고: ssacli는 HPE ProLiant 서버와 HPE Smart Array RAID 컨트롤러에서 사용할 수 있습니다. HPE 이외의 하드웨어 제조업체에서는 지원되지 않을 수 있습니다.

Repository Listing

https://downloads.linux.hpe.com/SDR/repo/mcp/centos

  • Smart Storage Administrator (ssacli) 다운로드
  • Array Configuration Utility(acucli) 다운로드

테스트 환경

$ cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

CentOS 8에 ssacli tools 설치

작업 디렉토리로 이동

cd /usr/local/src

ssacli RPM 다운로드

wget https://downloads.linux.hpe.com/SDR/repo/mcp/centos/8/x86_64/current/ssacli-4.17-6.0.x86_64.rpm

ssacli 설치

dnf install -y ssacli-4.17-6.0.x86_64.rpm

설치 확인

ssacli version

ssacli 명령 사용

ssacli ctrl all show config
$ ssacli ctrl all show config

Smart Array P420i in Slot 0 (Embedded)    (sn: 0014153319EAB10)

   Internal Drive Cage at Port 1I, Box 2, OK

   Internal Drive Cage at Port 2I, Box 0, OK

   Port Name: 1I

   Port Name: 2I

   Array A (SAS, Unused Space: 0  MB)

      logicaldrive 1 (1.64 TB, RAID 5, OK)

      physicaldrive 1I:2:1 (port 1I:box 2:bay 1, SAS HDD, 900 GB, OK)
      physicaldrive 1I:2:2 (port 1I:box 2:bay 2, SAS HDD, 900 GB, OK)
      physicaldrive 1I:2:3 (port 1I:box 2:bay 3, SAS HDD, 900 GB, OK)

   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380  (WWID: 50111380319EAB1F)
728x90

CentOS 7에 ssacli tools 설치

다운로드 링크 : https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/12.20/ 

테스트 환경

$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
$ getconf LONG_BIT
64

작업 디렉토리로 이동

cd /usr/local/src

ssacli(ssacli-5.10-44.0.x86_64.rpm)패키지 다운로드

wget https://downloads.linux.hpe.com/SDR/repo/mcp/centos/7/x86_64/12.20/ssacli-5.10-44.0.x86_64.rpm

ssacli 설치

yum install -y ssacli-5.10-44.0.x86_64.rpm

ssacli 명령 사용

ssacli ctrl all show config
$ ssacli ctrl all show config

Smart HBA H240ar in Slot 0 (Embedded) (RAID Mode)  (sn: PTNLN1BRH9Z2BP)

   Internal Drive Cage at Port 1I, Box 3, OK

   Internal Drive Cage at Port 2I, Box 0, OK

   Port Name: 1I

   Port Name: 2I

   Array A (Solid State SATA, Unused Space: 0  MB)

      logicaldrive 1 (372.56 GB, RAID 5, OK)

      physicaldrive 1I:3:1 (port 1I:box 3:bay 1, SATA SSD, 200 GB, OK)
      physicaldrive 1I:3:2 (port 1I:box 3:bay 2, SATA SSD, 200 GB, OK)
      physicaldrive 1I:3:3 (port 1I:box 3:bay 3, SATA SSD, 200 GB, OK)

 

ssacli ctrl slot=0 pd all show
$ ssacli ctrl slot=0 pd all show

Smart Array P420i in Slot 0 (Embedded)

   Array A

      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS HDD, 300 GB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS HDD, 300 GB, OK)

 

ssacli ctrl slot=0 pd 1I:1:1 show detail
$ ssacli ctrl slot=0 pd 1I:1:1 show detail

Smart Array P420i 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: 300 GB
         Drive exposed to OS: False
         Logical/Physical Block Size: 512/512
         Rotational Speed: 10000
         Firmware Revision: HPDC
         Serial Number: KFH4300R
         WWID: 5000CCA0543FD101
         Model: HP      EG0300FBVFL
         Current Temperature (C): 38
         Maximum Temperature (C): 43
         PHY Count: 2
         PHY Transfer Rate: 6.0Gbps, Unknown
         PHY Physical Link Rate: Unknown, Unknown
         PHY Maximum Link Rate: Unknown, Unknown
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
         Sanitize Erase Supported: False
         Shingled Magnetic Recording Support: None

레이드 구성(raid 1)

ssacli ctrl all show config

 

ssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4 raid=1
$ ssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4 raid=1

Warning: Controller cache is disabled. Enabling logical drive cache will not take effect until this has been resolved.

 

ssacli ctrl all show config

 

728x90