Fichero De Entrada Xml Dtd; Capítulo 5 Hp Array Configuration Utility - HP Smart Array Guía De Referencia

Tabla de contenido

Publicidad

En el siguiente ejemplo se muestra una secuencia de comandos de entrada simple en los formatos
estándar y XML.
Formato estándar
Action= Configure
Method= Custom
Controller= Slot 1
Array=A
Drive= 1I:4:8, 1I:4:7
LogicalDrive= 1
RAID= 0
Size= 100000

Fichero de entrada XML DTD

El siguiente DTD indica los parámetros para un fichero de entrada XML de secuencia de comandos
ACU.
<!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? | SSPState? | SurfaceScanDelay? | WriteCache? ) >
<!ATTLIST Controller ID PCDATA #REQUIRED >
<!ELEMENT ChassisName ( #PCDATA ) >
<!ELEMENT ClearConfigurationWithDataLoss ( YES | NO ) NO >
<!ELEMENT DPOEnable ( YES | NO ) >
<!ELEMENT DriveWriteCache ( ENABLE | DISABLE ) >
100 Capítulo 5 HP Array Configuration Utility
Formato XML
<?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>
ESES

Publicidad

Tabla de contenido
loading

Tabla de contenido