This project consists in a automatized Beowulf cluster installer with minimal setup.
This installer was started as a final project at Universidad de los Andes de Chile.
At least 4 computers capable of running Ubuntu 20.04.0 interconnected via ethernet with a switch or router.
One of the computers will act as a control node, the rest will be divided into metadata storage and compute nodes.
-
Install Ubuntu 20.04 LTS Beta on all the nodes. (It is not working with the 20.04.02 due to kernel changes).
-
Set a static ip address in all nodes and then restart the network
-
In all nodes but the control node do the following:
- Set a root user password and run the following commands:
sudo apt update ```sh sudo apt install ssh
- Edit /etc/ssh/sshd_config file and set PermitRootLogin yes
- Run
sudo service sshd restart
4.- In the control node do the following:
-
Clone this repository and cd into the repo folder
-
Run
sudo apt install ansible
-
For each node
ssh-copy-id root@[ip_address]
where ip_address is the static ip previously set for each node.
-
Edit the file /etc/ansible hosts according to the hosts example file, groups guineapig and master names must stay the same.
-
Run
ansible-galaxy collection install community.mysql
ansible-playbook main.yml