Xml input, Xml input file dtd – HP Smart Storage Administrator User Manual
Page 92

Operations 92
<Raid>5</Raid>
<Size>52478</Size>
<Sectors>32</Sectors>
<StripeSize>64</StripeSize>
<ArrayAccelerator>Enabled</ArrayAccelerator>
</LogicalDrive>
<LogicalDrive ID="4">
<Raid>5</Raid>
<Size>52478</Size>
<Sectors>32</Sectors>
<StripeSize>64</StripeSize>
<ArrayAccelerator>Enabled</ArrayAccelerator>
</LogicalDrive>
<LogicalDrive ID="5">
<Raid>5</Raid>
<Size>52478</Size>
<Sectors>32</Sectors>
<StripeSize>64</StripeSize>
<ArrayAccelerator>Enabled</ArrayAccelerator>
</LogicalDrive>
</Array>
</Controller>
</Config.document>
XML input
XML input follows the same format as the document for XML output (on page
). Use the same parameter
order as the standard input format.
The following example shows a simple input script in both standard and XML formats.
Standard format
XML format
Action= Configure
Method= Custom
Controller= Slot 1
Array=A
Drive= 1I:4:8, 1I:4:7
LogicalDrive= 1
RAID= 0
Size= 100000
<?xml version="1.0"?>
<Config.document>
<Action>Configure</Action>
<Method>Custom</Method>
<Controller ID="Slot 1">
<Array ID="A">
<Drive>1I:4:8, 1I:4:7</Drive>
<LogicalDrive ID="1">
<Raid>0</Raid>
<Size>100000</Size>
</LogicalDrive>
</Array>
</Controller>
</Config.document>
XML input file DTD
The following DTD outlines the parameters for an HP SSA scripting XML input file.