HP Microsoft Windows Server 2003 for Itanium-based Systems manual Sample custom input script

Page 32

If you do not specify a capture file name, ACU gives the file the default name of ACUCAPT.INI and places it in the ACU working directory.

In Input mode:

cpqacuxe -i FILENAME

If you do not specify an input file name, ACU gives the file the default name ACUINPUT.INI and places it in the ACU working directory.

If any errors occur during either process, these errors are noted in the file ERROR.INI that is logged to the default working directory.

Sample custom input script

The following script gives all possible values for each option.

If an option is shown in bold type, you must enter a value for that option.

If a value is shown in bold type, ACU uses that value as a default setting when creating new logical drives.

An asterisk next to a line denotes that the line is not used in Automatic mode.

You can use this script as a template for your own script.

Action = ConfigureReconfigure

Method = CustomAuto

Controller = All Slot [N] WWN [N] SerialNumber [N] IOCabinet [N],IOBay [N],IOChassis [N],Slot [N],Cabinet [N],Cell [N]

ClearConfigurationWithDataLoss = YesNo

LicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

DeleteLicenseKey = XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

RAIDArrayID = “XXXXXXXXXXXXXXXXXXXX”

ReadCache = 01020253040506070758090100

WriteCache = 01020253040506070758090100

RebuildPriority = LowMediumHigh

ExpandPriority = LowMediumHigh

SurfaceScanDelay = N

*SSPState = EnableDisable

*Array = ABCDEFG...Zabcdef

OnlineSpare = Port:ID,Port:ID... Box:Bay,Box:Bay...

Port:Box:Bay,Port:Box:Bay,... None

*Drive = Port:ID,Port:ID... Box:Bay,Box:Bay... Port:Box:Bay,Port:Box:Bay,...

*LogicalDrive = 123...32

RAID = 0156adg

*Size = [N]Max

*Sectors = 3263

*StripeSize = 8163264128256

*ArrayAccelerator = EnableDisable

Scripting in ACU 32

Image 32
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