diff --git a/README.md b/README.md index c61a73ab0304b2e0fc9343f34236924f663b1d6d..483265f7f03ffd06228c221b753104031eae6d9a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Description -Installation of Cloudiator using Docker (docker-compose). +Provides the docker-compose for the DBMS-Jungle-Evaluator ## Install @@ -61,7 +61,7 @@ Installation of Cloudiator using Docker (docker-compose). * run docker-compose up -## Use +## Usage * Evaluation-Orchestrator REST-API is available on port 8282 * Colosseum REST-API starts on port 9000 diff --git a/docker-compose.yml b/docker-compose.yml index 83c70ad4e5297746d0772e3528627919baac1e85..b49b4617980ae47ab016f8ed7d30b33cb8d3a03f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: colosseum-service: depends_on: - "colosseum-store" - image: omi-registry.e-technik.uni-ulm.de/ds/db-evaluator-colosseum:latest + image: omi-registry.e-technik.uni-ulm.de/dbms-jungle-explorer/db-evaluator-colosseum:latest restart: always environment: - MYSQL_USER=${DATABASE_USER} @@ -86,7 +86,7 @@ services: evaluation-orchestrator: depends_on: - "application-catalogue" - image: omi-registry.e-technik.uni-ulm.de/ds/db-evaluator-entrypoint:latest + image: omi-registry.e-technik.uni-ulm.de/dbms-jungle-explorer/db-evaluator-entrypoint:latest restart: always environment: - COLOSSEUM_URI=colosseum-service diff --git a/examples/sensorStorage_Cassandra_Cluster.json b/examples/sensorStorage_Cassandra_Cluster.json new file mode 100644 index 0000000000000000000000000000000000000000..b4a7020452d7924134beec797c0644af83dc726a --- /dev/null +++ b/examples/sensorStorage_Cassandra_Cluster.json @@ -0,0 +1,123 @@ +{ + "workloadNetwork": { + "type": "PRIVATE" + }, + "dbmsNetwork": { + "type": "PRIVATE" + }, + "dbmsCluster": { + "type": "CASSANDRA", + "databaseDataComponent": [ + { + "instances": 2, + "resource": { + "resourceType": "VM", + "idCloud": 0, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "DATA", + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + { + "envName": "dummy", + "envValue": "dummy" + } + ] + } + ], + "databaseSeedComponent": [ + { + "instances": 1, + "resource": { + "resourceType": "VM", + "idCloud": 2, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "SEED", + "replicationFactor": { + "envName": "REPLICATIONFACTOR", + "envValue": 3 + }, + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + + ] + } + ], + "databaseManagementComponent": [ + + ], + "monitoringConfig": { + "scenarioId": "string", + "scenarioCloud": "string", + "influxDbUrl": "string", + "influxDbdatabase": "string", + "influxDbUser": "string", + "influxDbPassword": "string" + } + }, + "workload": { + "measurementConfig": { + "interval": 10, + "measurementType": "NONE" + }, + "workloadConfig": { + "workloadType": "LOAD", + "workloadClass": "com.yahoo.ycsb.workloads.CoreWorkload", + "runtime": 0, + "threadCount": 16, + "recordCount": 5000000, + "insertStart": 0, + "insertCount": 0, + "operations": 1000, + "targetOps": 0, + "fieldCount": 10, + "fieldLength": 500, + "readAllFileds": true, + "readModifyWriteProportion": 0, + "requestdistribution": "UNIFORM", + "insertOrder": "ORDERED", + "readProportion": 0.95, + "updateProportion": 0.05, + "insertProportion": 0, + "scanProportion": 0, + "maxScanLength": 1000, + "coreWorkloadInsertionRetryLimit": 3, + "coreWorkloadInsertionRetryInterval": 3 + }, + "databaseConfig": { + "databaseBinding": "CASSANDRA2", + "endpointParameterName": "hosts", + "tableParameterName": "cassandra.keyspace", + "tableName": "ycsb", + "configPorperties": [ + { + "name": "cassandra.writeconsistencylevel", + "value": "TWO" + } + ] + } + } +} \ No newline at end of file diff --git a/examples/sensorStorage_Cassandra_Single.json b/examples/sensorStorage_Cassandra_Single.json new file mode 100644 index 0000000000000000000000000000000000000000..5029c09ca867dcc28736ee5c8f56dbc220b5b29f --- /dev/null +++ b/examples/sensorStorage_Cassandra_Single.json @@ -0,0 +1,93 @@ +{ + "workloadNetwork": { + "type": "PRIVATE" + }, + "dbmsNetwork": { + "type": "PRIVATE" + }, + "dbmsSingle": { + "type": "CASSANDRA", + "databaseSeedComponent": { + "instances": 1, + "resource": { + "resourceType": "VM", + "idCloud": 0, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "SEED", + "replicationFactor": { + "envName": "REPLICATIONFACTOR", + "envValue": 1 + }, + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + + ] + }, + "databaseManagementComponent": [ + + + ], + "monitoringConfig": { + "scenarioId": "string", + "scenarioCloud": "string", + "influxDbUrl": "string", + "influxDbdatabase": "string", + "influxDbUser": "string", + "influxDbPassword": "string" + } + }, + "workload": { + "measurementConfig": { + "interval": 10, + "measurementType": "NONE" + }, + "workloadConfig": { + "workloadType": "LOAD", + "workloadClass": "com.yahoo.ycsb.workloads.CoreWorkload", + "runtime": 0, + "threadCount": 16, + "recordCount": 5000000, + "insertStart": 0, + "insertCount": 0, + "operations": 1000, + "targetOps": 0, + "fieldCount": 10, + "fieldLength": 500, + "readAllFileds": true, + "readModifyWriteProportion": 0, + "requestdistribution": "UNIFORM", + "insertOrder": "ORDERED", + "readProportion": 0.95, + "updateProportion": 0.05, + "insertProportion": 0, + "scanProportion": 0, + "maxScanLength": 1000, + "coreWorkloadInsertionRetryLimit": 3, + "coreWorkloadInsertionRetryInterval": 3 + }, + "databaseConfig": { + "databaseBinding": "CASSANDRA2", + "endpointParameterName": "hosts", + "tableParameterName": "cassandra.keyspace", + "tableName": "ycsb", + "configPorperties": [ + { + "name": "cassandra.writeconsistencylevel", + "value": "ONE" + } + ] + } + } +} \ No newline at end of file diff --git a/examples/sensorStorage_Couchbase_Cluster.json b/examples/sensorStorage_Couchbase_Cluster.json new file mode 100644 index 0000000000000000000000000000000000000000..fdb87747ed33ad77693655e8d480cfd37afdd0d5 --- /dev/null +++ b/examples/sensorStorage_Couchbase_Cluster.json @@ -0,0 +1,129 @@ +{ + "workloadNetwork": { + "type": "PRIVATE" + }, + "dbmsNetwork": { + "type": "PRIVATE" + }, + "dbmsCluster": { + "type": "COUCHBASE", + "databaseDataComponent": [ + { + "instances": 2, + "resource": { + "resourceType": "VM", + "idCloud": 2, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "DATA", + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + + ] + } + ], + "databaseSeedComponent": [ + { + "instances": 1, + "resource": { + "resourceType": "VM", + "idCloud": 0, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "SEED", + "replicationFactor": { + "envName": "REPLICATIONFACTOR", + "envValue": 1 + }, + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + + ] + } + ], + "databaseManagementComponent": [ + + ], + "monitoringConfig": { + "scenarioId": "string", + "scenarioCloud": "string", + "influxDbUrl": "string", + "influxDbdatabase": "string", + "influxDbUser": "string", + "influxDbPassword": "string" + } + }, + "workload": { + "measurementConfig": { + "interval": 10, + "measurementType": "NONE" + }, + "workloadConfig": { + "workloadType": "LOAD", + "workloadClass": "com.yahoo.ycsb.workloads.CoreWorkload", + "runtime": 0, + "threadCount": 16, + "recordCount": 5000000, + "insertStart": 0, + "insertCount": 0, + "operations": 1000, + "targetOps": 0, + "fieldCount": 10, + "fieldLength": 500, + "readAllFileds": true, + "readModifyWriteProportion": 0, + "requestdistribution": "UNIFORM", + "insertOrder": "ORDERED", + "readProportion": 0.95, + "updateProportion": 0.05, + "insertProportion": 0, + "scanProportion": 0, + "maxScanLength": 1000, + "coreWorkloadInsertionRetryLimit": 3, + "coreWorkloadInsertionRetryInterval": 3 + }, + "databaseConfig": { + "databaseBinding": "COUCHBASE2", + "endpointParameterName": "couchbase.host", + "tableParameterName": "couchbase.bucket", + "tableName": "ycsb", + "configPorperties": [ + { + "name": "couchbase.user", + "value": "ycsb" + }, + { + "name": "couchbase.password", + "value": "criminal" + }, + { + "name": "couchbase.persistTo", + "value": "0" + } + + ] + } + } +} \ No newline at end of file diff --git a/examples/sensorStorage_Couchbase_Single.json b/examples/sensorStorage_Couchbase_Single.json new file mode 100644 index 0000000000000000000000000000000000000000..6e465d1afbb7f46203283605803f972e0e429c86 --- /dev/null +++ b/examples/sensorStorage_Couchbase_Single.json @@ -0,0 +1,102 @@ +{ + "workloadNetwork": { + "type": "PRIVATE" + }, + "dbmsNetwork": { + "type": "PRIVATE" + }, + "dbmsSingle": { + "type": "COUCHBASE", + "databaseSeedComponent": { + "instances": 1, + "resource": { + "resourceType": "VM", + "idCloud": 0, + "idImage": 0, + "idHardware": 0, + "idLocation": 0 + }, + "name": "SEED", + "replicationFactor": { + "envName": "REPLICATIONFACTOR", + "envValue": 1 + }, + "nodeConfiguration": { + "dataMemory": { + "envName": "DATAMEMORY", + "envValue": 1500 + }, + "indexMemory": { + "envName": "INDEXMEMORY", + "envValue": 500 + } + }, + "customConfiguration": [ + + ] + }, + "databaseManagementComponent": [ + + + ], + "monitoringConfig": { + "scenarioId": "string", + "scenarioCloud": "string", + "influxDbUrl": "string", + "influxDbdatabase": "string", + "influxDbUser": "string", + "influxDbPassword": "string" + } + }, + "workload": { + "measurementConfig": { + "interval": 10, + "measurementType": "NONE" + }, + "workloadConfig": { + "workloadType": "LOAD", + "workloadClass": "com.yahoo.ycsb.workloads.CoreWorkload", + "runtime": 0, + "threadCount": 16, + "recordCount": 5000000, + "insertStart": 0, + "insertCount": 0, + "operations": 1000, + "targetOps": 0, + "fieldCount": 10, + "fieldLength": 500, + "readAllFileds": true, + "readModifyWriteProportion": 0, + "requestdistribution": "UNIFORM", + "insertOrder": "ORDERED", + "readProportion": 0.95, + "updateProportion": 0.05, + "insertProportion": 0, + "scanProportion": 0, + "maxScanLength": 1000, + "coreWorkloadInsertionRetryLimit": 3, + "coreWorkloadInsertionRetryInterval": 3 + }, + "databaseConfig": { + "databaseBinding": "COUCHBASE2", + "endpointParameterName": "couchbase.host", + "tableParameterName": "couchbase.bucket", + "tableName": "ycsb", + "configPorperties": [ + { + "name": "couchbase.user", + "value": "ycsb" + }, + { + "name": "couchbase.password", + "value": "criminal" + }, + { + "name": "couchbase.persistTo", + "value": "1" + } + + ] + } + } +} \ No newline at end of file