# Yunohost sbc cluster

**URL:** https://forum.yunohost.org/t/yunohost-sbc-cluster/35205
**Category:** Advanced use case
**Tags:** english
**Created:** [February 4, 2025, 1:51pm UTC](https://forum.yunohost.org/t/yunohost-sbc-cluster/35205 "2025-02-04T13:51:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ChriChri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/chrichri/32/8723_2.png) [@ChriChri](https://forum.yunohost.org/u/ChriChri)
#### Post date: [February 4, 2025, 1:51pm UTC](https://forum.yunohost.org/t/yunohost-sbc-cluster/35205/1 "2025-02-04T13:51:02Z")

</div>

**motivation** : running out of CPU and RAM on my SBC  
**idea** : run systemd services on a 2nd/3rd SBC  
**intermediate solution** : running a second SBC with containers which are exposed to the public IP by using [YunoHost app store | Reverse Proxy](https://apps.yunohost.org/app/reverseproxy)

I’ll just sketch my thoughts here to get them out of my head. Maybe I’ll get back to this sometimes, maybe not. Any ideas and comments are very welcome.

### general concept

Boot a second, diskless SBC using PXE from the main yunohost System.

### yunohost main SBC

#### network

Configure tftp and dhcp server for booting.

Find a way to expose services listening to 127.0.0.1 or even sockets over network on the other SBCs.

#### boot files

Provide files needed for a PXE boot via tftp

#### root filesystem to be mounted by 2nd SBC

Create a root filesystem to be mounted by the 2nd SBC from the root filesystem of the main yunohost.

All parts of the filesystem exported should be read-only except for those that need to be different on the second SBC:

- /etc/network/interfaces
- /etc/hostname
- /etc/ssh/: key files
- /var directories

#### systemd.service

Find a way to change service files for services that should run on the 2nd SBC to start on the second SBC and to start not on the first SBC.

- Order of starting
- what if 2nd SBC out of order, not started, yet?
  - start on first one automatically?
  - have some 503-message on first one?

### 2nd SBC

#### boot

flash uboot including network boot to spi

#### run

All the configuration should be done on the yunohost main SBC.

There needs to be a way to call commands for

- systemd daemon reload
- systemd service control

---

<div class="post-metadata">

### Author: ![gauthier67](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/9fc29f/32.png) [@gauthier67](https://forum.yunohost.org/u/gauthier67)
#### Post date: [November 3, 2025, 8:35am UTC](https://forum.yunohost.org/t/yunohost-sbc-cluster/35205/2 "2025-11-03T08:35:16Z")

</div>

The PXE install server could be setup using [FAI Guide (Fully Automatic Installation)](https://fai-project.org/fai-guide/#_install_the_fai_packages)  
I don’t know the compatibility with the YunoHost networking stack though
