63 lines
1.7 KiB
Markdown
63 lines
1.7 KiB
Markdown
# ThinkCentre Management
|
|
|
|
## Wer managed was
|
|
|
|
| Aufgabe | Zuständig | Wie |
|
|
|---------|-----------|-----|
|
|
| Hardware (Ein/Aus, LAN) | Chris | physisch |
|
|
| OS Updates | Otto | `sudo apt upgrade` via SSH, monatlich |
|
|
| Android SDK Updates | Otto | `sdkmanager --update` bei Bedarf |
|
|
| Ollama Modelle | Otto | `ollama pull/rm` nach Absprache |
|
|
| OpenClaw Config | Otto + Chris | gemeinsam |
|
|
| Secrets | Chris | manuell, nie per Git |
|
|
| Backups | Otto | Cron-Job (täglich, nach Pi-Backup-Muster) |
|
|
|
|
## Monitoring
|
|
|
|
- **Uptime Kuma** (`uptime.zeitanker.digital`) — Push-Heartbeat von ThinkCentre 2 (Otto)
|
|
- **ThinkCentre 1** — kein Push-Monitor nötig (Build-Server, on-demand)
|
|
|
|
## SSH Zugang
|
|
|
|
```bash
|
|
# Von Pi aus:
|
|
ssh secondclaw@192.168.0.91 # ThinkCentre 1
|
|
# Key: ~/.ssh/id_ed25519 (bereits deployed)
|
|
|
|
# Von extern: via Pi als Jumphost
|
|
ssh -J claw@192.168.0.84 secondclaw@192.168.0.91
|
|
```
|
|
|
|
## Runbooks
|
|
|
|
### Neustart ThinkCentre 1
|
|
```bash
|
|
ssh secondclaw@192.168.0.91 "sudo reboot"
|
|
# Nach ~60s wieder erreichbar
|
|
```
|
|
|
|
### Android Build auslösen (manuell)
|
|
```bash
|
|
ssh secondclaw@192.168.0.91 "bash ~/scripts/build.sh staysober main"
|
|
```
|
|
|
|
### Ollama Modell wechseln
|
|
```bash
|
|
ssh secondclaw@192.168.0.91 "ollama pull mistral:7b && ollama rm qwen2.5:7b"
|
|
```
|
|
|
|
### OS Update
|
|
```bash
|
|
ssh secondclaw@192.168.0.91 "sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"
|
|
```
|
|
|
|
## Netzwerk
|
|
|
|
| Host | IP | Port | Dienst |
|
|
|------|----|----- |--------|
|
|
| ThinkCentre 1 | 192.168.0.91 | 22 | SSH |
|
|
| ThinkCentre 1 | 192.168.0.91 | 8080 | APK Download Server |
|
|
| ThinkCentre 1 | 192.168.0.91 | 11434 | Ollama API |
|
|
| ThinkCentre 2 | TBD | 22 | SSH |
|
|
| ThinkCentre 2 | TBD | 18789 | OpenClaw Gateway |
|