Yocto
...
- TODO
Installer
The compilation and installation of the Yocto version of SEAPATH is entirely described on the GitHub repository seapath/yocto-bsp.
Debian Installer
To install the cluster, you need to generate an ISO, based on Debian 11, for each host with this repository here.
To generate the ISO in the repository, you should launch these below commands:
Code Block | ||
---|---|---|
| ||
cp srv_fai_config/class/SEAPATH.var.defaults srv_fai_config/class/SEAPATH.var
$EDITOR srv_fai_config/class/SEAPATH.var
./build_iso.sh |
See the below section for more details on the configuration file.
Configuration
In the configuration file, you must define these variables:
...
However, all host will be with the same IP address.
Prerequisite
When the host is installed, the ansible/playbooks/cluster_setup_prerequisdebian.yaml
need to launch to finish the installation.
The inventory must define these variables to run the playbook:
apply_network_config
: Boolean to apply the network configurationadmin_ip_addr
: IP address for SNMPcpumachinesnort
: Range of allowed CPUs for no RT machinescpumachines
: Range of allowed CPUs for machines (RT and no RT)cpumachinesrt
: Range of allowed CPUs for RT machinescpuovs
: Range of allowed CPUs for OpenVSwitchcpusystem
: Range of allowed CPUs for the systemcpuuser
: Range of allowed CPUs for the userirqmask
: Set theIRQBALANCE_BANNED_CPUS
environment variable, seeirqbalance
manuallogstash_server_ip
: IP address forlogstash-seapath
alias in/etc/hosts
main_disk
: Main disk device to observe his temperatureworkqueuemask
: The negation of theirqmask
(= ~irqmask
)
Optional: Virtualization
On the host, you must set these sysctl settings:
Code Block | ||
---|---|---|
| ||
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0 |
You must define 3 network interfaces on each host of your cluster.
Disks
The disk is composed:
- (If the installation is in UEFI) EFI partition in
/boot/efi
with VFAT filesystem (512 MB). - Boot partition in
/boot
with ext4 filesystem (500 B). - Main partition with LVM configuration (30 GB). This partition is divided into 3 parts:
- Root partition in
/
with ext4 filesystem (7 GB). - Log partition in
/var/log
with ext4 filesystem (1 GB). - Swap partition (500 B).
- Root partition in
This can be changed in the build_debian_iso/srv_fai_config/disk_config/
directory. There is always 2 versions (one in Legacy BIOS and an other in UEFI mode with the suffix "_EFI
").
...