UncleNUC Wiki

Second chance for NUCs

User Tools

Site Tools


lab:stack_of_nucs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lab:stack_of_nucs [2023/04/28 21:43] – [First Ansible Playbook - Update] userlab: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, or more are recommended for testing Kubernetes resiliency 
-    * 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://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/]] 
-  * Then ansible [[https://www.digitalocean.com/community/tutorials/how-to-automate-initial-server-setup-of-multiple-ubuntu-22-04-servers-using-ansible/]] 
-  * [[https://github.com/brettplarson/nuctestlab]] 
-  * [[https://github.com/brettplarson/nuctestlab]] 
- 
-====== 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 NUCs and add to inventory]] - Discover the worker nodes you built and add them to Ansible's inventory. 
-===== 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 ===== 
-  - [[Second Ansible Job - Check CMOS Battery Health]] 
-===== 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.1682718239.txt.gz · Last modified: 2023/04/28 21:43 by user