Shard Cluster - Network and Computing Play Cluster
Hardware
Shard cluster (cluster.shard) is a home built multi-purpose cluster used for learning, testing and playing about with networks, computing and other interesting technology.
It consists of the following:
- 1x D-Link DGS-1100-05V2 Gigabit Ethernet Switch
- 1x Raspberry PI 3 B+ 1.4GHz
- 128GB micro SD with raspbian image
- 3x Odroid C4 4GB 2GHz 64-bit quad-core
Software
DHCP and DNS
The raspberry pi is set up to act as a DHCP and a DNS server as the cluster is intended to run as a separate network / subnet away from general home networking.
The DHCP server used is the isc-dhcp-server as this felt the most configurable and interesting solution.
For DNS, BIND-9 is used, as it provides a very flexible, full-featured DNS system.
Ansible Playbook
Dry run
To perform a dry-run,
$ ansible-playbook pave-shard-main.yml -i hosts -u martin --ask-pass --become --check
Apply configuration
To apply the configuration,
$ ansible-playbook pave-shard-main.yml -i hosts -u martin --ask-pass --become