List of fields under consideration for recording storage usage¶
ValidDuration or TimeDuration or none of the two¶
None of the two, using StartTime and EndTime instead
Fields that are needed by the storage accounting in the other blocks:¶
- local user
- local group
- measurement time
- start time
- end time
- sitename (label for set of resources that have some kind of logical grouping) (Admin domain on GLUE)
- (global) user identity
- (global) group and subgroups (group attribute)
ALL OK
StorageUsageBlock¶
This is the block property of the storage usage fields. Similar blocks for compute and other resources should also be added.
Example
<ur:StorageUsageBlock> <!—Storage Record properties go in here --> </ur:StorageUsageBlock>
Comments:¶
Ralph: ok
StorageSystem or ~Host¶
This property is part of the StorageUsageBlock and describes the storage system on which the resources have been consumed. This value should be chosen in such a way that it globally identifies the storage system, on which resources are being consumed (eg., the FQDN of the storage system could be used).
Example
<ur:StorageSystem>host.example.org</ur:StorageSystem>
*The StorageSystem property MUST be present in the record.
*The StorageSystem field MUST have the type string.
*The StorageSystem value SHOULD be constructed in such a way, that it globally identifies the storage system.
Comments:¶
Ralph: ok
StorageShare¶
This property describes the part of of the storage system which is accounted for in the record. For a storage system, which is split into several logical parts, this can be used to account for consumption on each of these parts. The value should be able to identity the share of the storage system, given the storage system property.
*The StorageShare field type MUST be a string
Example
<sr:StorageShare>pool-003</sr:StorageShare>
Comments:¶
Ralph: ok
StorageMedia¶
This property describes the media type of storage that is accounted for in the record, e.g. “disk” or “tape”. This allows for accounting of different backend storage types.
*The StorageMedia field type MUST be a string.
Example
<sr:StorageMedia>disk</sr:StorageMedia>
Comments:¶
Ralph: ok
StorageMedia or StorageType¶
This property is part of the StorageUsageBlock and describes the media type of storage that is accounted for in the record (eg.: “disk” or “tape”. This allows for accounting of different backend storage types).
*The StorageMedia field type MUST be a string.
Example
<ur:StorageMedia>disk</ur:StorageMedia>
Comments:¶
Ralph: ok
StorageClass¶
This property describes the class of the stored data, e.g. ”pinned”, ”replicated”, ”precious”. This is a
descriptive value, which allows the storage system to provide details about the stored data.
*The StorageClass field type MUST be a string.
Example
<sr:StorageClass>replicated</sr:StorageClass>
Comments:¶
Ralph: ok
DirectoryPath¶
This property describes the directory path being accounted for. If the property is included in the
record, the record should account for all usage in the directory and only that directory.
*The DirectoryPath field type MUST be a string.
Example
<sr:DirectoryPath>/projectA</sr:DirectoryPath>
Comments:¶
Ralph: ok
FileCount¶
This property describes the number of files which are accounted for in the record.
*The FileCount field type MUST be a positive non-zero integer.
Example
<sr:FileCount>42</sr:FileCount>
Comments:¶
Ralph: ok
StorageResourceCapacityUsed¶
This property is part of the StorageUsageBlock and describes the number of physical bytes used on the storage system. This is the main metric for measuring resource consumption. It should include all resources for which the identity of the record is accountable for.
*The ResourceCapacityUsed property MUST be present in the record.*The ResourceCapacityUsed field type MUST be a nonnegative integer.
- ResourceCapacityUsed SHOULD include all resources that are used to store the files. The value MAY also include resources that are no longer in use but are unavailable for reuse, as documented in the appropriate SLA or usage policy documents.
Example
<ur:StorageResourceCapacityUsed>14728</ur:StorageResourceCapacityUsed>
Comments:¶
Ralph: ok
StorageLogicalCapacityUsed¶
This property is part of the StorageUsageBlock and describes the number of logical bytes used on the storage system. This is the main metric for measuring resource allocation. It should include all resources for which the identity of the record is accountable for.
*The LogicalCapacityUsed field type MUST be a nonnegative integer.
Example
<ur:StorageLogicalCapacityUsed>54636</ur:StorageLogicalCapacityUsed>
Comments:¶
Ralph: ok