magrathea
magrathea ist ein Server bei Hetzner. Dort laufen mehrere VMs und Container, die Dienste für das Chaotikum bereitstellen.
| Verantwortung | Hauke, Eichi, Paul |
| Zustand | Produktiv |
Administrativen Zugriff auf den Server haben:
- Paul
- Lukas
- Malte
- Fabi
- starborn
Netzwerkdaten
- IPv6-Addresse:
2a01:4f8:262:48c2::1/64 - IPv4-Addresse:
138.201.66.177/32 - Subnetz internal (v4):
192.168.1.0/24 - Subnetz internal (v6):
2a01:4f8:262:48c2:1::/80 - Subnet public (v4):
5.9.249.24/29 - Subnetz public (v6):
2a01:4f8:262:48c2:2::/80
Öffentliche IPv4
Service-Container bekommen nicht selbst öffentliche IP-Adressen, sondern werden per DNAT oder Reverse Proxy angebunden. Außer es ist zwingend notwendig. Für solche Fälle steht haben wir das subnet 5.9.249.24/29.
| IP | Funktion |
|---|---|
5.9.249.24 |
magrathea |
5.9.249.25 |
git |
5.9.249.26 |
video |
5.9.249.27 |
FFHL-test-gw |
5.9.249.28 |
web-reverse-proxy |
5.9.249.29 |
ffhl-srv02 |
5.9.249.30 |
powerdns |
5.9.249.31 |
IPv6 & internes IPv4
Als internes Netzwerk wird das öffentliche IPv6-Prefix 2a01:4f8:262:48c2:1::/80 verwendet.
| Identifier | IPv6-suffix | IPv4 | Funktion |
|---|---|---|---|
| vms | ::1 |
192.168.1.1 |
default gateway für container/vm |
ffhl-gluon01 |
::2 |
192.168.1.2 |
"Freifunk Router" für ffhl-srv02 |
ffhl-srv02 |
::3 |
192.168.1.3, 5.9.249.29 |
ffhl-srv02 |
monitoring |
::4 |
192.168.1.4 |
monitoring |
gitlab |
::5 |
192.168.1.5 |
git |
social |
::6 |
192.168.1.6 |
social |
pad |
::7 |
192.168.1.7 |
etherpad |
ldap |
::8 |
192.168.1.8 |
ldap |
::9 |
192.168.1.9 |
||
web |
::a |
192.168.1.10 |
NGINX reverse proxy (web) |
::b |
192.168.1.11 |
||
::c |
192.168.1.12 |
||
runner03 |
::d |
192.168.1.13 |
runner03 |
roundcube |
::e |
192.168.1.14 |
roundcube |
dokuwiki |
::f |
192.168.1.15 |
dokuwiki |
runner02' |
::10 |
192.168.1.16 |
runner02 |
inventree |
::11 |
192.168.1.17 |
inventree |
pretix |
::12 |
192.168.1.18 |
|
redmine |
::13 |
192.168.1.19 |
redmine |
md |
::15 |
192.168.1.21 |
md |
ffhl-blackbox |
::16 |
192.168.1.22 |
monitoring ffhl |
powerdns |
::17 |
192.168.1.23 |
powerdns |
::18 |
192.168.1.24 |
||
mail |
::25 |
192.168.1.25 |
|
ffhl-gw05 |
::1a |
192.168.1.26 |
ffhl-gw05 |
::1b |
192.168.1.27 |
||
::1c |
192.168.1.28 |
||
::1d |
192.168.1.29 |
||
::1e |
192.168.1.30 |
||
::1f |
192.168.1.31 |
||
::20 |
192.168.1.32 |
||
::21 |
192.168.1.33 |
||
::22 |
192.168.1.34 |
||
::23 |
192.168.1.35 |
||
::24 |
192.168.1.36 |
||
| auch mail | ::25 |
192.168.1.37 |
|
::18 |
192.168.1.38 |
||
keycloak |
::27 |
192.168.1.39 |
keycloak |
::28 |
192.168.1.40 |
||
::29 |
192.168.1.41 |
||
::2a |
192.168.1.42 |
||
::2b |
192.168.1.43 |
||
::2c |
192.168.1.44 |
||
::2d |
192.168.1.45 |
||
::2e |
192.168.1.46 |
||
::2f |
192.168.1.47 |
||
::30 |
192.168.1.48 |
||
::31 |
192.168.1.49 |
||
::32 |
192.168.1.50 |
||
::33 |
192.168.1.51 |
||
::34 |
192.168.1.52 |
||
::35 |
192.168.1.53 |
||
::36 |
192.168.1.54 |
||
sediment |
::37 |
192.168.1.55 |
sediment |
video |
::26 |
176.9.147.89, 192.168.1.38 |
video-storage |
nextcloud |
::38 |
192.168.1.56 |
nextcloud |
website |
::39 |
192.168.1.57 |
website |
torproxy |
::3a |
192.168.1.58 |
|
zammad |
::3b |
192.168.1.59 |
zammad |
openproject |
::3c |
192.168.1.60 |
openproject |
keycloak3 |
::3d |
192.168.1.61 |
keycloak3 |
syncthing-server |
::3e |
192.168.1.62 |
syncthing-server |
wupo |
::3f |
192.168.1.63 |
wupo |
kali |
::4c |
192.168.1.64 |
|
todo |
::40 |
192.168.1.65 |
todo |
docker01 |
::41 |
192.168.1.66 |
docker01 |
presence |
::42 |
192.168.1.67 |
presence |
wunschkonzert |
::43 |
192.168.1.68 |
wunschkonzert |
nbsp.space |
::44 |
192.168.1.69 |
nbspspace |
uptime-kuma |
::46 |
192.168.1.70 |
uptime kuma |
vapi |
::47 |
192.168.1.71 |
vAPI |
nooksite-server |
::48 |
192.168.1.72 |
Server zum Speichern der Einreichungen der NooK |
matamo |
:49 |
192.168.1.73 |
|
listmonk |
::4a |
192.168.1.74 |
listmonk |
postkontor |
::4b |
192.168.1.75 |
|
welcome-bot |
::4c |
192.168.1.76 |
matrix-welcome-bot |
monitor-bot |
::4d |
192.168.1.77 |
monitor-bot |
reserve |
::4e |
192.168.1.78 |
reserve |
sediment-demo |
::4f |
192.168.1.79 |
Sediment Demo auf Docker01 |
streaming |
::50 |
192.168.1.80 |
|
matrix |
::51 |
192.168.1.81 |
|
nook-feedback |
::52 |
192.168.1.82 |
nookfeedback |
subtitulator |
::53 |
192.168.1.83 |
subtitulator |
rent calculator |
::54 |
192.168.1.84 |
rentcalculator |
zeug |
::55 |
192.168.1.85 |
zeughaus |
Wer dieser Liste etwas hinzufügen möchte und nicht besser weiß, was er/sie tut, ist wahrscheinlich gut bedient damit einen neuen Container anzulegen. Wie das geht steht weiter unten.
Docker Netz
Nicht aktiv! (01.10.2022)
2a01:4f8:262:48c2:3::/80
| Identifier | IPv6-suffix | Funktion |
|---|---|---|
| docker-host | ::1 |
Gateway |
| nooksite-server | ::aaaa |
Server für Einreichungen auf der NooK-Website |
| nooksite-feedback | ::aaab |
Server für Feedback auf der Nook-Website |
| test | ::abcd |
test |
VMs
Laufende VMs
| Seite | Beschreibung |
|---|---|
| ffhl-srv02 | ffhl-srv02 Service VM für ffhl ^ Verantwortung | FFHL (paul, yksflip, linus) | ^ Hostname | srv02.luebeck.freifunk.net | ^ IPv6 | 2a01:4f8:160:3067::3 | ^ IPv4 … |
| ffhl-gluon01 | ffhl-gluon01 Uplink ins FF-Netz für ffhl-srv02 ^ Verantwortung | FFHL (paul, yksflip, linus) | ^ Hostname | | ^ IPv6 | keine | ^ IPv4 | keine/NAT | ^ Ort | VM a… |
Derzeit nicht laufende VMs
Keine Seiten mit Tag „magrathea -productive“.
Zugang zum Management Interface
Das proxmox interface ist unter magrathea.chaotikum.net:8006
Die Zugänge werden nicht über das zentrale LDAP verwaltet
Wenn du Zugriff benötigst, wende dich an die Infrastruktur AG
Container
Container sind per Default nur per IPv6 aus dem Internet erreichbar. Soll ein Service auch über IPv4 nutzbar sein, so sollte die Domain für den Server als CNAME auf gallifrey.chaotikum.net konfiguriert werden und die benötigten Ports per DNAT weitergereicht werden (IPv4 + IPv6).
Der Eintrag eines CNAMEs findet auf inwx.com statt, Zugang zum Account des Chaotikums hat der Vorstand. Dort ist unter Domain->Domain List die Domain auszuwählen, zu der eine Subdomain erstellt werden soll. Unten DNS Records auswählen und einen neuen Eintrag entsprechend zu einem funktionierenden alten hinzufügen.
Produktive
| Seite | Beschreibung |
|---|---|
| Zeughaus | Zeughaus | Verantwortung | TVLuke | | Container | zeug | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produktiv | Ein übe… |
| Zammad | Zammad | Verantwortung | Malte | | Container | zammad | | W. Ports | keine | | OS | Debian 13.5 | | Server | infrastruktur:server:magrathea | | Zustand | Produk… |
| Wupo | Wupo | Verantwortung | Wupo | | Container | wupo | | W. Ports | 443,80 | | OS | Debian 11.11 | | Server | infrastruktur:server:magrathea | | Zustand | produktiv… |
| Wunschkonzert | Wunschkonzert | Verantwortung | TVLuke | | Container | Wunschkonzert | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produ… |
| Web | Web | Verantwortung | Paul, Wupo | | Container | web | | W. Ports | 80, 443 | | OS | Debian 12.1 | | Server | infrastruktur:server:magrathea | | Zustand | Produ… |
| Video | Video | Verantwortung | Malte | | Container | videostorage | | W. Ports | keine | | OS | Debian 11.9 | | Server | infrastruktur:server:magrathea | | Zustand | P… |
| Social | Social |Verantwortung |Starborn, Wupo | |Container |social | |W. Ports |keine | |OS |Debian 11.2 | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv… |
| Services | Keycloak | Verantwortung | Malte, TVLuke, bruttosozial | | Container | keycloak | | W. Ports | keine | | OS | Debian 12.5 | | Server | infrastruktur:server:magr… |
| Sediment | Sediment | Verantwortung | Malte | | Container | sediment | | W. Ports | keine | | OS | Debian 12.12 | | Server | infrastruktur:server:magrathea | | Zustand | P… |
| runner03 (schneller runner auf magrathea) | runner03 (schneller runner auf magrathea) | Verantwortung | Paul (@cuechan) | | Container/VM | runner03 | | W. Ports | keine | | OS | Debian 13 | | Server | inf… |
| runner02 (gitlab-runner auf magrathea) | runner02 (gitlab-runner auf magrathea) | Verantwortung | Paul (@cuechan), Malte (@mlte) | | Container/VM | runner02 | | W. Ports | keine | | OS | Debian 12 | | … |
| Roundcube | Roundcube |Verantwortung |max, Kai | |Container |roundcube | |W. Ports |keine | |OS |Debian 10.11 | |Server |infrastruktur:server:magrathea | |Zustand |Produkti… |
| Rent-Calculator | Rent-Calculator | Verantwortung | TVLuke | | Container | rent | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produktiv | … |
| Pretix | Pretix |Verantwortung |TVLuke, Paul | |Container |pretix | |W. Ports |keine | |OS |Debian 11.5 | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv |… |
| Presence | Presence | Verantwortung | TVLuke | | Container | presence | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produktiv | Ein… |
| Postkontor | Postkontor | Verantwortung | TVLuke | | Container | postkontor | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | testing | E… |
| Pad | Pad |Verantwortung |Paul | |Container |pad | |W. Ports |keine | |OS |Debian 10.11 | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Dies ist die… |
| NooK Feedback | NooK Feedback | Verantwortung | TVLuke | | Container | feedback | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produktiv … |
| Nextcloud | Nextcloud | Verantwortung | wupo (wupo@chaotikum.org), Paul, Max | | Container | nextcloud | | W. Ports | keine | | OS | Debian 11.8 | | Server | infrastruktur:… |
| nbsp.space | nbsp.space | Verantwortung | TVLuke | | Container | nbsp.space | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zustand | produktiv |… |
| Monitoring | Monitoring |Verantwortung |Paul (@cuechan) | |Container |monitoring | |W. Ports |keine | |OS |Debian 13 | |Server |infrastruktur:server:magrathea | |Zustand |Pr… |
| md (Hedgedoc) | md (Hedgedoc) | Verantwortung | Malte | | Container | md | | W. Ports | keine | | OS | Debian 12.5 | | Server | infrastruktur:server:magrathea | | Zustand | Pro… |
| Matrix Welcome Bot | Matrix Welcome Bot | Verantwortung | TVLuke | | Container | welcome-matrix-bot | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zusta… |
| Matrix Uptime Monitoring Bot | Matrix Uptime Monitoring Bot | Verantwortung | TVLuke | | Container | monitor-bot | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zu… |
| Mail |Verantwortung |Kai, Max | |Container |mail | |W. Ports |keine | |OS |Debian 12.13 | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Dies i… | |
| Listmonk | Listmonk |Verantwortung |Paul | |Container | Mail | |W. Ports |keine | |OS |? | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Hier findet sich… |
| LDAP | LDAP | Verantwortung | Malte, TVLuke | | Container | ldap | | W. Ports | ldaps (tcp/636) | | OS | Debian 12.5 | | Server | infrastruktur:server:gallifrey | | Zu… |
| Gitlab | Gitlab | Verantwortung | Malte | | Container | gitlab | | W. Ports | keine | | OS | Debian 13.5 | | Server | infrastruktur:server:magrathea | | Zustand | Produk… |
| Dokuwiki | Dokuwiki | Verantwortung | Toxicity | | Container | dokuwiki | | W. Ports | keine | | OS | Debian 12.5 | | Server | infrastruktur:server:magrathea | | Zustand |… |
| Docker | Docker |Verantwortung |Paul | |Container |docker01 | |W. Ports |? | |OS |? | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Services Network Da… |
| Chaotikum-Website | Chaotikum-Website | Verantwortung | Malte | | Container | chaotikum-website | | W. Ports | keine | | OS | Debian 12.5 | | Server | infrastruktur:server:magrathe… |
| Chaotikum Community Captions | Chaotikum Community Captions | Verantwortung | TVLuke | | Container | subtitles | | W. Ports | ? | | OS | ? | | Server | infrastruktur:server:magrathea | | Zust… |
Im Test
| Seite | Beschreibung |
|---|---|
| synapse | synapse |Verantwortung |greg | |Container |synapse | |W. Ports |keine, nur Web über Reverse Proxy | |OS |Debian 12 | |Server |infrastruktur:server:magrathea | |… |
Deaktiviert
| Seite | Beschreibung |
|---|---|
| Workadventure | Workadventure |Verantwortung |? | |Container |? | |W. Ports |keine | |OS |? | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Hier findet sich d… |
| Whitebboard | Whitebboard |Verantwortung |paul | |Container |whiteboard | |W. Ports |keine | |OS |debian10 | |Server |infrastruktur:server:magrathea | |Zustand |deleted | Die… |
| TheLounge | TheLounge | Verantwortung | Paul | | Container | thelounge | | W. Ports | keine | | OS | debian10 | | Server | infrastruktur:server:magrathea | | Zustand | Dele… |
| SpaceDeck | SpaceDeck |Verantwortung |Paul | |Container |spacedeck | |W. Ports |keine | |OS |debian10 | |Server |infrastruktur:server:magrathea | |Zustand |deleted | Die Nu… |
| Redmine | Redmine Redmine wurde zum 01.06.2025 abgeschaltet |Verantwortung |TVLuke | |Container |redmine | |W. Ports |keine | |OS |Debian 10.11 | |Server |infrastruktur:s… |
| Peertube | Peertube |Verantwortung |Paul | |Container |peertube | |W. Ports |keine | |OS |debian11 (bullseye) | |Server |infrastruktur:server:magrathea | |Zustand |testing… |
| Matrix | Matrix |Verantwortung |Paul | |Container |Matrix | |W. Ports |TBA | |OS |Debian unstable | |Server |infrastruktur:server:magrathea | |Zustand |Testbetrieb | Die… |
| Jitsi | Jitsi |Verantwortung |? | |Container |? | |W. Ports |10000/udp | |OS |? | |Server |infrastruktur:server:magrathea | |Zustand |Produktiv | Hier findet sich die t… |
| Codi | Codi |Verantwortung | | |Container |codi | |W. Ports |keine | |OS |Debian 10.10 | |Server |infrastruktur:server:magrathea | |Zustand |Aus | Codi ist tot. Wir ha… |
Gelöscht
Keine Seiten mit Tag „magrathea +deleted“.
Aufsetzen eines neuen Containers
Zunächst muss eine freie IP-Adresse für den neuen Container gefunden werden. Schaue dafür in der Liste oben nach. Versuche, die IPs möglichst fortlaufend auszuwählen.
- General
- Klicke oben rechts auf "Create CT"
- Trage einen Hostname ein, wähle bei
Resource Pool"chaotikum" aus - Trage deinen SSH key ein
- Template
- Wähle deinen Container Template. In den meisten Fällen
debian-13.
- Wähle deinen Container Template. In den meisten Fällen
- Disks
- Wähle bei
disksizeeine angemessene Größe aus- Achtung: Die Disk später größer machen geht immer. Die Disk shrinken allerdings nicht. Also mache sie im Zweifelsfall eher etwas kleiner
- Wähle bei
- Memory
- 2048 ist für den Anfang eine Guter Richtwert
- Kann später während der Runtime noch verändert werden
- Networks
- Trage bei jeweils deine IPv4 und IPv6 Adressen ein mit einer Netzmaske von
/24(IPv4) und/80(IPv6) - Default Gateway ist jeweils
192.168.1.1und2a01:4f8:262:48c2:1::1
- Trage bei jeweils deine IPv4 und IPv6 Adressen ein mit einer Netzmaske von
- Confirm
- Finish!
- Damit der Container automatisch startet, setze unter Options
Autostartaufyes
Letzter aber wichtigster Schritt: Dokumentation im Wiki erstellen
Docker
Dieser Teil ist nicht mehr aktuell (07.10.2022)
Auf Magrathea läuft docker. Das Netz für docker ist 2a01:4f8:262:48c2:3::/80.
Die Container sind per default nicht von außen erreichbar, können aber von dem VM-Netz angesprochen werden (z.B. für vom Web-container)
Ein docker-compose könnte so aussehen:
version: '3'
services:
test:
image: nginxdemos/hello
restart: always
networks:
public:
# IP-Belegung beachten! (Tabelle oben)
ipv6_address: 2a01:4f8:262:48c2:3::abcd
networks:
public:
external:
name: services
Backup
Backups werden täglich um 4 Uhr gemacht.
Also Storage wird ein Proxmox Backup Server benutzt. Der Backupserver läuft als VM im nsbp auf Case.
Um Backups zu restoren ist kein Zugriff auf den Backupserver nötig. Alle verfügbaren Backups sind über das Proxmox Interface von magrathea sichtbar.
Anstatt eine gesamte VM/Container zu restoren, können auch nur einzelne Dateien restored werden. Welche Datei das sein soll, lässt sich ebenfalls über das Webinterface auswählen.
Name
Magrathea is a fictional planet in the "Hitchhiker's Guide to the Galaxy" book series. Magrathea is an ancient planet located in orbit around the twin suns Soulianis and Rahm in the heart of the Horsehead Nebula. https://hitchhikers.fandom.com/wiki/Magrathea