Linux
1757700 회원
2434 온라인
108863 솔루션
새 메시지

ACU(Array Configuration Utility)관련 질문입니다.

 
한세진
조언자

ACU(Array Configuration Utility)관련 질문입니다.

안녕하십니까?

현재 DL580G2를 사용하고 있고 RedHat Linux Ent.4를 쓰고 있습니다.

RAID관련 사항을 볼수 있는 Tool을 확인하고 싶은데

ACU로 가능 한지 알고 싶습니다.(http://h18023.www1.hp.com/support/files/server/us/download/25235.html)

ACU가 가능하다면 메뉴얼이 있는지도 알고 싶습니다.

또 다른 Tool이 있는 지도 알고 싶습니다.



그럼 모두들 수고 하십시요^^
1 응답 1
신동인
비정기 조언자

답변: ACU(Array Configuration Utility)관련 질문입니다.

Smart Array Controller는 반드시 hpacucli툴을 이용해야 Linux상에서 상태를 볼 수 있습니다.

자세한 것은 아래 자료를 참고하세요.

※ HP ACUCLI 설치 및 사용방법

설치방법은 두 가지가 있음.

하나는 HP Integrity Essentials Foundation Pack for Linux Support Pack를 받아서 menu방식으로 설치하는 것
-------------------------------------------------------------------------------------------------------
1. HP Integrity Essentials Foundation Pack for Linux Support Pack를 다운받아 압축을 해제함.
   아래의 url에서 download 받을 수 있음.
   (http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=346361&lang=en&cc=us&taskId=135&prodClassId=-1&prodTypeId=15351&prodSeriesId=88837)
   # tar -xvf Supportpackxxxx.tar
2. 압축을 푼 디렉토리로 이동
   # cd SupportPackxxx
3. 쉘을 실행
   # ./install.sh
   1. Install HP Insight Manager Agents for IA-64 Linux
   2. Install HP System Management Homepage for Linux on the Itanium Processor
   3. Install nPartition Commands
   4. Install The nPartition Management GUI for HP Integrity servers.
   5. Install HP WBEM Providers for Linux
   6. Install HP Command Line Array Configuration Utility
   7. Install HP Utilization WBEM Provider
   8. Install MPT Fusion SAS Integrated RAID configuration utility
   9. Install The Open64 Compiler Suite v4.0
  10. Install everything and exit
  11. Exit.
  What do you want to install?
4. 메뉴에서 6번을 실행
  6번를 실행하면 필요한 모든 rpm들이 자동으로 설치됨.
5. 확인작업
  # hpacucli를 실행


하나는 아래의 순서에 의해 설치하는 방법임.
------------------------------------------
0. rpm kit구하는 방법

  hpacucli의 kit들은 아래의 url에서 Hardware별로 구할 수 있습니다.
  기본적으로 HP Integrity Essentials Foundation Pack for Linux Smart Setup CD에 들어 있으며
  hpmgmtbase도 CD에 들어 있지만 최근의 rpm를 구하기 위해서는 "HP management Base"를 확인하면됨.
 
  http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp?lang=en&cc=us&taskId=135&prodTypeId=15351&prodCatId=321933
  위 url에서 hardware를 선택 -> OS를 선택 -> kit 다운로드 실시
 

1. compat로 시작하는 rpm의 설치된 여부 확인
  (RHEL V3와 V4에서의 애래 rpm의 버젼은 다룰 수 있음.)
  [root@krcipf3 hpacu-cli]# rpm -qa | grep compat
  compat-gcc-c++-7.3-2.96.128
  compat-libstdc++-7.3-2.96.128
  compat-pwdb-0.62-3
  compat-gcc-7.3-2.96.128
  compat-db-4.0.14-5.1
  compat-libstdc++-devel-7.3-2.96.128
  compat-libstdc++-7.3-2.96.128
  compat-slang-1.4.5-5


2. 설치해야할 아래의 rpm이 설치되어 있는지 점검하고 없다면 설치, 있으면 넘어감.
   (RHEL V3와 V4에서의 애래 rpm의 버젼은 다룰 수 있음.)
   compat rpm은 없다면 redhat linux v4 CD4에 존재하니 찾아서 설치하면 됨
  [root@krcipf3 hpacu-cli]# ls -l compat*
  -rw-r--r--    1 root     root      3147042 Mar  9 14:40 compat-gcc-7.3-2.96.128.ia64.rpm
  -rw-r--r--    1 root     root      2546886 Mar  9 14:40 compat-gcc-c++-7.3-2.96.128.ia64.rpm
  -rw-r--r--    1 root     root       178658 Mar  9 14:40 compat-libstdc++-7.3-2.96.128.ia64.rpm
  -rw-r--r--    1 root     root       433577 Mar  9 14:40 compat-libstdc++-devel-7.3-2.96.128.ia64.rpm

  이미 설치되어 있을 경우 사항을 보여줌.
  [root@krcipf3 hpacu-cli]# rpm -Uvh --nodeps compat*
  warning: compat-gcc-7.3-2.96.128.ia64.rpm: V3 DSA signature: NOKEY, key ID db42a60e
  Preparing...                ########################################### [100%]
        package compat-libstdc++-devel-7.3-2.96.128 is already installed
        package compat-gcc-7.3-2.96.128 is already installed
        package compat-gcc-c++-7.3-2.96.128 is already installed
        package compat-libstdc++-7.3-2.96.128 is already installed


3. hp management base로 시작하는 rpm의 설치된 여부 확인
   (hpima와 hpacucli에서 반드시 필요한 사항임.)
   <-- X86과 X86_64 장비에서는 필요하지 않음

  [root@krcipf3 hpacu-cli]# rpm -qa | grep hpmgmtbase
  error: open of hpmgmtbase failed: No such file or directory
  설치되어 있지 않다면 아래의 설치를 실행하면 됨.

  [root@krcipf3 hpacu-cli]# rpm -Uvh --nodeps hpmgmtbase-1.8-5.rhel3.ia64.rpm   <---- RHEL V3의 경우
  Preparing...                ########################################### [100%]
     1:hpmgmtbase             ########################################### [100%]
  Please wait while data is cached...
  Start HP IPMI SEL daemon 'hpseld': [  OK  ]
  The hpmgmtbase RPM has installed successfully.

  [root@krcipf3 hpacu-cli]# rpm -Uvh --nodeps hpmgmtbase-2.5-21.rhel4.ia64.rpm  <---- RHEL V4의 경우
  Preparing...                ########################################### [100%]
     1:hpmgmtbase             ########################################### [100%]
  Using the IPMI modules and setup of package OpenIPMI
  Please wait while data is cached...
  Starting ipmi drivers: [  OK  ]
  Start HP IPMI SEL daemon 'hpseld': [  OK  ]
  The hpmgmtbase RPM has installed successfully.


4. hpacucli로 시작하는 rpm의 설치된 여부 확인
  [root@krcipf3 hpacu-cli]# rpm -qa | grep hpacu

  HP Array Configuration Utility Command level Interface 설치작업
  [root@krcipf3 hpacu-cli]# rpm -Uvh hpacucli-7.47-1.ia64.rpm              <---- RHEL V3의 경우
  [root@krcipf3 hpacu-cli]# rpm -Uvh hpacucli-7.65-6.ia64.rpm              <---- RHEL V4의 경우
  Preparing...                ########################################### [100%]
     1:hpacucli               ########################################### [100%]
  [root@krcipf3 hpacu-cli]# rpm -qa | grep hpacu
  hpacucli-7.47-1 <---- RHEL V3의 경우
  또는
  hpacucli-7.65-6 <---- RHEL V4의 경우
  [root@krcipf3 hpacu-cli]#


5. hpacucli 명령을 사용하여 smart array disk의 상황을 점검하면 됨.
  -> removed a disk :

  # hpacucli controller slot=4 logicaldrive all show status
    or hpacucli ctrl slot=4 ld all show status

  logicaldrive 1 (19.5 GB, 1+0): Interim Recovery.
  logicaldrive 2 (19.5 GB, 1+0): Interim Recovery.
  logicaldrive 3 (19.5 GB, 1+0): Interim Recovery.
  logicaldrive 4 (9.77 GB, 1+0): Interim Recovery.

  # hpacucli controller slot=4 physicaldrive all show status
    or hpacucli ctrl slot=4 pd all show status

  physicaldrive 2:0 (port 2:id 0, 73.4 GB): OK physicaldrive 2:2 (port 2:id 2, 0 Byte): Failed


  -> reinserted disk :

  # hpacucli controller slot=4 show

  Controller Smart Array 5300 in Slot 4
  Bus Interface: PCI
  Slot: 4
  Serial Number: P2313ABFF07FGN
  RAID 6 (ADG) Status: Disabled
  Controller Status: OK
  Chassis Slot: 1
  Hardware Revision: Rev A
  Firmware Version: 3.58
  Rebuild Priority: Low
  Expand Priority: Low
  Surface Scan Delay: 15 sec
  Cache Board Present: True
  Cache Status: OK
  Accelerator Ratio: 50/50 (read/write)
  Read Cache Size: 56 MB
  Write Cache Size: 56 MB
  Total Cache Size: 112 MB
  Battery Pack Count: 2
  Battery Status: OK


  -> 현재의 상태를 보여주는 명령:
  # hpacucli controller slot=4 physicaldrive all show status

  physicaldrive 2:0 (port 2:id 0, 73.4 GB): OK physicaldrive 2:2 (port 2:id 2, 73.4 GB): OK

  # hpacucli controller slot=4 logicaldrive all show status

  logicaldrive 1 (19.5 GB, 1+0): Rebuilding 66% complete logicaldrive 2 (19.5 GB, 1+0): Ready for recovery.
  logicaldrive 3 (19.5 GB, 1+0): Ready for recovery.
  logicaldrive 4 (9.77 GB, 1+0): Ready for recovery.

-> slot번호와 시리얼번호 확인방법
# hpacucli ctrl all show
  MSA1000 at Lab 4           (sn: P56350D9IP903J, wwn: 500805F3000BAC11)
  Smart Array 5312 in Slot 3 (sn: P4AB5X9BFMLNTJ)
  Smart Array 532 in Slot 2  (sn: P44940LDAORS4F)

 

Shorthand Symbols
-----------------
Shorthand symbols can be used wherever regular target and command keywords
are used in order to save keystrokes.
   aa = arrayaccelerator
   ai = adapterid
   ch = chassisname (also known as boxname or raidarrayid)
   cn = connectionname
   cr = cacheratio
   ctrl = controller
   dt = drivetype
   ep = expandpriority
   ld = logicaldrive
   pd = physicaldrive
   ps = parallelscsi
   rp = rebuildpriority
   ssd = surfacescandelay
   sn = serialnumber
   ss = stripesize
   td = tapedrive