
In this course you take a small GPU cluster from an empty rack to a training job on sixteen GPUs. You do every step yourself, on a simulated cluster in your browser. You need no servers, no GPUs and no cloud account.
The Cluster Lab comes with the course as a download: get the zip file from the resources of Lecture 5, unzip it and open the Cluster Lab page in your browser. It works offline and needs no install or sign-up.
Quillmoor's cloud bill reached eighteen thousand dollars a month. Should it buy its own cluster? In this lecture we answer that with five numbers. You can then repeat it with your own.
A cluster is built for the work it must run. So before we design anything, we look at Quillmoor's work. There are three projects, and they are three different kinds of work.
A GPU cluster is designed on three levels. The whole cluster, the rack it stands in, and each single server. Each level has its own questions. This lecture gives you the map, and the course fills it in.
In this last lecture of the section, we meet the reference cluster up close, and its simulator. Here is the whole cluster, with the names you will type for the rest of the course.
Download the Cluster Lab from this lecture's resources (the zip file). Unzip it and open the Cluster Lab page inside in your browser. It works offline and needs no install or sign-up. The same zip is attached to the first Lab lecture of each Section.
Five things to keep before you touch a server. Whether to own GPUs depends on how busy they will be, at the price you pay.
In this section you take one blank server, and you bring it to a login prompt, using only the network. Every large cluster is built this way. So we start small, on a bench, with two machines and one cable.
This is the bench: the pxe box, the switch, and node01, which is off. You are done when the interface is up with its address, and the neighbour entry for node01 says failed.
The pxe box has its address. Now we turn to the other machine. node01 is a new server. Its disks are blank. So what happens when you press the power button?
Let us power on node01 and see what a blank server does. You are done when you have seen the error on the screen, and the requests on the wire.
node01 is asking, and nobody answers. In this topic we become the one who answers. Network boot is a chain, and each link is one small service.
Now we answer the server. Three links, and a power-cycle after each one. You are done when you have seen all three endings.
The kernel is running on node01, and it is waiting for an installer. In this topic we give it one, and we let it install the whole system with no hands on the keyboard.
Let us finish the chain. One install, with no hands. You are done when node01's name resolves, and SSH prints the name of node01.
You now know what happened before it. And the system kept a record of all of it. Every stage of the chain is done. In this topic we stay at the last one, and we look inside.
Until now we typed on the pxe box. In this step we work on node01 itself. You are done when chrony is installed, and you have seen the signer of the network driver.
Both machines are up, and they talk to each other. To end this section, we slow down and follow one packet. Every later problem in this course is one of five small decisions going wrong.
The last lab of this section. We are back on the pxe box, and we watch packets. You are done when you have captured the ping, both ports, and the DNS question.
What you built, and where it goes next. You started with a blank server and one cable.
The rule is simple: nobody decides addresses, networks or firewall rules while installing. They are decided first, and written down. We start with the networks.
Let us read the plan in the Cluster Lab. Watch once, then you do the same step. You are done when you can say which VLAN carries the BMCs, and which one carries network install.
The address plan says which networks exist. The asset inventory says which machines exist, and exactly where each one goes. In plain words: the asset inventory has one row per machine.
Now we read the inventory, and find the first server we will install. You are done when you can name gpu01's rack position, its BMC address and its three switch ports.
Before you buy GPU servers, check that the room can feed them, and cool them. This is simple arithmetic, and it is often where a project stops.
You build the storage in section seven, and the GPU network in section nine. But both are decided now. They need disks, cards, cables and switch ports, and those are bought before anything is installed.
Networks, machines, power, storage: all written down first. The design folder answers three questions.
A blank server has no operating system, so it has no SSH. Somebody has to rack it, power it, and plug in its cables. We start with one server, gpu01. We do it by hand, slowly, to learn every step.
Let us cable gpu01 in the Cluster Lab. This step has no commands. All of it happens on the Rack screen. You are done when the BMC light is on, and the three cables are in Eth1/1, Eth1/2 and Eth1/3.
gpu01 is cabled. Now the switch must put each of its ports in the VLAN the design gives it. And then we prove that each cable really ends where the design says. Those are two different things.
Now the switch. We configure the ports for gpu01, then we prove that its BMC cable ends where the design says. You are done when the BMC address from the inventory is on Eth1/1, in VLAN 10.
The BMC of gpu01 is alive, and its cable is proven. But nobody can reach it yet. It has no address. In this topic we give it one, and then reach it from the admin laptop.
Two steps in this lab. First the BMC address, at the server console. Then the path from the admin laptop. You are done when the ping answers, and curl fails with error sixty.
The BMC answers. Now we log in for the first time, and close everything we do not need. First, why this matters. From the BMC you can switch the server on and off, and replace its firmware.
Two steps on the BMC web screen. These steps have no commands: everything happens in the browser. You are done when the Users page lists svc-maas, and the Services page shows IPMI disabled.
The BMC answers HTTPS, but with a certificate that it signed itself. In this topic we replace it, and then talk to the BMC from the command line.
Let us replace the BMC's certificate, and prove it with three calls to the Redfish API. You are done when the service root shows gpu01's Service Tag, and Systems returns 401.
One step in this lab. We go fast through the switch lines, and slowly through the script. You are done when the MAC table lists six BMCs, and the script ends with five ok, zero failed.
All six servers are racked and cabled. Now we close the last open door, and prove it is closed. Remember section three: a VLAN is not a firewall. The switch routes between all its VLANs.
Two steps in this lab. We go slowly through the access list, and then we sign the gate. You are done when the researcher can no longer reach the BMC, and rule 10 counts.
Six servers whose BMCs you trust, behind walls you have tested. At the start, only one way into gpu01 worked: a monitor and keyboard at the rack.
In this section every server gets Ubuntu from the network, the same way each time. The tool for that is MAAS, and it will run on mgmt01. But then, who installs mgmt01?
Two steps in this lab. We go slowly through the image and the installer, and fast through the switch. You are done when mgmt01 shows a login prompt, and the switch shows the trunk on gpu01's install port.
mgmt01 runs Ubuntu. Now it becomes the install server for the cluster. On the bench in section two, dnsmasq answered one server. In the cluster, a tool called MAAS does that job for every server.
Two steps, both in the terminal of mgmt01. First we install MAAS. Then we give it what a server needs to boot. You are done when maas status shows dhcpd active.
MAAS is running and answers on the install network. But it knows no servers yet. You could type every server's details in by hand. MAAS has a better way: the server boots once, and describes itself.
Two steps. gpu01 boots from the network twice, and both times we watch what MAAS learns about it. You are done when gpu01 is Ready with four GPUs.
gpu01 is Ready. MAAS knows every part inside it. Now we install Ubuntu. But first, one decision that cannot be undone later without pain: which disks the system goes on.
Two steps. First we read gpu01's disks and choose. Then Ubuntu goes on. You are done when gpu01 is Deployed, and its console shows the fingerprint.
gpu01 is Deployed. Its console shows a login prompt. Now we log in for the first time, over SSH, from mgmt01. That first login is a decision, not a formality. It is the moment you decide which machine you trust.
Two steps. We go slowly through the first login and the checks, and fast through the batch. You are done when all five machines are Deployed.
Six servers run Ubuntu. Two things are left before this section ends: names, and three small service machines. From here on, people and software use names, not addresses. gpu01, not 10.20.0.11.
One step, and we take it slowly: names. The service machines and Gate 2 follow in the next lecture. You are done when your new record answers, and a public name comes back refused.
One step and the gate. We go fast through the service machines, slowly through idm01's host key, and then we sign Gate 2. You are done when Gate 2 is signed, six of six.
Six servers and three service machines, with no hands. One checked image installed mgmt01 by hand. mgmt01 runs MAAS, and MAAS installed everything else.
Section five ended with six servers that run Ubuntu. They are installed, and they do nothing useful yet. In this section we give them one known state, one login system, and one place to see their health.
Four short steps on mgmt01. At the end, Ansible can reach all five servers, and nothing on them has changed yet. You are done when all five servers answer pong.
Ansible can now reach all five servers. Before it changes any of them, we need to know what a standard server means here. And we try it on one server first: the canary, gpu01.
Two steps. We read the baseline and check it, then we apply it to one server, gpu01, and look at the result. You are done when gpu01 shows the two allow rules, and nothing else.
The canary passed. Now the same commit goes to every server. Then we prove two things: that running it again changes nothing, and that we can still get in when SSH breaks.
Three steps. The baseline goes to every server, twice. A second play adds logs and audit rules. Then three tests. You are done when the console answers root, and both SSH attempts fail, in two different ways.
The servers are uniform now. But every one of them still has its own local accounts. This topic gives the people of Quillmoor one identity, valid on every machine, with rules about where it may be used.
Three steps. We install FreeIPA on idm01, join every server to it, and write the rules for who may log in where. You are done when hbactest says true, false, true.
Every server now runs a small exporter of metrics. But nothing collects from them yet. In this last topic, we collect the numbers, draw them, and set the first alerts.
One long step, and a gate. We install the collector and the dashboards on portal01, and then we sign Gate 3. You are done when Gate 3 is signed.
Uniform, hardened, watched, and still idle. One controller, mgmt01, applies a reviewed commit from Git. The canary first, then one server at a time.
On the four GPU nodes, the first job is the driver: the piece that lets the operating system talk to the GPUs. Mei, our researcher, does not care how it gets there. She cares that it loads every time, on every node.
Three steps in this lab. We look at gpu01, install the driver on it, and then roll the driver out at speed. You are done when the fleet lists sixteen GPUs, and the Monitoring screen agrees.
Installing all of that on the hosts would turn four identical nodes into four different ones. So research software arrives as container images. In this topic, a container gets a GPU.
One step, four commands. A runtime on every GPU node, then two test containers: one must work, one must fail. You are done when the public image has failed.
Four nodes, sixteen GPUs, and a team that all want them on the same afternoon. Without a referee, two people start work on the same GPU, and both jobs crawl or crash.
Two steps. As the admin we install Slurm. Then, as Mei, we see what a job really gets. You are done when all four nodes are idle again.
The operating system already sits on a mirror of two SSDs. You built that in section five. The NVMe drives were left raw on purpose. Now they get their jobs, and the two jobs want opposite things.
Two steps, and many short commands. Routine lines pass quickly; we stop where the output teaches something. Both steps have a fault to practise. Try the dead data drive in the pool: it uses what you just saw.
Mei does not choose her node. Her job may land on any of the four. Wherever it lands, it needs the same project files and the same model weights. So storage01 shares its datasets over the network.
One step. storage01 exports three datasets, and the four GPU nodes mount two of them with Kerberos privacy. You are done when every node shows research with krb5p, and models read-only.
Every play in this section said changed. That tells you what Ansible did. It does not tell you what the server now is. Before anyone signs, we read every layer back from the machine itself.
One long step, then the gate. We read gpu01 from the bottom up, then every server at once, then one simulated GPU job. You are done when the gate says passed, signed by the GPU engineer and the SRE.
A researcher's GPU job, on shared data. At the start of this section, the servers had a baseline and nothing more.
Gate 4 proved that the cluster works. It did not prove that the hardware is healthy. This section proves three things with evidence: the hardware is sound, the cluster is safe, and someone else can run it.
Four short steps, all on gpu01. First what the BMC says, then full load on the processors and memory, then the disks, then the GPUs. You are done when every counter is zero and every diagnostic line says Pass.
The canary passed its burn-in, by hand. Now one play runs the same tests on every server. Then the network, the software versions, and at the end a report someone signs.
The network first. Then one play burns in every server at once, the versions are compared with Git, and the report is written. You are done when the report accepts five servers and the gate says passed.
Installed software proves nothing about security. A firewall rule in a file is a belief. So we try to get through every wall, on purpose, and keep the error messages as evidence.
First we give Mei a project and a limit. Then six attempts that must fail, two that must work, and the data walls. For each blocked attempt, say which control stopped it before you go on.
Once the cluster is accepted, nobody changes servers by typing on them. Every change is a reviewed change in Git. Three things prove that it holds: a drift check, a change done the proper way, and a restore.
We break a rule on purpose and let the tools catch it. Then one small change, done the proper way, a restore, and Gate 6. On the Change screen, try to approve as the author first, and read why it is refused.
Our cluster handles customer data, so the machines that run jobs have no Internet link. We proved that in the last tests. It still needs software. In this Lab step, packages and Python libraries enter by one path.
Two machines, one on each side. We read their rules and prove both ends. Then a sealed disk arrives on the inside. You are done when all three checks pass on import01.
In production, nobody is the admin of everything. The work is split into four roles. And every decision between them leaves a trail that someone reads.
Four short scenes from two longer phases of the Lab. Who we are, a grant that must be refused, an approved request, and the audit report. Then go on to step 7.4 and step 9.7.
Evidence for every claim, signed by others. The hardware is sound: a burn-in on the canary, the same suite on every server, and an acceptance report tied to a commit. Gate 5.
The cluster is built and proven. Now we use it, the way a researcher does. In this section you are mostly Mei, Quillmoor's researcher. It all runs on the simulated cluster, with the same commands as on real servers.
Two steps. First the admin side: the new project and Mei's access. Then Mei's first minutes on the cluster. You are done when the check says True with a GPU and False without, and the queue is empty after exit.
Quillmoor's first workload is the support assistant. It should answer questions about Quillmoor's robot arms in the company's own words. We do not train a language model from nothing. We adapt an open one, with a method called LoRA, on two GPUs.
One step, and most of it is waiting. Training jobs are like that. We read the script, submit, and come back as the log grows. You are done when the simulated job completes after forty minutes of modelled training time, and three checkpoints are in the project directory.
The second workload is the defect spotter: a small image model that finds scratches, cracks, missing holes and bent edges on Quillmoor's parts. The pictures are drawn by code, so no real data is involved. The training kit is complete, and works outside the Lab as well.
Step 8.5 at speed, to see what data workers do. Then step 8.6: two GPUs, a time limit, and resume. You are done when the slow run times out at epoch 30, and the next submission resumes there and completes.
So far every job has stayed inside one server. Now one job will span four servers. Then the GPUs exchange their gradients over the network at every step. That traffic is large and comes in bursts. It gets a network of its own.
Three steps of Track F. The host side first, then the switch ports, then the lossless class. We compare the simulator's modelled results after each change. You are done when the full-size ping passes, and the simulated RDMA test reports about 23 Gb/s (modelled). Start the listener on gpu02 before each test.
This is the moment the course has been building towards: one training job on all sixteen GPUs, across four nodes. Before it can run, Slurm needs a new door, and the GPUs need a way to share their work.
One step. As the admin we open the door for big jobs. As Mei we walk through it with a bandwidth test on all sixteen GPUs. You are done when the test log names RoCE on every node and ends with the average bus bandwidth.
Sixteen GPUs can work on one job. The question every researcher asks next: how much faster is it? We run the same modelled training on one, two and four nodes, and read the answer in the simulator's logs. The answer is useful, and it is not four.
One step, three runs of the same job script. We read the modelled speed of each, and then let the Fabric screen compare them. You are done when the Fabric screen shows all three runs, with a modelled four-node throughput about 2.7 times the modelled one-node throughput.
Some jobs are longer than any one turn on the cluster. And some jobs need every node at once. This lecture is how both live together with everyone else's work, without losing anyone's progress.
Two steps. A long job that hands itself back to the queue, and then a big job that pushes small ones aside, by rule. You are done when the pre-training job shows two restarts, and the preempted embedding tasks complete after the big job.
Mei has run many jobs now. Each one left a log file in her project folder. This lecture is about two questions that logs answer badly: which settings gave which result, and who used what.
Two steps. First, at speed, what Mei can see of her own usage. Then two services that keep the record of every training run. You are done when the run appears in MLflow under the experiment vit, and TensorBoard draws its curves.
And the honest answer to how much faster. Her first hour: a job script, a GPU check from inside the image, and a shell through Slurm.
Section ten. The cluster is built, accepted and in use. This is day two, when things break. Everything still runs on the simulated cluster. On real machines, the commands and the steps are the same.
Step 5.6 again, the acceptance suite. This time the Lab has planted three hardware faults before we start. You are done when the suite passes on every server, and every BMC event log is clean.
The second kind of fault breaks no part at all. The hardware is fine, and yet the machines refuse to work together. Trust between machines rests on three things: a shared key, a certificate, and a signature.
Three planted faults, each on the step that built its piece. For each one we read the symptom, then the log of the side that refuses. You are done when all four nodes are idle, the driver play passes, and curl reads the BMC without error 60.
The hardest fault to find stops nothing. Every link is up, every node works, and no alert fires. The only symptom is that training got slower. A researcher notices first, and asks whether the cluster is busy.
Step F.6. One four-node job, one switch port that loses its flow control, and the numbers that give it away. You are done when the rate is back near its baseline, and the saved configuration has flow control on all four ports.
Now the coach goes away. The challenge mode gives you a working cluster with one problem planted in it. You get a ticket, the way an on-call engineer gets one, and nothing else. There are eight of them.
From the Menu, Challenge: fix a broken cluster. The Menu opens ticket one, so we pick ticket eight from the list under it, Other challenges. You are done when each ticket says Solved. Write down its minutes and hints before you open the next ticket, because a new ticket starts a fresh cluster.
Here is where to go from here: watch it, grow it, and measure it. Every hardware and fabric fault in this section was visible in a counter before anyone complained.
From a symptom to the cause, without a coach. Hardware faults: the suite finds them, and two witnesses name the part. Then drain, replace, test, and resume.
This course contains the use of artificial intelligence.
Practise GPU cluster setup and operations in the Cluster Lab, from PXE boot to distributed training. The Lab is a simulator included with the course as a download: unzip it and open it in your browser. It works offline and needs no install, account or sign-up. No GPU, server or cloud account is required.
Plan the network and racks, practise provisioning and configuration, add Slurm and shared storage, and diagnose planted faults. The same commands work on real servers; addresses, device names, credentials and hardware-specific settings must match your environment.
Everything runs on a simulated cluster: simulated racks, servers, switch and GPUs, with a terminal where you type the real commands. Each hands-on topic follows the same four moves. First a short lecture explains the idea and why it matters. Then you watch the step done in the simulator. Then it is your turn: you open the same step and do it. Last, you check yourself: one question, or one fault to find.
You will work through the whole path:
Quillmoor Robotics, its people and its reference cluster are fictional. All customer records and training datasets are synthetic. All GPU and network performance figures in the simulator, including terminal output, are modelled. None is measured on physical hardware.
The lectures are narrated in the instructor's own voice, reproduced by an AI voice model trained on their recordings. The instructor approved the scripts Section by Section.
This course is independent. It is not affiliated with, sponsored by or endorsed by any hardware or software vendor. Product names identify the software and technologies taught through simulated installation and operation.