Skip to content

Commit

Permalink
Update 2024-09-24-kimsufi-stor-ks1-installation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel authored Sep 30, 2024
1 parent 51fe3e7 commit 892b87e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/reports/2024-09-24-kimsufi-stor-ks1-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ In OVH's console, we rename the server to ks1.openfoodfacts.org

On OVH console, we install Debian 12 Bookworm on the SSD.

**IMPORTANT:** this was not an optimal choice, we should have reserved part of the SSD to use it as a cache drive for the ZFS pool.

Once the install is complete, OVH sends the credentials by email.

We add users for the admin(s) and give sudo access:
Expand Down Expand Up @@ -104,6 +106,10 @@ zfs set compression=on zfs-hdd
Note: in reality it was not enabled from start, I enabled it after first snapshot sync,
as I saw is was taking much more space than on the original server.

### Fine tune zfs

Set `atime=off` et `relatime=no` on the ZFS dataset `zfs-hdd/off/images` to avoid writting.

## Install sanoid / syncoid

I installed the sanoid.deb that I got from the off1 server.
Expand Down Expand Up @@ -190,6 +196,7 @@ enabled = true
backend = systemd
```

Addendum: after Christian installed Munin node, I added port 4949

## NGINX

Expand Down Expand Up @@ -250,4 +257,4 @@ I can also use curl:
```bash
curl --resolve images.openfoodfacts.org:443:217.182.132.133 https://images.openfoodfacts.org/images/products/087/366/800/2989/front_fr.3.400.jpg --output /tmp/front_fr.jpg -v
xdg-open /tmp/front_fr.jpg
```
```

0 comments on commit 892b87e

Please sign in to comment.