Skip to content

Instantly share code, notes, and snippets.

@treydock
Created April 1, 2021 15:46
Show Gist options
  • Save treydock/73a56a3404e29a52237352e9149817f5 to your computer and use it in GitHub Desktop.
Save treydock/73a56a3404e29a52237352e9149817f5 to your computer and use it in GitHub Desktop.
{
// Configuration settings for job data input
// The database configuration below assumes everything on the same host and
// XDMoD is installed on the host too.
//
// It is not necessary for all databases to run locally. A more complex
// configuration could have multiple hosts and different credentials for
// each DB.
"xdmodroot": "/etc/xdmod",
"datawarehouse": {
"include": "xdmod://datawarehouse"
},
// Configuration setting for summary document output
"outputdatabase": {
"db_engine": "mongodb",
"uri": "mongodb://supremm:[email protected]/supremm",
//"uri": "mongodb://username:password@localhost/supremm",
//"uri": "mongodb://mongodb-server1:27017,mongodb-server2:27017/supremm?replicaSet=foo",
//"uri": "mongodb://username:password@mongodb-server1:27017,mongodb-server2:27017/supremm?replicaSet=foo",
"dbname": "supremm"
},
"summary": {
"prometheus_url": "https://prometheus.DOMAIN",
"rates": {
"gpfs": "15m"
},
// The archive out directory should be writable by the process that runs
// the summaries.
"archive_out_dir": "/dev/shm/supremm_test",
// The following substitutions are defined for the job archive subdirectory:
// %r means the resource name
// %j the local job id
// the rest is sent to strftime with the end time of the job
// Common examples:
// %Y-%m-%d/%r/%j includes the date/resource/jobid in the path
"subdir_out_format": "%r/%j"
},
"resources": {
"owens": {
"enabled": true,
"resource_id": 1,
"batch_system": "XDMoD",
"script_dir": "/systems/supremm_data/jobscripts/slurm/owens",
"metric_system": "prometheus"
},
"pitzer": {
"enabled": true,
"resource_id": 4,
"batch_system": "XDMoD",
"script_dir": "/systems/supremm_data/jobscripts/slurm/pitzer",
"metric_system": "prometheus"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment