HP Array Configuration Utility CLI

497 Wörter 3 Minuten Lesezeit

Das HP Array Configuration Utility - Command Line Interface (HPACUCLI) unter Debian installieren…

Version 7.40-7 herunterladen

wget ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpacucli-7.40-7.linux.rpm

Mit alien konvertieren

alien hpacucli-7.40-7.linux.rpm

Installieren

dpkg -i hpacu*.deb

u.U. benötigt man noch die richtige glibc Bibliothek

apt-get install libstdc++2.10-glibc2.2

Testen

test:~/hpacu# hpacucli
HP Array Configuration Utility CLI 7.40.7.0
Detecting Controllers...Done.
=> controller all show status
Smart Array 6i in Slot 0
 Controller Status: OK
 Cache Status: OK
 Battery Status: OK
=> controller slot=0 logicaldrive all show
Smart Array 6i in Slot 0
array A
 logicaldrive 1 (1.36 TB, 5, OK)
=> controller slot=0 logicaldrive all show status
logicaldrive 1 (1.36 TB, 5): Ok
=> ctrl slot=0 physicaldrive all show
Smart Array 6i in Slot 0
array A
 physicaldrive 1:2   (port 1:id 2 , Parallel SCSI, 300 GB, OK)
 physicaldrive 1:3   (port 1:id 3 , Parallel SCSI, 300 GB, OK)
 physicaldrive 1:4   (port 1:id 4 , Parallel SCSI, 300 GB, OK)
 physicaldrive 1:5   (port 1:id 5 , Parallel SCSI, 300 GB, OK)
 physicaldrive 2:0   (port 2:id 0 , Parallel SCSI, 300 GB, OK)
 physicaldrive 2:1   (port 2:id 1 , Parallel SCSI, 300 GB, OK)

Commands

  => help
  To enter the ACU CLI console type:
   [[hpacu]]cli
  Commands can also be executed from outside the
  ACU CLI console using the syntax:
   hpacucli <target> <command> [param[=value]]
  All targets, commands, parameters, and values must be entered in lowercase.
  The only exceptions to this are user-specified names, such as chassisname.
  <target> <command> [param[=value]]
  <target> is of format:
  [controller all|slot=#|wwn=#|chassisname="AAA"] [array all|<id>]
  [physicaldrive all|#:#:#|allunassigned] [logicaldrive all|#]
  Note: The first # in physicaldrive is only needed for systems that
        specify port:box:bay. Other physical drive targeting schemes 
        are box:bay and port:id.
  Example targets:
   controller all
   controller slot=5
   controller chassisname="Lab C"
   controller serialnumber=P21DA2322S
   controller wwn=500308B300701011
   controller slot=1 array all
   controller slot=7 array A
   ctrl slot=1 pd allunassigned
   controller slot=2 logicaldrive all
   controller slot=5 ld 5
   controller slot=5 physicaldrive 1:5
   controller slot=5 physicaldrive 1E:2:3
  <command> can be "create","delete","modify","show","rescan"
  For detailed command information type any of the following: 
   help add
   help create
   help delete
   help modify
   help remove
   help shorthand
   help show
   help target
   help rescan
  => help show   
  The show command outputs information about a device or a list of devices.
  <target> show [status] 
   <target> can be any valid target or group of targets.
   status is an optional parameter that displays status information for the 
   target element and its contained elements.
  <target> show [ssp] 
   <target> can be any valid controller.
   ssp is an optional parameter that displays ssp information for the specified
   controller.
  Examples:
   controller slot=5 show
   controller chassisname="Floor 2" show status
   controller all show
   controller all show status
   controller wwn=W4348483984 array A show
   controller slot=5 array all show
   controller slot=3 logicaldrive all show
   controller slot=3 logicaldrive all show status
   controller serialnumber=P21DA2322S logicaldrive 1 show
   controller slot=1 physicaldrive all show
   controller slot=1 array B physicaldrive all show
   controller slot=7 array A logicaldrive all show
   controller slot=7 physicaldrive allunassigned show
   controller slot=1 physicaldrive 1:0 show
   controller ch="Lab 9" show ssp

Hinweis: dieser Artikel ist ursprünglich im “InterTech Wiki” (www.intertech.at) erschienen.