- 작성시간 : 2016/12/09 13:07
- 퍼머링크 : powerenter.egloos.com/11243158
- 덧글수 : 0
Linux 에서 HP 장비의 정보를 보고플때 아래와 같이 한다. 특히 RAID 5가 되는지 여부를 (기본으로는 RAID 1을 지원) 확인할때 캐쉬를 확인해야 하기 때문에 유용하게 사용 할 수 있다.
[root@lll ~]# hpacucli -help
CLI Syntax
A typical ACU CLI 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 ACU CLI command line is as follows:
A typical ACU CLI 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 ACU CLI command line is as follows:
<target> <command> [parameter=value]
<target> is of format:
[controller all|slot=#|wwn=#|chassisname="AAA"|
serialnumber=#|chassisserialnumber=#|ctrlpath=#:# ]
[array all|<id>]
[physicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]
[logicaldrive all|#]
[enclosure all|#:#|serialnumber=#|chassisname=#]
[licensekey all|<key>]
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.
Note 2: The chassisserialnumber is known in ACU as the
RAID Array Serial Number. The chassisname is known
in ACU as the RAID Array ID.
Note 3: ctrlpath=#:# maps to "smart enclosure hooked up to
host bus adapter slot:host bus adapter port"
[controller all|slot=#|wwn=#|chassisname="AAA"|
serialnumber=#|chassisserialnumber=#|ctrlpath=#:# ]
[array all|<id>]
[physicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]
[logicaldrive all|#]
[enclosure all|#:#|serialnumber=#|chassisname=#]
[licensekey all|<key>]
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.
Note 2: The chassisserialnumber is known in ACU as the
RAID Array Serial Number. The chassisname is known
in ACU as the RAID Array ID.
Note 3: ctrlpath=#:# maps to "smart enclosure hooked up to
host bus adapter slot:host bus adapter port"
Example targets:
controller slot=5
controller chassisname="Lab C"
controller serialnumber=P21DA2322S
controller chassisserialnumber=9J3CJN71XDCH
controller wwn=500308B300701011
controller slot=7 array A
controller slot=5 logicaldrive 5
controller slot=5 physicaldrive 1:5
controller slot=5 physicaldrive 1E:2:3
controller slot=5 enclosure 4E:1 show
controller slot=5 licensekey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
controller slot=5
controller chassisname="Lab C"
controller serialnumber=P21DA2322S
controller chassisserialnumber=9J3CJN71XDCH
controller wwn=500308B300701011
controller slot=7 array A
controller slot=5 logicaldrive 5
controller slot=5 physicaldrive 1:5
controller slot=5 physicaldrive 1E:2:3
controller slot=5 enclosure 4E: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 modify
help remove
help shorthand
help show
help target
help rescan
help version
help add
help create
help delete
help diag
help modify
help remove
help shorthand
help show
help target
help rescan
help version
Help also accepts commonly used CLI parameters and ACU keywords. Adding
additional keywords will further filter the help output. Examples:
help ssp (shows all ssp help including show and modify commands)
help ssp modify (restricts ssp help to only modify commands)
help migrate
help expand
help extend
help <keyword> <keyword> ... <keyword>
additional keywords will further filter the help output. Examples:
help ssp (shows all ssp help including show and modify commands)
help ssp modify (restricts ssp help to only modify commands)
help migrate
help expand
help extend
help <keyword> <keyword> ... <keyword>
Please note that beginning with ACU/ACUCLI version 8.55, the term
"stripe size" has been replaced by "strip size." This is a change
of labeling and does not signify a change in functionality. When
distributing data across multiple physical drives (striping) the
"strip size" is the amount of data that is written to each physical
drive. The "full stripe size" refers to the combined size of all
the strips across all physical drives, excluding parity-only drives.
"stripe size" has been replaced by "strip size." This is a change
of labeling and does not signify a change in functionality. When
distributing data across multiple physical drives (striping) the
"strip size" is the amount of data that is written to each physical
drive. The "full stripe size" refers to the combined size of all
the strips across all physical drives, excluding parity-only drives.
[root@mvnodev ~]# hpacucli show
Error: Expecting "controller" in target. Type "help" for more information.
[root@mvnodev ~]# hpacucli
HP Array Configuration Utility CLI 8.70-8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
HP Array Configuration Utility CLI 8.70-8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: 5001438008E3F6B0)
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (419.2 GB, RAID 1, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 450 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 450 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 450 GB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 5001438008E3F6BF)
=> ctrl all show config detail
Smart Array P410i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: 5001438008E3F6B0
Cache Serial Number: PBCDF0CRHZ722F
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: Rev C
Firmware Version: 6.64
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 1024 MB
No-Battery Write Cache: Disabled
Cache Backup Power Source: Capacitors
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True
Bus Interface: PCI
Slot: 0
Serial Number: 5001438008E3F6B0
Cache Serial Number: PBCDF0CRHZ722F
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: Rev C
Firmware Version: 6.64
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 1024 MB
No-Battery Write Cache: Disabled
Cache Backup Power Source: Capacitors
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True
Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK
Interface Type: SAS
Unused Space: 0 MB
Status: OK
Logical Drive: 1
Size: 419.2 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001C1FEDF853882652B4962F
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 196 MB, / 100.0 GB, /home 287.0 GB
OS Status: LOCKED
Logical Drive Label: A010A8EC5001438008E3F6B0E9E9
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 450 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 450 GB, OK)
Size: 419.2 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001C1FEDF853882652B4962F
Disk Name: /dev/cciss/c0d0
Mount Points: /boot 196 MB, / 100.0 GB, /home 287.0 GB
OS Status: LOCKED
Logical Drive Label: A010A8EC5001438008E3F6B0E9E9
Mirror Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 450 GB, OK)
Mirror Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 450 GB, OK)
physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 450 GB
Rotational Speed: 10000
Firmware Revision: HPD3
Serial Number: PNG99LKB
Model: HP EG0450FBDBT
Current Temperature (C): 36
Maximum Temperature (C): 46
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 450 GB
Rotational Speed: 10000
Firmware Revision: HPD3
Serial Number: PNG99LKB
Model: HP EG0450FBDBT
Current Temperature (C): 36
Maximum Temperature (C): 46
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
physicaldrive 1I:1:2
Port: 1I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 450 GB
Rotational Speed: 10000
Firmware Revision: HPD3
Serial Number: PNGNP0NZ
Model: HP EG0450FBDBT
Current Temperature (C): 36
Maximum Temperature (C): 46
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
Port: 1I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 450 GB
Rotational Speed: 10000
Firmware Revision: HPD3
Serial Number: PNGNP0NZ
Model: HP EG0450FBDBT
Current Temperature (C): 36
Maximum Temperature (C): 46
PHY Count: 2
PHY Transfer Rate: 6.0GBPS, Unknown
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250
Device Number: 250
Firmware Version: RevC
WWID: 5001438008E3F6BF
Vendor ID: PMCSIERA
Model: SRC 8x6G



덧글