/usr/share/pegasus/schema/sc-2.0.xsd is in pegasus-wms 4.0.1+dfsg-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | <?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://pegasus.isi.edu/schema/sitecatalog" xmlns="http://pegasus.isi.edu/schema/sitecatalog" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
<xs:simpleType name="ProfileNamespace">
<xs:annotation>
<xs:documentation>defines the legal namespaces of execution profiles.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="pegasus"/>
<xs:enumeration value="condor"/>
<xs:enumeration value="dagman"/>
<xs:enumeration value="env"/>
<xs:enumeration value="hints"/>
<xs:enumeration value="globus"/>
</xs:restriction>
</xs:simpleType>
<xs:attributeGroup name="GlobusVersionInfo">
<xs:annotation>
<xs:documentation>A set of attributes to define a Globus version.</xs:documentation>
</xs:annotation>
<xs:attribute name="major" type="xs:positiveInteger" use="required"/>
<xs:attribute name="minor" type="xs:nonNegativeInteger" use="required"/>
<xs:attribute name="patch" type="xs:nonNegativeInteger" use="optional"/>
</xs:attributeGroup>
<xs:element name="sitecatalog">
<xs:annotation>
<xs:documentation>root element aggregating all sites information there is.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="site">
<xs:annotation>
<xs:documentation>Describes a single site</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="profile" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Administrative profile defaults associated with a site.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="namespace" type="ProfileNamespace" use="required"/>
<xs:attribute name="key" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="lrc" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Each site may report to multiple LRCs.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="url" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="gridftp" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Each site may have multiple gridftp servers.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="bandwidth" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Stores the bandwidth informaion related to each gridftp server.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="dest-subnet" type="xs:string" use="required"/>
<xs:attribute name="avg-bandwidth" type="xs:float" use="required"/>
<xs:attribute name="max-bandwidth" type="xs:float" use="required"/>
<xs:attribute name="min-bandwidth" type="xs:float" use="required"/>
<xs:attribute name="avg-bandwidth-range1" type="xs:float" use="optional"/>
<xs:attribute name="avg-bandwidth-range2" type="xs:float" use="optional"/>
<xs:attribute name="avg-bandwidth-range3" type="xs:float" use="optional"/>
<xs:attribute name="avg-bandwidth-range4" type="xs:float" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="url" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>The URL (actually, it may be more a URI, but hey, so what) is the access URL to the gridftp server. Each pool may have multiple gridftp servers, or run multiple versions of Globus on different ports.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="storage" type="xs:string" use="optional" default="/">
<xs:annotation>
<xs:documentation>This element is the storage mount point prefix. Of course, this may get turned over into other things, augmented by user and system requirements etc. I believe that default works quite well for default Globus setups. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="GlobusVersionInfo"/>
<xs:attribute name="total-size" type="xs:decimal" use="optional"/>
<xs:attribute name="free-size" type="xs:decimal" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="jobmanager" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Each site supports various (usually two) jobmanagers.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="universe" type="xs:token" use="required">
<xs:annotation>
<xs:documentation>The universe name is actually the primary key for the jobmanager identification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="url" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The contact string is the secondary key for any job manager.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="GlobusVersionInfo">
<xs:annotation>
<xs:documentation>Any pool may have multiple versions of Globus installed, and these versions may have multiple jobmanagers listening on different ports.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="free-mem" type="xs:string" use="optional"/>
<xs:attribute name="total-mem" type="xs:string" use="optional"/>
<xs:attribute name="max-count" type="xs:string" use="optional"/>
<xs:attribute name="max-cpu-time" type="xs:string" use="optional"/>
<xs:attribute name="running-jobs" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="jobs-in-queue" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="idle-nodes" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="total-nodes" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="os" type="xs:string" use="optional"/>
<xs:attribute name="arch" type="xs:string" use="optional"/>
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="subnet" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="workdirectory" default="/tmp">
<xs:annotation>
<xs:documentation>Each site may have one and only one work directory mount point.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="total-size" type="xs:decimal" use="optional"/>
<xs:attribute name="free-size" type="xs:decimal" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="handle" type="xs:ID" use="required"/>
<xs:attribute name="gridlaunch" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>This is the path to grid launch. As attributes are optional, each pool can have at most one grid launch path. More does not make sense, unless there are different launchers for different remote schedulers, and a pool supports more than two (fork + one other) remote schedulers. </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sysinfo" type="xs:string" use="optional" default="INTEL32::LINUX"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:decimal" use="optional" default="1.0"/>
</xs:complexType>
</xs:element>
</xs:schema>
|