HP Storage Provisioning Manager (SPM) version 2.1 User Guide

between the indices of the objects and the values. Such lists appear in the RAIDMap and
HostmodeMap fields of the StorageArrayDefinition.
DescriptionTypeProperty
The search key in the associative list.StringIndex
The value associated with the search
key.
StringValue
Example of an unmanaged array XML file
Following is an example of an XML file representing an unmanaged array. The example is provided
in Courier font. Annotations are provided within the example as normal font.
<?xml version="1.0" encoding="utf-8"?>
<StorageArrayDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Every XML document must begin with the XML element indicating the XML version and the character
encoding. Every Unmanaged Array XML file must begin with the StorageArrayDefinition root
element. This example specifies two namespaces for use within this XML file, one for the
XMLSchema-instance schema, and a second for the schema schema.
<HostmodeMap>
<MapItem>
<Index>HPUX</Index>
<Value>HP-UX</Value>
</MapItem>
<MapItem>
<Index>*</Index>
<Value>Normal</Value>
</MapItem>
</HostmodeMap>
This HostmodeMap element specifies that SPM's HPUX hostmode maps to the hostmode known as
HP-UX on the storage array, and that all other hostmodes known to SPM map to the Normal mode
on the storage array.
<RAIDMap>
<MapItem>
<Index>RAID0</Index>
<Value>RL0</Value>
</MapItem>
<MapItem>
<Index>RAID1</Index>
<Value>RL1</Value>
</MapItem>
<MapItem>
<Index>RAID5</Index>
<Value>RL5</Value>
</MapItem>
</RAIDMap>
This RAIDMap element specifies that the RAID level known to SPM as RAID0 is known by the
storage array as RL0, and similarly for RAID levels 1 and 5. This implies that this device does not
support RAID levels NoRaid, RAID0, RAID3, RAID4, RAID6, RAID50, or RAID60.
<Arrays>
<StorageArray>
<ObjectID>UnMan-1</ObjectID>
<UUID>UnMan-1</UUID>
<DisplayName>Pierre</DisplayName>
<ManagementURL><Device URL Goes Here>/Pierre</ManagementURL>
<Tags>
<string>Secure</string>
<string>Leased</string>
98 Working with unmanaged arrays