Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
68a6092a
Verified
Commit
68a6092a
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
expand a bit ganeti configuration, especially mentionning exporter
parent
49d2beba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/ganeti.md
+33
-5
33 additions, 5 deletions
howto/ganeti.md
with
33 additions
and
5 deletions
howto/ganeti.md
+
33
−
5
View file @
68a6092a
...
...
@@ -3438,13 +3438,20 @@ TODO: document gnt-job
## Interfaces
TODO: document the RAPI and ssh commandline
## Authentication
TODO: X509 certs and SSH
## Implementation
Ganeti is implemented in a mix of Python and Haskell, in a mature
codebase.
## Related services
ref DRBD
Ganeti relies heavily on
[
DRBD
](
howto/drbd
)
for live migrations.
## Issues
...
...
@@ -3459,17 +3466,35 @@ Upstream Ganeti has of course its own [issue tracker on GitHub](https://github.c
## Users
TPA are the main direct operators of the services, but most if not all
TPI teams use its services either directly or indirectly.
## Upstream
Ganeti used to be a Google project until it was abandoned and spun off
to a separate, standalone free software community. Right now it is
maintained by a mixed collection of organisations and non-profits.
## Monitoring and metrics
<!-- TODO: describe how this service is monitored and how it can be tested -->
<!-- after major changes like IP address changes or upgrades -->
Anarcat implemented a Prometheus metrics exporter that writes stats in
the node exporter "textfile" collector. The source code is available
in
`tor-puppet.git`
, as
`profile/files/ganeti/tpa-ganeti-prometheus-metrics.py`
. Those metrics
are in turn displayed in the
[
Ganeti Health
](
https://grafana.torproject.org/d/ce2db5a5-b42b-4454-8d81-ee95b09e229a/ganeti-health
)
Grafana dashboard.
TODO: https://github.com/ganeti/prometheus-ganeti-exporter
The WMF worked on a
[
proper Ganeti exporter
](
https://github.com/ganeti/prometheus-ganeti-exporter
)
we should probably
switch to, once it is
[
packaged in Debian
](
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054138
)
.
## Tests
To test if a cluster is working properly, the
`verify`
command can be
ran:
gnt-cluster verify
Creating a VM and migrating it between machines is also a good test.
## Logs
Ganeti logs a significant amount of information in
...
...
@@ -3483,7 +3508,10 @@ Ganeti logs a significant amount of information in
## Backups
TODO
There are no backups of virtual machines directly from Ganeti: each
machine is expected to perform its own backups. The Ganeti
configuration should be backed up as normal by our
[
backup
systems
](
howto/backup
)
.
## Other documentation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment