Proxmox worker, uptime, backup, tagged deploy
This commit is contained in:
commit
bcc74d64d5
8 changed files with 171 additions and 0 deletions
38
README.md
Normal file
38
README.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# verae-proxmox
|
||||
|
||||
Provision an **archive worker LXC** on **NS1.GEORGELAMBERT.ORG** (this box **is** the Proxmox host).
|
||||
|
||||
| | |
|
||||
|--|--|
|
||||
| VMID | **510** |
|
||||
| Hostname | `verae-px-worker` |
|
||||
| Network | `vmbr1` **10.10.10.20/24** gw `10.10.10.1` |
|
||||
| Storage | SSD2 16G, unprivileged Ubuntu 24.04 |
|
||||
| Roles | `tree-node`, `archive-worm` |
|
||||
| NATS | `nats://10.10.10.1:4222` via host socat proxy (loopback NATS stays `127.0.0.1:4222`; **not** on `vmbr0`) |
|
||||
|
||||
**Forgejo:** https://git.georgelambert.org/marchon/verae-proxmox
|
||||
**SSH:** `ssh://git@git.georgelambert.org:2223/marchon/verae-proxmox.git`
|
||||
|
||||
```bash
|
||||
# on NS1
|
||||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-proxmox.git
|
||||
cd verae-proxmox
|
||||
bash scripts/create-worker.sh
|
||||
ssh marchon@10.10.10.20
|
||||
```
|
||||
|
||||
On the guest:
|
||||
|
||||
```bash
|
||||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-bootstrap.git
|
||||
cd verae-bootstrap
|
||||
bash scripts/host-deps.sh --type proxmox-worker
|
||||
export VERAE_SRC=$HOME/verae-src
|
||||
export NATS_URL=nats://10.10.10.1:4222
|
||||
bash scripts/fetch.sh proxmox-worker
|
||||
```
|
||||
|
||||
Then enable `px-worker` in `verae-fleet/overlays/ns1/machines.json` and `node src/cli.js ssh-check px-worker`.
|
||||
|
||||
Keep on the guest uses `units.px-worker.json` (worm ×1 + tree-node ×1 extra copies). Host keep still runs the NS1 floor of 3.
|
||||
Loading…
Add table
Add a link
Reference in a new issue