during initial configuration of the array controller. The command values are Enable or Disable, in reference to whether encrypted forms are enabled. The default form is encrypted, or enabled.

XML support

HP SSA scripting supports an XML file format for input and output.

XML output

To create an XML output document, use an XML suffix with the output file name:

C:\hpssascripting -c out.xml

The following text is an example XML output file.

<?xml version="1.0"?> <Config.document>

<!-- Date captured: Tue Jun 09 10:03:08 2009 -->

<!-- Version: 8:30:4 --> <Action>Configure</Action> <Method>Custom</Method> <Controller ID="Slot 1">

<!-- Controller HP Smart Array P410, Firmware Version 1.99 --> <ReadCache>25</ReadCache>

<WriteCache>75</WriteCache>

<RebuildPriority>Medium</RebuildPriority>

<ExpandPriority>Medium</ExpandPriority>

<SurfaceScanDelay>3</SurfaceScanDelay>

<DriveWriteCache>Disabled</DriveWriteCache> <LicenseKey>35DRP-7RH6S-R89GR-4MX6N-8K48X</LicenseKey> <!-- LicenseKeyType "Flex License" --> <MNPDelay>60</MNPDelay> <IRPEnable>Disabled</IRPEnable> <DPOEnable>Disabled</DPOEnable> <ElevatorSortEnable>Enabled</ElevatorSortEnable> <QueueDepth>Automatic</QueueDepth>

<!-- Unassigned Drives 1I:4:5 (60.0 GB), 2I:2:1 (72 GB) --> <Array ID="A">

<!-- Array Drive Type is Solid State

SATA -->

<!--

Free space

0 GBytes -->

 

<!--

1I:4:8 (120.0 GB),1I:4:7 (120.0

GB) -->

<Drive>1I:4:8, 1I:4:7</Drive> <OnlineSpare>No</OnlineSpare> <LogicalDrive ID="1">

<Raid>1</Raid>

<Size>114439</Size>

<Sectors>32</Sectors>

<StripeSize>128</StripeSize>

Operations 102

Page 102
Image 102
HP Smart Storage Adstrator manual XML support, XML output, hpssascripting -c out.xml