HP Microsoft Windows Server 2003 for Itanium-based Systems CLI syntax, Keyword abbreviations

Page 44

The remaining examples in this chapter are described as if entered in Console mode.

CLI syntax

Whether entered in Command mode or Console mode, 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]

The <target> variable

This variable provides the path to a target device. The device can be a controller, an array, a logical drive, or a physical drive.

For example:

controller slot=3

controller wwn=500805F3000BAC11 controller serialnumber=P56350D9IP903J controller slot=3 array A

controller chassisname="A" array A logicaldrive 2 controller chassisname="A" physicaldrive 1:0

You can also specify that an operation be performed on several similar devices at the same time.

For example:

controller all

controller slot=3 logicaldrive 2

The <command> variable

The <command> variable can be any of the following words or phrases:

add create delete help modify remove rescan set target show

Some commands require a parameter, and some parameters require a value. The descriptions of the commands in the rest of this chapter provide examples of some usable parameters and variables for those cases that need them.

Keyword abbreviations

Several commonly used keywords in the ACU CLI have acceptable abbreviations, as shown in the following table.

Keyword

Abbreviation in

Keyword

Abbreviation in

 

ACU CLI

 

ACU CLI

 

 

 

 

adapterid

ai

logicaldrive

ld

 

 

 

 

arrayaccelerator

aa

parallelscsi

ps

 

 

 

 

cacheratio

cr

physicaldrive

pd

 

 

 

 

Using the Command Line Interface 44

Image 44
Contents HP Array Configuration Utility User Guide Audience assumptions Contents Diagnosing array problems Features and system requirements Installing ACUGetting started This sectionComparison of ACU execution modes Overview for using ACUSetting the execution mode for Microsoft Windows Opening ACU in Local Application mode Choosing an operating modeOpening ACU in Browser mode Http//servername2301Opening ACU through Systems Insight Manager Select Device QueriesTypical Standard mode screen GUI operating modesTypical Configuration Wizards mode screen Completing the configuration process Typical Express Configuration mode screenPossible tasks in Standard Configuration mode Configuring a new controllerUsing Standard Configuration mode Using Express Configuration mode Using the configuration wizards Creating an arrayClick Finish Click Create an array, and then click BeginConfiguring a new controller Creating a logical drive Click Create a logical drive, and then click BeginConfiguring a new controller Choices available after opening ACU Modifying an existing configurationModifying a configuration using Standard Configuration mode Modifying a configuration using Express mode Modifying a configuration using the Configuration wizardsClear Configuration Click Express Configuration, and then click BeginCreate an array Controller settingsClick Controller Settings, and then click Begin Create a logical drive Delete arrays Click Delete logical drives, and then click Begin Delete logical drivesExpand Array Extend logical drive Migrate a logical driveClick Extend logical drive, and then click Begin Click Migrate a logical drive, and then click BeginSpare management Selective Storage PresentationRA4x00 controllers Click Spare Management, and then click BeginMSA and Smart Array Cluster storage controllers Configuring switches Click ACU Switch ConfigurationSplitting a mirrored array Recombining a split, mirrored arrayModifying an existing configuration Command line syntax Scripting in ACUIntroduction to scripting in ACU Operating modesSample custom input script Cpqacuxe -i FilenameScript file options Description of option categories in ACU scriptingControl category Controller categoryAction MethodClearConfigurationWithDataLoss ControllerLicenseKey, DeleteLicenseKey RAIDArrayIDSurfaceScanDelay Array categoryRebuildPriority, ExpandPriority SSPStateLogical Drive category OnlineSpareDrive LogicalDriveSize SectorsStripeSize ArrayAcceleratorError reporting SSPAdaptersWithAccessConnectionName HostModeACU scripting error messages 0-9, !, @, #, *, , , ,, -, , +, , ., /, and space. The ID Current configuration Running the CLI Using the Command Line InterfaceOverview of the ACU CLI Command variable CLI syntaxKeyword abbreviations Target variableTypical procedures Example commandHiding warning prompts Querying a deviceSample scenario SyntaxExample Example commandsModifying the controller chassis name Using Selective Storage Presentation Sample scenarioModifying connection names Managing host modes connection profilesDeleting target devices Identifying devicesExpanding an array Extending a logical driveTarget modify raid=01+0156adg? ss=8163264128256default? Managing spare drivesMigrating a logical drive Target modify size=#max? forcedChanging the controller cache ratio Changing the Rebuild Priority settingChanging the Expand Priority setting Enabling or disabling the drive cache Changing the surface scan delay timeRe-enabling a failed logical drive Setting the target Enabling or disabling the array acceleratorDisabling a redundant controller Typical scenarioRescanning the system = rescanProbability of logical drive failure Factors involved in logical drive failureProbability of logical drive failure Drive arrays and fault-tolerance methods Drive arraysDrive arrays and fault-tolerance methods Fault-tolerance methods Hardware-based fault-tolerance methodsDisadvantages RAID 0-No fault toleranceAdvantages RAID 1+0-drive mirroring RAID 5-distributed data guarding RAID 6 ADG-Advanced Data GuardingComparing the hardware-based RAID methods RAID RAID 6 ADGAlternative fault-tolerance methods Selecting a RAID methodDiagnosing array problems Diagnostic toolsServer Diagnostics Post messagesAcronyms and abbreviations SSP Index Index