HP Microsoft Windows Server 2003 for Itanium-based Systems manual Script file options

Page 33

*LogicalDriveSSPState = EnableDisable

*SSPAdaptersWithAccess = [N],[N]...None

HBA_WW_ID = WWN

ConnectionName = UserDefinedName

HostMode = DefaultWindowsWindows(degrade)openVMSTru64Linux SolarisNetwareHPWindows Sp2

Script file options

There are four categories of options in ACU script files: Control, Controller, Array, and Logical Drive. Each category has several scripting options, but you do not always need to assign values to every option. ACU can use default values in some cases, while in other cases, a given option might not be relevant for a particular controller or operating mode.

The options for each category are listed in the table ("Description of option categories in ACU scripting" on page 33), and described in more detail in the rest of this section.

Description of option categories in ACU scripting

Category

Options

Comments

 

 

 

Control

Action

These options define the overall behavior of ACU

 

Method

when it processes the scripts and creates

 

configurations. Control options can occur only once in

 

 

 

 

a script file, and must be the first options listed.

 

 

 

Controller

Controller

Options in this category define the controller that is to

 

ClearConfigurationWithDataLoss

be configured (or the controller that has had its

 

configuration captured). The Controller option must be

 

LicenseKey

 

at the beginning of this section of the script, but you

 

DeleteLicenseKey

can script other options in this category in any order.

 

RAIDArrayID

You can use one script to configure several controllers

 

ReadCache

if all controllers are to be configured identically, or if

 

you define each controller configuration separately.

 

WriteCache

 

When you define each controller separately, specify

 

RebuildPriority

all category options for a particular controller before

 

ExpandPriority

starting a new controller listing.

 

 

 

SurfaceScanDelay

 

 

SSPState

 

 

 

 

Array

Array

These options define an array that is to be configured

 

OnlineSpare

on the controller that is identified previously in the

 

script. (If no controller is previously identified, ACU

 

Drive

 

sends an error message.) The Array option must be at

 

 

the beginning of this section of the script, but you can

 

 

script the other options in this category in any order.

 

 

 

Scripting in ACU 33

Image 33
Contents HP Array Configuration Utility User Guide Audience assumptions Contents Diagnosing array problems Installing ACU Features and system requirementsGetting started This sectionOverview for using ACU Setting the execution mode for Microsoft WindowsComparison of ACU execution modes Choosing an operating mode Opening ACU in Local Application modeHttp//servername2301 Opening ACU in Browser modeSelect Device Queries Opening ACU through Systems Insight ManagerGUI operating modes Typical Standard mode screenTypical Configuration Wizards mode screen Typical Express Configuration mode screen Completing the configuration processConfiguring a new controller Using Standard Configuration modePossible tasks in Standard Configuration mode Using Express Configuration mode Creating an array Using the configuration wizardsClick Finish Click Create an array, and then click BeginConfiguring a new controller Click Create a logical drive, and then click Begin Creating a logical driveConfiguring a new controller Modifying an existing configuration Modifying a configuration using Standard Configuration modeChoices available after opening ACU Modifying a configuration using the Configuration wizards Modifying a configuration using Express modeClear Configuration Click Express Configuration, and then click BeginController settings Click Controller Settings, and then click BeginCreate an array Create a logical drive Delete arrays Delete logical drives Expand ArrayClick Delete logical drives, and then click Begin Migrate a logical drive Extend logical driveClick Extend logical drive, and then click Begin Click Migrate a logical drive, and then click BeginSelective Storage Presentation Spare managementRA4x00 controllers Click Spare Management, and then click BeginMSA and Smart Array Cluster storage controllers Click ACU Switch Configuration Configuring switchesRecombining a split, mirrored array Splitting a mirrored array Modifying an existing configuration Scripting in ACU Command line syntaxIntroduction to scripting in ACU Operating modesCpqacuxe -i Filename Sample custom input scriptDescription of option categories in ACU scripting Script file optionsController category Control categoryAction MethodController ClearConfigurationWithDataLossLicenseKey, DeleteLicenseKey RAIDArrayIDArray category SurfaceScanDelayRebuildPriority, ExpandPriority SSPStateOnlineSpare Logical Drive categoryDrive LogicalDriveSectors SizeStripeSize ArrayAcceleratorSSPAdaptersWithAccess Error reportingConnectionName HostModeACU scripting error messages 0-9, !, @, #, *, , , ,, -, , +, , ., /, and space. The ID Current configuration Using the Command Line Interface Overview of the ACU CLIRunning the CLI CLI syntax Command variableKeyword abbreviations Target variableExample command Typical proceduresHiding warning prompts Querying a deviceSyntax Sample scenarioExample commands Modifying the controller chassis nameExample Sample scenario Using Selective Storage PresentationManaging host modes connection profiles Modifying connection namesIdentifying devices Deleting target devicesExpanding an array Extending a logical driveManaging spare drives Target modify raid=01+0156adg? ss=8163264128256default?Migrating a logical drive Target modify size=#max? forcedChanging the Rebuild Priority setting Changing the Expand Priority settingChanging the controller cache ratio Changing the surface scan delay time Re-enabling a failed logical driveEnabling or disabling the drive cache Enabling or disabling the array accelerator Setting the targetDisabling a redundant controller Typical scenario= rescan Rescanning the systemFactors involved in logical drive failure Probability of logical drive failureProbability of logical drive failure Drive arrays Drive arrays and fault-tolerance methodsDrive arrays and fault-tolerance methods Hardware-based fault-tolerance methods Fault-tolerance methodsRAID 0-No fault tolerance AdvantagesDisadvantages RAID 1+0-drive mirroring RAID 6 ADG-Advanced Data Guarding RAID 5-distributed data guardingRAID RAID 6 ADG Comparing the hardware-based RAID methodsSelecting a RAID method Alternative fault-tolerance methodsDiagnostic tools Diagnosing array problemsServer Diagnostics Post messagesAcronyms and abbreviations SSP Index Index