#hpacucli HP Array Configuration Utility CLI 7.15.19.0 Detecting Controllers...Done. Type "help" for a list of supported commands. Type "exit" to close the console. => help 【ヘルプ機能】 To enter the ACU CLI console type: hpacucli Commands can also be executed from outside the ACU CLI console using the syntax: hpacucli [param[=value]] [param[=value]] is of format: [controller all|slot=#|wwn=#|chassisname="AAA"] [array all|] [physicaldrive all|#:#|allunassigned] [logicaldrive all|#] 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 0:5 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 add 【ヘルプ機能 - ADD 】 The add command adds a physicaldrive or spare to the specified array or logicaldrive. Adding physicaldrives is the same as expanding an array. add [drives=#:#,#:#,...|allunassigned] [spares=#:#,#:#,...|allunassigned] [forced] The forced keyword represses warning message prompts. can be any valid individual array or logicaldrive target Examples: controller slot=5 array A add drives=1:0,1:1,1:3 controller slot=5 array A add spares=allunassigned drivetype=parallelscsi logicaldrive 1 add drives=1:8 => help create 【ヘルプ機能 - CREATE 】 The create command supports creation of logical drives. Where allowed, the '?' keyword queries the current capabilities. Only one query can be issued at a time. Create Logical Drive: create type=logicaldrive [drives=#:#,#:#,...|all|allunassigned] [raid=ADG|5|1+0|1|0|?] [size=#|?] [stripesize=8|16|32|64|128|256|default|?] [sectors=32|63|?] [arrayaccelerator=enable|disable] [drivetype=sas|satalogical|sata|saslogical|parallelscsi] can be a controller or an array in the system [drives=#:#,#:#,...|all|allunassigned] The physical drives to be used for a new array for the new logical drive. This parameter only needs to be specified if the target does not include an array. #:# is SCSI port:id. all or allunassigned uses all physical drives from the controller that are not currently in an array. [raid=ADG|5|1+0|1|0|?] [stripesize=8|16|32|64|128|256|default|?] Sets the raid level and stripesize of the logicaldrive. The implied units of stripesize are KB. If not specified, the default raid is the highest level possible. [size=#|?] The size of the logical drive. The implied units are MB. If not specified, the default is the max size possible. [sectors=32|63|?] The sectors per track of the logical drive. If not specified, the default is 32. [arrayaccelerator=enable|disable] the array accelerator state for the logical drive. If not specified, the default is enable. [drivetype=sas|satalogical|sata|saslogical|parallelscsi] If there are multiple drive types when selecting all physicaldrives, the desired drive type needs to be specified. Mixed drives are not allowed on the same array or logicaldrive. If all drive types in a controller are the same this parameter is not needed. Examples: ctrl slot=1 create type=ld drives=0:1,1:2,1:3,1:5 raid=ADG controller slot=1 create type=logicaldrive drives=all raid=5 drivetype=parallelscsi controller slot=5 array A create type=logicaldrive raid=5 size=1000 controller slot=1 array C create type=logicaldrive raid=1 size=50 stripesize=32 Query Examples: controller slot=1 create type=ld drives=0:1,1:2,1:3,1:5 raid=? controller slot=1 create type=ld drives=0:1,1:2,1:3,1:5 stripesize=? controller slot=1 create type=ld drives=0:1,1:2,1:3,1:5 raid=1 stripesize=? controller slot=1 create type=ld drives=0:1,1:2,1:3,1:5 raid=1 size=? controller slot=1 create type=ld drives=0:1,1:2,1:3,1:5 raid=1 sectors=? => help delete 【ヘルプ機能 - DELETE 】 The delete command deletes part of an existing configuration delete [forced] can be any valid individual controller, array or logical drive target. If the forced command is not present, the user will be prompted before deletion. If the forced command is present there will be no prompt. WARNING: Deleting an array can cause other array letters to become renamed. E.g. Deleting array A from arrays A,B,C will result in two remaining arrays A,B ... not B,C Examples: controller slot=5 delete controller slot=5 array A delete forced controller slot=1 logicaldrive 2 delete => help modify 【ヘルプ機能 - MODIFY 】 The modify command changes the existing configuration. Where allowed, the '?' keyword queries the current capabilities. Only one query can be issued at a time. modify [command] [rebuildpriority=high|medium|low] sets the rebuild priority for the controller can be any valid individual controller target [expandpriority=high|medium|low] sets the expand priority for the controller can be any valid individual controller target [cacheratio=#/#|?] sets the array accelerator cache ratio for the controller. The first # is the read cache %. The second # is the write cache %. can be any valid individual controller target [ssp=on|off] Turn ssp on or off. depends on whether your controller supports controller or logicaldrive centric ssp. For controller centric ssp, specify the controller. For logicaldrive centric ssp, specify the logicaldrive. To determine what type of ssp you have, use the show command on a controller target supporting ssp. [mask|unmask=#,#,...|all|none] mask/unmask specified adapterid's or connection names for ssp. ssp must be enabled before mask/unmask can be set. To view available adapterid and connectionname options see the show ssp command. # is the adapterid or connectionname can be any valid logicaldrive target. [adapterid=#] [connectionname=ABC] Changes the connectionname for a specified adapter id Reset the back to the default by specifing connectionname="" can be any valid controller target supporting ssp [adapterid=#] [hostmode=ABC|?] Changes the hostmode for a specified adapter id. To set a hostmode, a connectionname must already exist. can be any valid controller target supporting hostmodes [arrayaccelerator=enable|disable] Enables or disables the arrayaccelerator for a given logicaldrive can be any valid logicaldrive target on a controller that supports arrayaccelerator management. [reenable] [forced] Re-enables a failed logicaldrive. Re-enabling the selected logicaldrive will allow the logicaldrive to be used again. Any previously existing data on the logicaldrive may not be valid or recoverable. forced represses the warning prompt. can be any valid logicaldrive target [surfacescandelay=#] sets the surface scan delay for the controller, where # is between 1 and 30 sec can be any valid individual controller target [spares=#:#,#:#,...|none] specifies the drives or to be used for spares on an array. #:# is SCSI port:id. can be any valid individual array or logicaldrive target [raid=0|1+0|1|4|5|ADG|?] [stripesize=8|16|32|64|128|256|default|?] Migrates the specified logicaldrive to desired raid level and stripesize. The implied units of stripesize are KB. can be any valid logical drive target [size=#|max|?] Extends the logical drive to the specified size. The implied units are MB. max will extend the logicaldrive to its maximum size. can be any valid logical drive target [led=on|off] Flashes specified device's leds. can be any valid individual device target [chassisname="ABC"] Sets the chassisname of the controller. The term chassisname is also known as boxname as well as raid array id. If the chassisname has a space character in it, the chassisname needs to be enclosed in double quotes. Ex. chassisname="Free Bird" Reset the back to the default by specifing chassisname="" can be any valid controller target that supports a chassis name Examples: controller slot=5 modify rebuildpriority=high controller slot=5 modify expandpriority=low controller slot=1 modify cacheratio=25/75 ctrl chassisname="Lab B" modify ssp=on ctrl chassisname="Lab B" ld 1 modify unmask=P44940LDAORS4F controller slot=1 modify surfacescandelay=20 controller slot=5 array A modify spares=0:2,0:5,1:7 controller slot=3 logicaldrive 2 modify arrayaccelerator=enable controller slot=1 array B modify led=on controller slot=1 logicaldrive 1 modify size=12000 controller slot=1 ld 1 modify reenable controller wwn=W4348483984 logicaldrive 1 modify raid=1 stripesize=64 controller serialnumber=P21DA2322S modify chassisname="Lab B" controller ch="Lab 3a" modify adapterid=P44940LDAORS4F connectionname="Linux 3" Query Examples: controller slot=1 modify cacheratio=? controller slot=1 ld 1 modify size=? controller wwn=W4348483984 ld 1 modify raid=? ctrl wwn=W4348483984 ld 1 modify raid=1 stripesize=? controller ch="Lab 3a" modify adapterid=P44940LDAORS4F connectionname=? Other modification commands: Expand array: see "help add" Deleting devices: see "help delete" Create logicaldrive: see "help create" => help remove 【ヘルプ機能 - REMOVE 】 The remove command allows you to remove one or more spares from a specified array. remove [spares=#:#,#:#,...|all] can be any valid individual array Examples: ctrl slot=3 array A remove spares=1:10,1:11,1:12,1:13 ctrl slot=3 array A remove spares=all => help shorthand 【ヘルプ機能 - SHORTHAND 】 Shorthand symbols can be used wherever regular target and command keywords are used in order to save keystrokes. Shorthand symbols are: 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 => help show 【ヘルプ機能 - SHOW 】 The show command outputs information about a device or a list of devices. show [status] 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. show [ssp] 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 => help target 【ヘルプ機能 - TARGET 】 The target command allows you to set the once and implicitly use it without having to enter it again. This command is not supported outside of the ACU CLI console. set target Sets the implicit target. can be any valid target. The implicit target will only be used if no is entered in subsequent commands. The implicit target can be used until it is cleared. clear target Clears the implicit target. After this call, must be entered upon every command as usual. show target Shows the contents of the implicit target. Examples: set target controller slot=5 array A clear target show target => help rescan 【ヘルプ機能 - RESCAN 】 The rescan command detects newly added controllers rescan => =>