Tinkerbell
Tinkerbell | |
Contact Person: | Ethan Miller |
Last Update: | unknown |
Services: | COSI Lab Build, PXE |
Hostname: | tinkerbell.cslabs.clarkson.edu |
Operating system: | Debian Wheezy |
NIC 1: | Clarkson Network (Bonded) MAC: 00:0d:60:1a:fa:48 IP: 128.153.145.69 |
CPU: | Intel(R) Xeon(TM) CPU 3.20GHz |
RAM: | 3.0GB |
Note: Work on Tinkerbell is in progress. Expect updates at meetings.
Contents
Setup
Base install
RAID 10 (software) on hard drives set up from previous build. Installed Debian Wheezy via network; used server setup script.
Configure NFS
NFS is used to serve the filesystem over the network to boot from.
- Install nfs-kernel-server
- edit /etc/exports to include the location of the lab build. Here it is located at /srv/debian. The line should read as
/srv/debian *(ro,no_root_squash,no_subtree_check,async)
Setup TFTP
TFTP is used to send files from the server to the client. Usually these files are intermediate software that load the OS via AoE, or NFS.
- Install tftp-hpa
- In the root folder for tftp (usually /srv/tftp, but can be set to another folder) create a folder called pxelinux.cfg
- In the pxelinux.cfg folder create a file called default. This is the default configuration file.
- Setup the configuration file. This file is a syslinux config file, it should be setup as one of those
- copy any needed binaries into the tftp folder or appropriate subfolder
Creating the Lab Build
This is where we make the lab build. The script used is based on the one used for the ITL build, forked at version TBD. The build takes place on your system - i.e., NOT ON TINKERBELL! It requires at least 6GB of RAM to create the build - so do it on a machine with a lot of memory. Recommendation here is 16GB.
Required packages: binutils debootstrap
- Clone the repository holding the scripts (TBD - for now, github.com/COSI-Lab/itl_lab_creation).
- Run
create_build.sh
as root. - Following the completion of the script, copy the files to the NFS share on Tinkerbell - I use
rsync -avz
to do so.
Details on Windows
Talk to Austin. Lots. Until he adds documentation.