From 7eff78bac0d2404886d4c2c3281b6748813683f5 Mon Sep 17 00:00:00 2001 From: p275545 Date: Mon, 18 Dec 2017 14:03:05 +0000 Subject: [PATCH 1/3] 'README.md' updaten --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index e69de29..c987217 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,29 @@ +## CPU-profiling +Assumed is that the this git repo is cloned in the home directory. + +### Running influx +ssh to pg-node045 and run the influxdb container (see "run" in that directory), then start the container with singularity. The configuration file is mapped to the appropriate location in the container, as is a location for the database storage. For now we store the data at $HOME/influx_db. Make sure that the directory exists. +Once in the container a database (with the name slurm) can be set up if necessary: +``` +curl -POST http://pg-node045:8086/query?pretty=true --data-urlencode "q=CREATE DATABASE slurm WITH NAME \"default\"" +``` +Note that the retention policy is set to default and still needs to be configured eventually. +To start the influxDB, run: +``` +influxd -config /etc/influxdb/influxdb.conf +``` + +### Running Graphana +Similarly, (after ssh pg-node045) go to the graphana_s folder and check out the "run" file in that directory. Probably running ./run will start a container session. +Running the following will start a server: +``` +grafana-server -homepath /usr/share/grafana/ +``` + +### Testing +On the login node (or interactive with the -X option) you should be able to go browse http://pg-node045:3000. There you'll need to add a datasource. Some required options are: +Type: influxDB +Url: http://pg-node045:8086 +Database: slurm + +Once this is setup, we can start making Dashboards. \ No newline at end of file From 5b11028763f64069ffe0b32c1b4ed72874da8aee Mon Sep 17 00:00:00 2001 From: p275545 Date: Mon, 18 Dec 2017 14:03:25 +0000 Subject: [PATCH 2/3] 'README.md' updaten --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c987217..f4593ad 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,9 @@ grafana-server -homepath /usr/share/grafana/ ### Testing On the login node (or interactive with the -X option) you should be able to go browse http://pg-node045:3000. There you'll need to add a datasource. Some required options are: Type: influxDB + Url: http://pg-node045:8086 + Database: slurm Once this is setup, we can start making Dashboards. \ No newline at end of file From 97711814419666c596d18705e60740e7379169c3 Mon Sep 17 00:00:00 2001 From: p275545 Date: Mon, 18 Dec 2017 14:03:37 +0000 Subject: [PATCH 3/3] 'README.md' updaten --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f4593ad..86d1156 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ grafana-server -homepath /usr/share/grafana/ ### Testing On the login node (or interactive with the -X option) you should be able to go browse http://pg-node045:3000. There you'll need to add a datasource. Some required options are: + Type: influxDB Url: http://pg-node045:8086