You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Yocto

  • TODO

Debian Installer

To install the cluster, you need to generate an ISO for each host with this repository here.

Configuration

In the configuration file, you must define these variables:

  • FAI_ALLOW_UNSIGNED: Boolean to allow installation of packages from unsigned repositories (0 => true)
  • UTC: Boolean to set the system clock to UTC (possible values: yes or no)
  • TIMEZONE: Time to choose
  • KEYMAP: Keyboard translation to choose
  • ROOTPW: Crypted password for root
  • STOP_ON_ERROR: TODO
  • MAXPACKAGES: TODO
  • username: ID of the user account to be created
  • USERPW: Crypted password for the user account to be created
  • usernameansible: ID of the ansible account to be created
  • myrootkey: TODO
  • myuserkey: TODO
  • ansiblekey: TODO
  • apt_cdn: TODO
  • REMOTENIC: Network interface to be set
  • REMOTEADDR: IP address to be set on REMOTENIC with the mask
  • REMOTEGW: IP address for the gateway to be set on REMOTENIC

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 configuration.

The inventory must define these variables to run the playbook:

  • apply_network_config: Boolean to apply the network configuration

  • admin_ip_addr: IP address for SNMP

  • cpumachinesnort: Range of allowed CPUs for no RT machines

  • cpumachines: Range of allowed CPUs for machines (RT and no RT)

  • cpumachinesrt: Range of allowed CPUs for RT machines

  • cpuovs: Range of allowed CPUs for OpenVSwitch

  • cpusystem: Range of allowed CPUs for the system

  • cpuuser: Range of allowed CPUs for the user

  • irqmask: Set the IRQBALANCE_BANNED_CPUS environment variable, see irqbalance manual
  • logstash_server_ip: IP address for logstash-seapath alias in /etc/hosts

  • main_disk: Main disk device to observe his temperature

  • workqueuemask: The negation of the irqmask (= ~irqmask)

Optional: Virtualization

On the host, you must set these sysctl settings:

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.

  • One interface connects to a virtual network in NAT mode
  • Two interfaces connect to two virtual networks with a MTU set to 9000 (it's to simulate an ethernet cable between two machines)
  • No labels