Archivo de entrada xml dtd – HP Administrador de almacenamiento inteligente HP Manual del usuario

Página 116

Advertising
background image

Formato estándar

Formato XML

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>

Archivo de entrada XML DTD

El siguiente DTD indica los parámetros para un archivo de entrada XML de secuencias de
comandos de HP SSA.

<!DOCTYPE Config.document [

<!ELEMENT Config.document ( Action, Method, Controller+ ) >

<!ELEMENT Action ( Configure | Reconfigure ) >

<!ELEMENT Method ( Auto | Custom ) >

<!ELEMENT Controller, Array ) ChassisName? |
ClearConfigurationWithDataLoss | DPOEnable? | DriveWriteCache? |
ElevatorSortEnable? | ExpandPriority? | IRPEnable? | Initiator? |
LicenseKey? | MNPDelay? | PreferredPathMode? | QueueDepth? | ReadCache? |
RebuildPriority? | SurfaceScanDelay? | WriteCache? ) >

<!ATTLIST Controller ID PCDATA #REQUIRED >

<!ELEMENT ClearConfigurationWithDataLoss ( YES | NO ) NO >

<!ELEMENT DPOEnable ( YES | NO ) >

<!ELEMENT DriveWriteCache ( ENABLE | DISABLE ) >

<!ELEMENT ElevatorSortEnable ( YES | NO ) >

<!ELEMENT ExpandPriority ( HIGH | MEDIUM | LOW ) >

<!ELEMENT IRPEnable ( YES | NO ) >

<!ELEMENT LicenseKey ( #PCDATA ) >

108 Capítulo 2 Funcionamiento

ESES

Advertising