lab:stack_of_nucs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lab:stack_of_nucs [2023/04/28 22:00] – [Second Ansible Playbook - CMOS Battery Health and Clock Setting] user | lab:stack_of_nucs [2023/05/01 19:52] (current) – replaced user | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Stack of NUCs ====== | ||
- | The mission in this Lab is to create genuine hands-on experience for technology learners using the learner-friendly NUC PCs. | ||
- | |||
- | Mission: | ||
- | * Auto install Ubuntu servers | ||
- | * Install and use Ansible to manage our servers | ||
- | * Install and run a FAH protein folding cluster | ||
- | * Install a Kubernetes cluster | ||
- | |||
- | Materials: | ||
- | * Wireless router providing DHCP and internet access | ||
- | * NUCs | ||
- | * 4 minimum for the Kubernetes portion; 5 recommended, | ||
- | * wifi cards to make it easier to run large stacks of NUCs | ||
- | * USB sticks | ||
- | * 3 USB sticks, 8GB or more each | ||
- | * Using a pair of sticks for booting and one more for firmware upgrades | ||
- | |||
- | More projects: | ||
- | * Trying running different workloads on your Stack of NUCs | ||
- | * If you are interested in testing Kubernetes, there are some good tutorials on running Kubernetes all on one NUC using LXD to virtualize all the nodes. | ||
- | |||
- | References: | ||
- | * NUC cluster building: cloud-init [[https:// | ||
- | * Then ansible [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||
- | ====== Project Overview ====== | ||
- | Before starting the Lab, you might review [[Preparing NUCs for Labs]]. The will help you prepare all the NUCs for use. | ||
- | |||
- | ===== Set Up NUC 1 ===== | ||
- | [[Stack - NUC 1]] - install Ubuntu desktop on the first build | ||
- | * install Ubuntu and packages on [[Stack - NUC 1|NUC 1]] | ||
- | * create the modified ISO for USB installation of remaining NUCs | ||
- | * create the CIDATA USB stick | ||
- | * create the firmware upgrade USB stick | ||
- | * create SSH management keys | ||
- | ===== Set Up NUC 2 ===== | ||
- | [[Stack - NUC 2|NUC 2]] - install Ubuntu on Ansible control node | ||
- | * automatic install of Ubuntu | ||
- | * configure as Ansible control node | ||
- | ===== Set Up NUC 3 and Remaining NUCs ===== | ||
- | [[Stack - NUC 3|NUC 3]] - Build remaining NUCs starting with NUC 3 | ||
- | * automatic install of Ubuntu | ||
- | * configure as Ansible node | ||
- | * repeat for as many nodes as desired | ||
- | ===== Discover NUCs and add to Inventory ===== | ||
- | [[Stack - Discover and Add to Inventory]] - Discover the worker nodes you built and add them to Ansible' | ||
- | ===== First Ansible Playbook - Update ===== | ||
- | [[Stack - Ansible - Update]] will update the Ubuntu packages on all the NUCs in the stack. | ||
- | |||
- | ===== Second Ansible Playbook - CMOS Battery Health and Clock Setting ===== | ||
- | [[Stack - Ansible - CMOS]] - use Ansible to check the CMOS battery and update the hardware (RTC) clock on the RTC chip. | ||
- | ===== Installing FAH with Ansible ===== | ||
- | - [[FAH Installation]] | ||
- | ===== Removing FAH with Ansible ===== | ||
- | - [[FAH Removal]] | ||
- | ===== Installing Kubernetes with Ansible ===== | ||
- | - [[Install Kubernetes]] | ||
- | ===== Demonstrating a Web App on Kubernetes ===== | ||
- | - [[Demonstrate App on k8s]] | ||
- | |||
- | Let's get started with [[Stack - NUC 1]]! | ||
lab/stack_of_nucs.1682719247.txt.gz · Last modified: 2023/04/28 22:00 by user