Move grafana on a dedicated server behind the admin RP
- use the swh postgresql profile to manage the datase
- install grafana, the plugin and the generated dashboard with puppet
- use the rp1 reverse proxy to expose the service
Related to T3817
Differential D6871
Move grafana on a dedicated server behind the admin RP vsellier on Dec 22 2021, 7:39 PM. Authored by
Details
Move grafana on a dedicated server behind the admin RP
Related to T3817 This diff doesn't not impact the current grafana instance. diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org ******************************************* File[/etc/bind/keys/local-update] => parameters => content => @@ -2,4 +2,4 @@ key local-update { algorithm hmac-sha256; - secret "<redacted>"; + secret "<redacted>"; }; ******************************************* File[/etc/bind/rndc.key] => parameters => content => @@ -2,4 +2,4 @@ key rndc-key { algorithm hmac-md5; - secret "<redacted>"; + secret "<redacted>"; }; ******************************************* *** End octocatalog-diff on pergamon.softwareheritage.org
Diff Detail
Event TimelineComment Actions Why the duplication of profile::grafana into profile::grafana::backend? Do we really need the "swh postgresql" stuff for this very basic database? I find it much harder to follow than just having the existing two postgresql resources in profile::grafana. Alternatively we should consider centralizing the postgresql databases used for admin stuff (we already have one for hedgedoc, one for netbox, and potentially the one for sentry) into a single dedicated host (on which we would be able to do more proper backups and monitoring).
Comment Actions
I've opened T3833 for this good remark. Comment Actions
Comment Actions lgtm one question inline about the pg version. Also, in your vagrant tryouts, did you try to mount back the dump out of pergamon in the newly created grafana db?
Comment Actions thanks for the validation, I have some pending changes in progress and to reply to the olasd's remarks so I change the status to planned changes Regarding the backup restoration in vagrant, yes I have successfully restored it locally, everything was good (except the data of the graphes because grafana request my empty local prometheus) Comment Actions
Comment Actions
Comment Actions
The goal was to let the initial profile untouched during the migration and to clearly identify the public reverse_proxy is not installed by this part
Nope you are right, it was clearly overkill Comment Actions
|