2019-10-21 14:50:16 +02:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"title": "HPC Cluster description",
|
|
|
|
"description": "Meta data information of a HPC cluster",
|
|
|
|
"type": "object",
|
|
|
|
"properties":{
|
2021-12-16 08:10:36 +01:00
|
|
|
"ClusterId": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "The unique identifier of a cluster",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"ProcessorType": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Processor type",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"SocketsPerNode": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Number of sockets per node",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"CoresPerSocket": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Number of cores per socket",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"ThreadsPerCore": {
|
2019-10-21 14:50:16 +02:00
|
|
|
"description": "Number of SMT threads per core",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"FlopRateScalar": {
|
2021-11-26 09:15:50 +01:00
|
|
|
"description": "Theoretical node peak flop rate for scalar code in GFlops/s",
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"FlopRateSimd": {
|
2021-11-26 09:15:50 +01:00
|
|
|
"description": "Theoretical node peak flop rate for SIMD code in GFlops/s",
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"MemoryBandwidth": {
|
2021-11-26 09:15:50 +01:00
|
|
|
"description": "Theoretical node peak memory bandwidth in GB/s",
|
2019-10-21 14:50:16 +02:00
|
|
|
"type": "integer"
|
2021-04-23 07:14:53 +02:00
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"MetricDataRepository": {
|
2021-11-29 10:26:00 +01:00
|
|
|
"description": "Type of the metric data repository for this cluster",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2021-12-16 08:10:36 +01:00
|
|
|
"Kind": {
|
2021-11-29 10:26:00 +01:00
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"influxdb-v1",
|
|
|
|
"influxdb-v2",
|
|
|
|
"prometheus",
|
|
|
|
"cc-metric-store"
|
|
|
|
]
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Url": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"Token": {
|
2021-11-29 10:26:00 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
2021-12-16 08:10:36 +01:00
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"Kind",
|
|
|
|
"Url"
|
|
|
|
]
|
2021-11-29 10:26:00 +01:00
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"MetricConfig": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"description": "Metric specifications",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties":{
|
2021-12-16 08:10:36 +01:00
|
|
|
"Name": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"description": "Metric name",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Unit": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"description": "Metric unit",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Timestep": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"description": "Frequency of timeseries points",
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Peak": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Normal": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Caution": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"type": "number"
|
|
|
|
},
|
2021-12-16 08:10:36 +01:00
|
|
|
"Alert": {
|
2021-04-23 07:14:53 +02:00
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
2021-11-29 10:26:00 +01:00
|
|
|
},
|
|
|
|
"required":[
|
2021-12-16 08:10:36 +01:00
|
|
|
"Name",
|
|
|
|
"Unit",
|
|
|
|
"Timestep",
|
|
|
|
"Peak",
|
|
|
|
"Normal",
|
|
|
|
"Caution",
|
|
|
|
"Alert"
|
2021-11-29 10:26:00 +01:00
|
|
|
]
|
2019-10-21 14:50:16 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required":[
|
2021-12-16 08:10:36 +01:00
|
|
|
"ClusterId",
|
|
|
|
"ProcessorType",
|
|
|
|
"SocketsPerNode",
|
|
|
|
"CoresPerSocket",
|
|
|
|
"ThreadsPerCore",
|
|
|
|
"FlopRateScalar",
|
|
|
|
"FlopRateSimd",
|
|
|
|
"MemoryBandwidth",
|
|
|
|
"MetricDataRepository",
|
|
|
|
"MetricConfig"
|
2019-10-21 14:50:16 +02:00
|
|
|
]
|
|
|
|
}
|