Example 1 “storage definition xsd file – HP Matrix Operating Environment Software User Manual
Page 99
 
Example 1 Storage definition XSD file
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hp.com/ae/model/ServiceModel"
 xmlns="http://hp.com/ae/model/ServiceModel" elementFormDefault="qualified">
 <xs:element name="StorageEntries" >
 <xs:complexType>
 <xs:sequence>
 <xs:element name="StorageEntry" minOccurs="0" maxOccurs="unbounded">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="name" type="xs:string" minOccurs="0" />
 <xs:element name="type" type="xs:string" nillable="true" minOccurs="0" />
 <xs:element name="description" type="xs:string" nillable="true" minOccurs="0" />
 <xs:element name="id" type="xs:int" nillable="true" minOccurs="0" />
 <xs:element name="portabilityGroupName" type="xs:string" minOccurs="0" />
 <xs:element name="memberType" type="xs:string" minOccurs="0"/>
 <xs:element name="useRedundancy" type="xs:boolean" nillable="true" minOccurs="0" />
 <xs:element name="operatingSystem" type="xs:string" nillable="true" minOccurs="0" />
 <xs:element name="sharers" type="xs:int" nillable="true" minOccurs="0" />
 <xs:element name="tag" type="xs:string" minOccurs="0" maxOccurs="unbounded" nillable="true" />
 <xs:element name="Volume" minOccurs="0" maxOccurs="unbounded">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="volumeNumber" type="xs:int" minOccurs="0" />
 <xs:element name="storageSize" type="xs:int" minOccurs="0" />
 <xs:element name="storageSizeType" default="MB" nillable="true" minOccurs="0">
 <xs:simpleType>
 <xs:restriction base="xs:string">
 <xs:enumeration value="MB" />
 <xs:enumeration value="GB" />
 </xs:restriction>
 </xs:simpleType>
 </xs:element>
 <xs:element name="minStorageSize" type="xs:int" minOccurs="0" /
 <xs:element name="maxStorageSize" type="xs:int" minOccurs="0" />
 <xs:element name="raidLevel" default="NONE" nillable="true" minOccurs="0">
 <xs:simpleType>
 <xs:restriction base="xs:string">
 <xs:enumeration value="NONE" />
 <xs:enumeration value="RAID0" />
 <xs:enumeration value="RAID1" />
 <xs:enumeration value="RAID4" />
 <xs:enumeration value="RAID5" />
 <xs:enumeration value="RAID6" />
 <xs:enumeration value="RAID10" />
 <xs:enumeration value="RAID50" />
 </xs:restriction>
 </xs:simpleType>
 </xs:element>
 <xs:element name="bootDisk" type="xs:boolean" nillable="true" minOccurs="0" />
 <xs:element name="useRedundancy" type="xs:boolean" nillable="true" minOccurs="0" />
 <xs:element name="presented" type="xs:boolean" nillable="true" minOccurs="0" />
 <xs:element name="SanVolumePath" minOccurs="0" maxOccurs="unbounded" >
 <xs:complexType>
 <xs:sequence>
 <xs:element name="pathNumber" type="xs:int" minOccurs="0" />
 <xs:element name="targetWWN" type="xs:string" nillable="true" minOccurs="0" />
 <xs:element name="LUN" type="xs:string" nillable="true" minOccurs="0" />
 <xs:element name="priority" default="DISABLED" nillable="true" minOccurs="0">
 <xs:simpleType>
 <xs:restriction base="xs:string">
 <xs:enumeration value="PRIMARY" />
 <xs:enumeration value="SECONDARY" />
 <xs:enumeration value="USEBIOS" />
 <xs:enumeration value="DISABLED" />
 </xs:restriction>
 </xs:simpleType>
 </xs:element>
 <xs:element name="port" type="xs:int" minOccurs="0" />
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 <xs:element name="SanPort" minOccurs="0" maxOccurs="unbounded">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="portNumber" type="xs:int" minOccurs="0" />
 <xs:element name="hidden" type="xs:boolean" nillable="true" minOccurs="0" />
 <xs:element name="portSpeed" type="xs:int" minOccurs="0" />
 <xs:element name="fabric" type="xs:string" minOccurs="0"/>
 <xs:element name="ServerWWN" maxOccurs="unbounded" minOccurs="0" nillable="true">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="wwnNumber" type="xs:int" minOccurs="0" />
 <xs:element name="WWN" type="xs:string" minOccurs="0" />
 <xs:element name="type" type="xs:int" minOccurs="0" />
 <xs:element name=”allocatedvalue” type=”xs:string” minOccurs=”0” />
 <xs:element name=”ready” type=”xs:boolean” nillable=”true” minOccurs=”0” />
 <xs:element name="inProfile" type="xs:boolean" nillable="true" minOccurs="0" />
Using LSMUTIL with logical server storage
99